@import url('https://fonts.googleapis.com/css?family=Vibur');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;500&display=swap');;

@media only screen and (max-width: 700px) {
    #skills-container {
        flex-direction: column;
        align-items: center;
    }
    .skills-table {
        width: 100%;
    }
    .skills-table tr td {
        width: 50%;
    }
}

@media only screen and (max-width: 800px) {
    #projects-container {
        flex-direction: column;
        align-items: center;
    }
    .date {
        display: none;
    }
}

html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Raleway;
}

/* NAV BAR */

.navbar {
    background-color: #D48166 !important;
}

.section {
    padding: 10vw 20vw;
    margin: 0px;
    text-align: center;
}

#container {
    background-color: pink;
}

/* INTRO */
#intro {
    background-color: #373A36;
    height: 100vh;
    text-align: center;
    color: white;
    display: block;
}

#name {
    font-family: Vibur;
    font-size: 20vh;
    padding-top: 5vw;
    margin: 0;
    display: none;
}

#blurb {
    padding: 0;
    margin: 0;
}

/* ABOUT */
#about {
    background-color: #E6E2DD;
}

/* SKILLS */
#skills {
    background-color: white;
}

#skills-container {
    display: block;
}

#skills-container img {
    height: auto;
    width: 8vh;
}

.skills-table {
    flex: 0 0 50%;
}

.skills-table ul {
    list-style-type: none;
}

.skills-details {
    text-align: left;
}

.skills-title {
    vertical-align: top;
    text-align: right;
}

/* EDUCATION */
#education {
    background-color: #E6E2DD;
}

#edu-container {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.edu-info {
    margin: 1em;
}

.date {
    float: right;
}

/* PROJECTS */
#projects {
    background-color: white;
}

#projects-container {
    display: flex;
    flex-wrap: wrap;
}

#projects-container .project-pics {
    flex: 0 0 50%;
}

.image {
    display: block;
    width: 100%;
    height: 240px;
}

.project-pics {
    position: relative;
    overflow: hidden;
    align-items: baseline;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.project-pics:hover .overlay {
    height: 100%;
}

.text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.text a {
    color: white;
}

/* CONTACT */
#contact {
    background-color: #373A36;
    color: white;
}

#contact a {
    color: white;
    font-size: 5em;
}

#contact a:hover {
    color: #E6E2DD;
}

