@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Hind:wght@300;400;500;600;700&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html {
    scroll-behavior: smooth;
}

#wrapper {
    display: grid;
    grid-template-columns: 100%;
    grid-template-areas: 
    "header"
    "intro"
    "projects"
    "art"
    "about"
    "socials"
    "footer";
    max-width: 100vw;
}

@media screen and (min-width: 760px ){
    #wrapper {
        display: grid;
        grid-template-columns: 100%;
        grid-template-areas: 
        "header"
        "intro"
        "projects"
        "art"
        "about"
        "socials"
        "footer";
        max-width: 100vw;
    }
    #intro .color-box #bio h1 {
        font-size: 4rem;
    }
    #intro .color-box #bio #text {
        max-width: 400px;
        font-size: 1em;
    }
}

@media screen and (min-width: 1200px ){
    #wrapper {
        grid-template-columns: 50% 50%;
        grid-template-areas: 
        "header         header"
        "intro          intro"
        "projects       projects"
        "art            art"
        "about          socials"
        "footer         footer";  
        max-width: 100vw;
    }
    #wrapper #intro .color-box {
        display: flex;
        justify-content: center;
        align-content: center;
        width: 40vw;
        left: 0;
        background-color: #bbeae0d2;
        height: 100%;
        padding: 0 50px;
    }
    #intro .color-box #bio h1 {
        font-size: 4rem;
    }
    #wrapper #header #logo {
        float: right;
        margin-right: 50px;
        display: block;
    }
}

#header {
    margin-top: 10px;
    grid-area: header;
    text-indent: 50px;
}

#header #nav {
    display: flex;
    justify-content: space-around;
}

#header #nav a {
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.1s ease-in;
    text-align: center;
}

#header #nav a:hover {
    transform: scale(1.2);
}

#header .color-box {
    margin-top: -10px;
    background-color: #bbeae0;
    width: 80%;
    height: 35px;
}

#header #logo {
    display: none;
}

#header #nav {
    width: 80%;
}


#intro {
    grid-area: intro;
    background-image: url(../media/main_img.jpg);
    background-size: cover;
    background-position: center;
    height: auto;
}

#intro .color-box {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 100%;
    left: 0;
    background-color: #bbeae0d2;
    height: 100%;
}

#intro .color-box #bio {
    margin-top: 50px;
    margin-bottom: 50px;
}

#intro .color-box #bio #text {
    max-width: 300px;
    font-size: 1em;
}

#intro .color-box #bio .color-line {
    background-color: #f3faf8;
    width: 80%;
    height: 25px;
}

#projects {
    grid-area: projects;
    text-align: center;
    font-size: 1.5rem;
    margin: 45px;
}

#projects .color-box {
    background-color: #bbeae0;
    width: 80%;
    height: 35px;
    margin: 0 auto;
    margin-top: -45px;
}

.project {
    width: 300px;
    height: 300px;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 45px;

    box-shadow: 10px 10px silver;
    transition: transform 0.1s ease-in;
}

.project img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

#projects .box {
    margin-top: -10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    justify-content: center;
}

#projects .box .project .description {
    font-size: 0.75em;
    width: 200px;
    height: 200px;
    padding-top: 25px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 0;
    margin-top: -275px;
    text-align: center;
    visibility: hidden;
}

#projects .box .project:hover {
    transform: scale(1.1);
}

#projects .box .project:hover a img{
    opacity: 7%;
}

#projects .box .project:hover .description{
    background-color: #ffffff98;
    visibility: visible;
}

#art {
    grid-area: art;
    text-align: center;
    font-size: 1.5rem;
    margin: 45px;   
}

#art .color-box {
    background-color: #bbeae0;
    width: 80%;
    height: 35px;
    margin: 0 auto;
    margin-top: -45px;
}

.artwork {
    width: 300px;
    height: 300px;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 45px;
    box-shadow: 10px 10px silver;
    transition: transform 0.1s ease-in;
}

.artwork img {
    width: 300px;
    height: 300px;
}

#art .box {
    margin-top: -10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    justify-content: center;
}

#art .box .artwork:hover {
    transform: scale(1.1);
}

#art .box .artwork .description {
    font-size: 0.75em;
    width: 200px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 100px;
    margin-top: -300px;
    text-align: center;
    visibility: hidden;
}

#art .box .artwork:hover {
    transform: scale(1.1);
}

#art .box .artwork:hover img{
    opacity: 10%;
}

#art .box .artwork:hover .description{
    background-color: #ffffff91;
    visibility: visible;
}

#about {
    margin-left: 50px;
    grid-area: about;
}

#about h3 {
    font-size: 1.5rem;
}

#about h4 {
    font-size: 1.2rem;
    background-color: #fcfffe;
    text-align: center;
}

#about .color-box {
    background-color: #bbeae0;
    width: 200px;
    height: 35px;
    margin-top: -40px;
}

#about .box {
    display: flex;
    flex-wrap: wrap;
}

.info {
    width: 25%;
    box-shadow: 10px 10px silver;
    background-color: #bbeae0;
    margin: 0 10px;
    margin-top: 20px;
    margin-bottom: 50px;
    padding: 10px;
}

.info p {
    width: 80%;
    padding-left: 20px;
}

#socials {
    grid-area: socials;
    margin-left: 50px;
}

#socials h3 {
    font-size: 1.5rem;
}

#socials .color-box {
    background-color: #bbeae0;
    width: 200px;
    height: 35px;
    margin-top: -40px;
}

#socials .box {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: left;
    width: 50%;
}

#socials .box a {
    color: white;
    background-color: #5e7575;
    padding: 10px 50px;
    transition: transform 0.1s ease-in;
    text-decoration: none;
    margin: 10px;
    width: 150px;
}

#socials .box a:hover {
    transform: scale(1.2);  
}

footer {
    grid-area: footer;
    background-color: #bbeae0;
}

h2, h3, h4, a {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
}

p {
    font-family: 'Roboto Condensed', sans-serif;
}

h1, h2, h3, h4, p, a {
    color: #5e7575;
}


