@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,500;0,800;1,200&display=swap');

*{
    /* border and padding dont add up to a box's width/height */
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    min-height: 100vh;
    min-width: 100vh;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.container{
    /* keep content areas from stretching exceedingly */
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

img{
    max-width: 500px;
}

/* ------------ NAVBAR ------------------------ */
.navbar{
    width: 100%;
    background: #1f2937;
}

.navbar .container{
    display:flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.navbar .logo{
    color: #f9faf8;
    font-size: 24px;
}

.navbar ul{
    display: flex;
    font-size: 18px;
    /* removes bullets */
    list-style-type: none;
}

.navbar a{
    color: #e5e7eb;
    /* removes underline */
    text-decoration: none;
    margin-left: 20px;
}

/* changes color of  */
.navbar a:hover{
    color:#3882f6;
}

/* ------------ HERO ------------------------ */

.hero{
    width: 100%;
    background: #1f2937;
}

.hero .container{
    max-width: 1100px;
    display: flex;
    justify-content: center;
    height: 100%;
    padding: 100px 30px;
    flex-wrap: wrap;
}

.hero .info{
    display: flex;
    flex-direction: column;
    align-items: start;
    max-width: 500px;
    margin-right: auto;
}

.hero h1{
    font-size: 48px;
    font-weight: extra-bold;
    color: #f9faf8;
}

.hero p{
    font-size: 18px;
    color: #e5e7eb;
    margin: auto 0px;
}

.hero a{
    text-decoration: none;
    color: #3882f6;
    font-weight: bold;
}

.hero .contact{
    background: #3882f6;
    color: #e5e7eb;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    padding: 6px 20px;
    margin: 20px 0px;
}

.hero img{
    max-width: 400px;
    border-radius: 10px;
}

/* ------------ SKILLS ------------------------ */
.skills{
    width: 100;
}

.skills .container{
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.skills h2{
    align-self: center;
    font-size: 36px;
    font-weight: extra-bold;
    color: #1f2937;
    margin-bottom: 10px;
}

.skills .boxes{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    max-width: 1100px;
    padding: 10px 30px;
}

.skills .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
    margin: 8px 8px;
}

.skills .image-box{
    display: flex;
    justify-content: center;
    border: 3px solid #3882F6;
    border-radius: 20px;
    width: 200px;
    height: 200px;
}

.skills img{
    max-width: 150px;
    /* keeps image from stretching */
    align-self: center;
}

.skills p{
    font-size: 15px;
    font-weight: extra-light;
    text-align: center;
}

/* ------------ QUOTE ------------------------ */
.quote{
    width: 100%;
    background: #e5e7eb;
}

.quote .container{
    display: flex;
    flex-direction: column;
    padding: 50px 100px;
}

.quote .phrase{
    font-size: 36px;
    font-weight: lighter;
    font-style: italic;
}

.quote .credit{
    font-size: 24px;
    align-self: end;
    margin-top: 20px;
}

/* ------------ CONTACT-ME ------------------------ */
.contact-me{
    width: 100%;
}

.contact-me .container{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 100px;
}

.contact-me .content{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: #3882F6;
    padding: 30px 80px;
    border-radius: 10px;
}

.contact-me .button{
    margin-top: 20px;
    margin-left: 80px;
}

.contact-me h4{
    color: #f9faf8;
    font-size: 24px;
}

.contact-me p{
    color: #e5e7eb;
}

.contact-me .contact{
    background: #3882f6;
    color: #e5e7eb;
    font-weight: bold;
    border-radius: 5px;
    border: 2px solid #e5e7eb;
    padding: 6px 20px;
}

/* ------------ FOOTER ------------------------ */
.footer{
    width: 100%;
    background: #1F2937;
}

.footer .container{
    display: flex;
    justify-content: center;
    color: #E5E7EB;
    height: 100%;
    padding: 30px 0px;
}

/* ------------ TIGHT WIDTH ------------------------ */
@media(max-width: 768px){
    .hero .container{
        /* option 1: change direction to column */
        flex-direction: column;
        padding-top: 20px;
        align-items: center;
    }
    .hero .info{
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 20px auto;
    }

    .hero img{
        margin: 10px 0px;
    }

    .boxes .container{
        /* option 2: change display to block */
        display: block;
        text-align: center;
    }

    .quote .phrase{
        font-size: 24px;
    }

    .contact-me .info{
        text-align: center;
    }

    .contact-me .button{
        display: flex;
        margin: 20px auto;
    }
}