*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: white;
    font-family: 'oswald',sans-serif;
    color: #1e2025;
}
a ,.footer{
    text-decoration: none;
    color:black;
    font-weight: 200;
}
button{
    font-family: 'oswald', sans-serif;
    width: 180px;
    /* height: 30px; */
    border-radius: 30px;
    border: none;
    font-weight: 800;
    padding: .5rem;
    font-size: 1.2rem;
    cursor: pointer;
}

.logo{
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top:50px;
}
.logo span{
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 4.5px;
}
.logo img{
    position: relative;
    /* width: 100%; */
    height: 80%;
    margin: auto;
    object-fit: contain;
    
}
section{
    width: 80%;
    margin: auto;
    display: grid;
    place-items: center;
    margin: 40px auto;
}
.hero-wrapper{
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero-wrapper-image{
        position: relative;
    margin: auto;
    width: 100%;
    display: grid;
    place-items: center;
    top:50px;
}
.hero-wrapper-image img{
    position: relative;
    width: 60%;
}
.description{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    gap:20px;
}
.description h2{
    font-weight: 400;
    letter-spacing: 4px;
    word-spacing: 2px;
    font-size: 1.2rem;
    line-height: 36px;
    
}
.buttons{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}
#portfolio img{
    height: 45%;
}
#portfolio{
    margin: auto;
    display: grid;
}
.portfolio-wrapper{
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:5px;
}
.portfolio-wrapper img{
    width: 300px!important;
    height: 150px!important;
    object-fit: cover;
}
.overlay{
    width: 100%;
    height: 100%;
    position: relative;
}
.mask{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10,10,10,.8);
    opacity: 0;
    color:white;
    display: grid;
    place-items: center;
    cursor: pointer;
    text-align: center;
}
#portfolio{
    position: relative;
}
.lightbox{
    position:fixed;
    width: 100%;
    height: 100vh;
    top:0;
    left:-100%;
    background: white;
    transition: .2s ease;
    z-index: 5;
}
.lightbox.active{
    left:0;
}
.close{
    position: absolute;
    right:1%;
    top:2%;
    font-size: 2rem;
    font-weight: 100;
    cursor: pointer;
}
.wrapper{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap:20px;
    margin-top:5%;
}
.left iframe.hide,.left img.hide{
    display: none;
}
.left{
    width: 60vw;
    display: grid;
    place-items: center;
}
.left img{
    width: 85%;
    height: 500px;
    object-fit: contain;
}

.right{
    width: 25vw;
    color: rgb(30, 32, 37);
    font-family: 'playfair display', serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap:20px;
}
.right h2{
    font-weight: 400;
    font-size: 72px;
}
.right p{
    font-size: 18px;
}
.right a{
    text-decoration: underline;
    font-family: sans-serif;
    font-weight: 100;
}
.mask h3{
    font-family: 'playfair display';
    font-weight: 100;
    width: 80%;
}
.overlay:hover > .mask{
    opacity: 1;
}
.overlay p,.overlay a{
    display: none;
}
footer{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap:20px;
    margin-bottom: 20px;
}

@media screen and (min-width:280px) and (max-width:500px) {
    section{
        width: 100%;
    }
    .logo{
        height: 60px;
    }
    .logo span{
        /* font-size: 1rem; */
        text-align: center;
    }
    .hero-wrapper-image img{
        width: 100%;
    }
    .description{
        margin-top:100px;
    }
    #portfolio img{
        height: 30%;
    }
    .buttons{
        flex-direction: column;
        align-items: center;
        gap:20px;
    }
 .portfolio-wrapper{
grid-template-columns: repeat(1,1fr);
 } 
 .lightbox{
    overflow-y: scroll;
 }   
 .wrapper{
    flex-direction: column;
    overflow-y: scroll;
 }
 .lightbox.active{
    height: 100%;
 }
 .left,.right{
    width: 100%;
    margin-top:50px;
 }
 .left img{
    height: auto;
 }
 .right{
    padding: 1rem;
 }
 .right h2{
    font-size: 3rem;
 }
 iframe{
    width: 100%;
    height: 350px;
 }
 footer{
    margin:20px auto;
    gap:50px;
 }
}