@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;

}


.wrapper {
    height: 100%;
    overflow-y:scroll;
    overflow-x: hidden;
    perspective: 10px;
    margin-bottom: 10px;
    max-height: min-content;

}

body {
    min-height: 100vh;
    background: linear-gradient(bisque, white);
    overflow-x: hidden;
}

header {
    position: absolute;
    top: 0;
    Left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;

}

header ul {
    display: flex;
    justify-content: center;
    align-items: center;

}

header ul li {
    list-style: none;
    margin-left: 20px;


}


header ul li a {
    text-decoration: none;
    padding: 7px 15px;
    color: black;
    border-radius: 20px;
}

header ul li a:hover, 
header ul li a.using{
    background:bisque;
    color: #2b1055
}


section{
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

section::before{
    position: absolute;
    bottom: 0;
    content: '';
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, white, white);
    z-index: 1000;

}
section img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    pointer-events: none;

    
}


section #sun {
    width: 100px;
    /* height: 100px; */
    margin-left: 50%;
    margin-top: 10%;
    display: flex;
    


}

section #backtrees {
    width: 100%;
    height: 40%;
    margin-top: 30%;
    display: flex;
    justify-content: center;    

}

section #fronttrees {
    width: 100%;
    height: 40%;
    margin-top: 33%;
    display: flex;
    justify-content: center;
    z-index: 10;
    margin-bottom: 5%;
    
}

#text {
    position: absolute;
    color: #fff;
    white-space: nowrap;
    font-size: 7.5vw;
    z-index: 9;

}

.sec
{
    position: relative;
    padding: 100px;
    background: white;


}

.sec h2 {
    font-size: 3.5em;
    margin-bottom: 10px;
    color: darkslategrey;

}

.sec p {
    font-size: 1.2em;
    color: darkslategrey;
}



/* portfolio --------------------------------*/

#portfolio {
    padding: 50px 0;
    text-align: center;
    background: white;
    z-index: 1000;


}

#watercolor {
    padding-top: 20px;
}

#colored-pencil {
    padding-top: 20px;

}

#ceramics {
    padding-top: 20px;
}

.work-list {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */

    grid-gap: 80px;
    margin-top: 30px;


}

.work {
    border-radius: 10px;
    position:relative;
    overflow: hidden;
    width: 50%; 
    margin-left: 25%;


}

.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;

}







.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), pink);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content:center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    transition: height 0.5s;

}
.layer h3 {
    font-weight: 500;
    margin-bottom:  20px;
    margin-top: 10px;
    color: white;

}

.layer p {
    color: white;
}

.layer a{
    margin-top: 20px;
    color: black;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

.work:hover img {
    transform: scale(1.1);

}

.work:hover .layer {
    height: 100%;

}
@media only screen and (max-width:530px) {
    section{
        position: relative;
        width: 100%;
        min-height: 60vh;
        padding: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    section #text {
        padding-bottom: 18%;
    }
    section #fronttrees {
        width: 100%;
        height: 70%;
        margin-bottom: -100px;
    }
    section #backtrees {
        width: 100%;
        height: 70%;
    }

    section #mountain {
        width: 100%;
        height:80%;
    }
    header {
        position: absolute;
        top: 0;
        Left: 0%;
        width: 100%;
        padding: 10px 1px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    

    }

    .pencil {
        width: 17%
    }
    
}
@media only screen and (max-width:720px) {
    section{
        position: relative;
        width: 100%;
        min-height: 60vh;
        padding: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    section #text {
        padding-bottom: 18%;
    }
    section #fronttrees {
        width: 100%;
        height: 70%;
        margin-bottom: -100px;
    }
    section #backtrees {
        width: 100%;
        height: 70%;
    }

    section #mountain {
        width: 100%;
        height:80%;
    }
    header {
        position: absolute;
        top: 0;
        Left: 0;
        width: 100%;
        padding: 10px 1px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
}

    
@media only screen and (min-width: 720px){
    section{
        position: relative;
        width: 100%;
        min-height: 70vh;
        padding: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    section #fronttrees {
        width: 100%;
        height: 60%;
        margin-bottom: -100px;
    }
    section #backtrees {
        width: 100%;
        height: 60%;
    }

    section #mountain {
        width: 100%;
        height:80%;
    }
    section #text {
        padding-bottom: 20%;
    }

    header {
        position: absolute;
        top: 0;
        Left: 0;
        width: 100%;
        padding: 30px 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    
    }
}

@media only screen and (min-width: 1000px){
    section{
        position: relative;
        width: 100%;
        min-height: 92vh;
        padding: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    section #fronttrees {
        width: 100%;
        height: 70%;
    }
    section #backtrees {
        width: 100%;
        height: 60%;
    }

    section #mountain {
        width: 100%;
        height:100%;
    }
    section #text {
        padding-bottom: 10%;
    }
    header {
        font-size: 35px;
    }
}

@media only screen and (min-width: 1200px){
    section{
        position: relative;
        width: 100%;
        min-height: 100vh;
        padding: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    section #fronttrees {
        width: 100%;
        height: 70%;
    }
    section #backtrees {
        width: 100%;
        height: 40%;
    }

    section #mountain {
        width: 100%;
        height:100%;
    }
    section #text {
        padding-bottom: 10%;
    }
    header {
        font-size: 35px;
    }
}

@media only screen and (min-width: 1400px){
    section{
        position: relative;
        width: 100%;
        min-height: 100vh;
        padding: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    section #fronttrees {
        width: 100%;
        height: 55%;
    }
    section #backtrees {
        width: 100%;
        height: 40%;
    }

    section #mountain {
        width: 100%;
        height:100%;
    }
    section #text {
        padding-bottom: 10%;
    }
    header {
        font-size: 35px;
    }
}
