*,
*::after,
*::before{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: Arial;
}

.html{
    font-size: 62.5%;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines{
    display: none;
}

.container{
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

.navbar{
  
    position: fixed;
    width: 100%;
    background: #868686;
    color: #000;
    opacity: 0.85;
    z-index: 100;
}

.navbar-container{
    display: flex;
    justify-content: space-between;
    height: 40px;
    align-items: center;
}

.menu-items{
    order: 2;
    display: flex;
}
.logo{
    order: 1;
    font-size: 1.3rem;
    color: #d4d4d4;
}

.menu-items li{
    list-style: none;
    margin-left: 1.5rem;
    font-size: 1.0rem;
    color: #f4f4f4;
}

.navbar a{
    color: #f4f4f4;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.navbar a:hover{
    color: #117964;
}
.body1{
    background: url('./img/Homepage\ Background.png') no-repeat center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    position:relative;
	overflow:hidden;
}
.body2{
    background: url('/.img/AboutPage\ Design.png') no-repeat center fixed #3E3E3E;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    position:relative;
	overflow:hidden;  
}
.body3{
    background: url('./img/Background.png') no-repeat center fixed #3E3E3E;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    position:relative;
	overflow:hidden; 
}
.grid{
    display: grid;
    grid-template-columns: 50% 50%;
    background: url('img/HomePage\ Ellipse.png') no-repeat center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    position:relative;
	overflow:hidden;
    height: 100vh;
}
.grid-2{
    display: grid;
    position:relative;
	overflow:hidden;
    height: 100vh;
}
.sec{
    position: relative;
    top: 10%;
    left: 15%;
}
.img{
    position: relative;
    top: 10%;
    left: 15%;
}
.card{
    position: relative;
    top: 10%;
    left:15%;
}
.visit{
    position: relative;
    top: 5%;
    left: 5%;

}
.o-video {
    width: 100%;
    height: 0;
    position: relative;
    padding-top: 56.25%; /* 9 / 16 * 100 */
  }
  .o-video > iframe {
    width: 450px;
    height: 500px;
    position: absolute;
    top: 0;
    left: 5%;
    border: 0;
  }
.visit h1{
    color: #cbc8c8;
    font-size: 4.5rem;
}
.visit h2{
    color: #cbc8c8;
    font-size: 4rem;
    top: 50%;
}
.visit img{
    width: 400px;
}
sup{
    font-size: 0.6rem;
    color: #868686;
    font-weight:700;
}
.portfolio{
    position: relative;
    top: -64%;
    left: 15%;
    display: block;

}

.circle {
    width: 100px;
    height: 100px;
    line-height: 200px;
    border-radius: 50%; /* the magic */
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    text-align: center;
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 auto 40px;
    top: -56%;
    left: -20%;
    position: relative;
}
  
.blue {
    background-color: #090b0c;  
  }
.card p{
    position: relative;
    top: -60%;
    left:1%;
    color: #e5e2e2;
}
.btn1{
    position: relative;
    top: -55%;
    left: 20%;
    border-radius: 50px;
    width: 120px;
    height: 30px;
    border-style: none;
    cursor: pointer;
}
.foot h3{
    color: #868686;
    font-size: 2rem;
}
.foot p{
    color: #d4d4d4;
}
.card p::first-line{
    align-items: center;
}
.foot i{
    color: #d4d4d4;
}
.sec h2{
    color: #868686;
    font-size: 3.3rem;
}
.sec2{
    position: relative;
    top: 22%;
    left:13%;
}
.sec2 h1{
    font-size: 4.2rem;
    color: #868686;
}
.sec2 p{
    position: relative;
    left: 40%;
    font-size: 1rem;
    font-weight: bolder;
}
.form{
    position: relative;
    top: 30%;
    margin-bottom: 50px;
    padding-bottom: 90px;
}
.form input{
    display: grid;
    margin-top: 2px;
    background-color: #cbc8c8;
    border-style: none;
    width: 180px;
    height: 25px;
}
.btn{
    color: #000;
    width: 55px;
    height: 20px;
    background-color: #ececec;
    border-style: none;
    margin-top:5px;
    cursor: pointer;
}
.footer{
    position: relative;
    top: 20%;
    margin-bottom: 50px;
    padding-bottom: 90px;
}
video{
    height: 500px;
    width: 500px;
}
.gallery{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1vh;
    margin-inline: auto;
    max-width: 40rem;
    
    padding: 1vh;
}

 .gallery > img{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery:has(img:hover) img:not(:hover) {
    scale: 0.8;
    opacity: 0.5;
    filter: grayscale(70%);
}

@media (max-width: 768px){
    .navbar{
        opacity: 0.95;
    }

    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines{
        display: block;
    }

    .navbar-container{
        display: block;
        position: relative;
        height: 64px;
    }

    .navbar-container input[type="checkbox"]{
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 20px;
        left: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .navbar-container .hamburger-lines{
        display: block;
        height: 28px;
        width: 35px;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-container .hamburger-lines .line{
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #333;
    }
    
    .navbar-container .hamburger-lines .line1{
        transform-origin: 0% 0%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .hamburger-lines .line2{
        transition: transform 0.2s ease-in-out;
    }

    .navbar-container .hamburger-lines .line3{
        transform-origin: 0% 100%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar .menu-items{
        padding-top: 100px;
        background: #fff;
        height: 100vh;
        max-width: 300px;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin-left: -40px;
        padding-left: 40px;
        transition: transform 0.5s ease-in-out;
        box-shadow:  5px 0px 10px 0px #aaa;
        overflow: scroll;
    }

    .navbar .menu-items li{
        margin-bottom: 1.8rem;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .logo{
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }

    .navbar-container input[type="checkbox"]:checked ~ .menu-items{
        transform: translateX(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1{
        transform: rotate(45deg);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2{
        transform: scaleY(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3{
        transform: rotate(-45deg);
    }
    .sec1 h2{
        position: absolute;
        top: 40%;
        left: 30%;
        transform: translate(-50%,-50%);
        padding-top: 50px;
        color: #868686;
        
        font-size: 3.5em;
    }

    .sec1 p{
        position: relative;
        top:80%;
        left: 48%;
        /* transform: translate(-50%,-50%); */
        color:#868686;
        padding-top: 90px;
        font-size: 1.5rem;
    }

}

@media (max-width: 500px){
    .navbar-container input[type="checkbox"]:checked ~ .logo{
        display: none;
    }
}