@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&family=Sofia&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body{
    font-family: 'Roboto Condensed', sans-serif;
    background: #ffead8;
    height: auto;
}

nav{
    background: #ffead8;
    box-shadow: 1px 2px 10px #ccc;
    width: 100%;
    z-index: 1;
}

nav a{
    text-decoration: none;
    text-align: center;
    color: #020202;
    padding: 0.7rem;
    font-size: 1rem;
    display: block;
}

nav a:hover{
    background: #ec7e1d;
    color: #eee;
    transition: 0.3s;
}

h1{
    font-weight: 400;
    font-size: 2.5rem;
    text-transform: uppercase;
}

h2{
    font-weight: 400;
    font-size: 1.2rem;
    text-transform: capitalize;
}
main{
    max-width: 900px;
    box-shadow: 0 0 10px #ccc;
    margin: 0 auto;
}

#landing h1{
    font-family: 'sofia', cursive;
    text-transform: capitalize;
}

#landing-text{
    display: flex;
    height: 45vh;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    flex: 0 1 40vw;
}


#landing-text h2{
    color: #888;
}

.btn{
    padding: 0.5rem 2rem;
    border: 1px #777 solid;
    display: inline-block;
    margin: 2rem 0;
    border-radius: 10px;
    color: #666;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn:hover{
    box-shadow: 2px 2px 10px #ccc;
    color: #ec7e1d;
    border-color: #ec7e1d;
}

#landing-image{
    background: url(images/IMG_0040_small.jpg);
    height: 50vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 0 1 60vw;
}

.header{
    padding: 1.5rem;
    text-align: center;
    background: #333;
    color: #ddd;
}

.header h2{
    font-size: 2rem;
    border-left: 1px solid gray;
    border-right: 1px solid grey;
    display: inline-block;
    padding: 0.3rem 1.5rem;
}

.photo img{
    display: block;
    width: 100%;
    max-height: 85vh;
    transition: 0.3s;
}

.photo img:hover{
    transform: scale(1.01);
}


.caption{
    text-align: center;
    padding: 1rem 0 4rem 0;
}

.caption p{
    color: grey;
    padding-top: 0.5rem;
}

#about #profilepic #profileimg img{
    display: block;
    width: 30vw;
    height: 30vw;
    margin: 3rem auto;
    border: 2px solid #ccc;
    border-radius: 50%;
    padding: 0.2rem;
    transition: 0.3s;
}

#about #profilepic #profileimg img:hover{
    box-shadow: 0px 0px 10px 5px #ccc;
}

footer{
    text-align: center;
    padding: 2rem;
    background: #ccc;
}

footer h3{
    font-size: 3rem;
}

#social-media{
    padding: 1rem;
}

#social-media a{
    padding: 1rem;
    color: #555;
    font-size: 1.5rem;
    transition: 0.3s;
}

#social-media a:hover{
    text-shadow: 0 0 5px #999;
}

@media(min-width: 600px){
    #landing{
        display: flex;
    }
    #landing-text, #landing-image{
        height: 100vh;
    }
    nav{
        display: flex;
        justify-content: space-between;
        padding: 0 2rem;
        position: fixed;
        top: 0;
    }
    nav #menu{
        display: flex;
    }
    #about #profilepic{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 4rem 6rem;
    }
    #about #profilepic #profileimg img{
        height: 15vw;
        width: 15vw;
        margin-right: 4rem;
    }
    #about #profilepic .caption{
        text-align: right;
    }
}

@media(min-width: 768px){
    #photo-container{
        display: grid;
        grid-template-columns: auto auto auto;
        gap: 1.5rem;
        padding: 2rem;
    }
    .photo img{
        height: 15vw;
    }
    .btn{
        padding: 1rem 2.5rem;
    }
}