@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    color: white;
}

html{
    scroll-behavior: smooth;
}

body {
    background-color: black;
}

@media only screen and (min-width:400px){

    .header::before {
        content: "";
        background-color: black;
        position: absolute;
        width: 100%;
        height: 70px;
        z-index: -1;
        opacity: 0.4;
        /* border: 3px solid green; */
    }
    
    .header {
        /* border: 3px solid white; */
        height: 70px;
        width: 100%;
    }
    
    #logo {
        width: 10%;
        /* border: 3px solid green; */
    }
    
    #logo img {
        /* border: 3px solid red; */
        width: 150px;
        filter: invert(100%); 
        /* margin-top: -15px;
        margin-left: -35px; */
    }
}

@media only screen and (max-width:578px){
    .header::before {
        content: "";
        background-color: black;
        position: absolute;
        width: 100%;
        height: 70px;
        z-index: -1;
        opacity: 0.4;
        /* border: 3px solid green; */
    }
    
    .header {
        /* border: 3px solid white; */
        height: 70px;
        width: 100%;
    }
    
    #logo {
        width: 10%;
        /* border: 3px solid green; */
    }
    
    #logo img {
        /* border: 3px solid red; */
        width: 120px;
        filter: invert(100%); 
        margin-top: -3px;
        margin-left: -25px;
    }
}

@media only screen and (max-width: 436px){
    .header::before {
        content: "";
        background-color: black;
        position: absolute;
        width: 100%;
        height: 60px;
        z-index: -1;
        opacity: 0.4;
        /* border: 3px solid green; */
    }
    
    .header {
        /* border: 3px solid white; */
        height: 60px;
        width: 100%;
    }
    
    #logo {
        width: 10%;
        /* border: 3px solid green; */
    }
    
    #logo img {
        /* border: 3px solid red; */
        width: 100px;
        filter: invert(100%); 
        margin-top: -3px;
        margin-left: -25px;
    }
}


@media only screen and (max-height: 1000px){

    .container .heading{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .heading h1{
        position: absolute;
        top: 80px;
        font-size: 3rem;
        font-weight: 500;
    }
    
    .container .box1{
        display: flex;
        flex-direction: column;
        border: 2px solid white;
        width: 500px;
        align-items: center;
        height: 66%;
        position: absolute;
        top: 200px;
        backdrop-filter: blur(10px);
        border-radius: 15px;
        left: 30px;
    }
    
    .box1 h3{
        font-size: 2rem;
        font-weight: 400;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .box1 p{
        width: 350px;
        border-left: 2px solid white;
        padding: 7px;
        margin-bottom: 20px;
        font-size: 0.8rem;
    }
    
    .box1 h4{
        font-weight: 500;
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .box1 .btn{
        border: 2px solid rgb(112, 112, 112);
        background-color: transparent;
        padding: 4px;
        font-size: 1rem;
        width: 260px;
    }
    
    .box1 .btn a{
        text-decoration: none;
    }
    
    .container .box2{
        display: flex;
        flex-direction: column;
        border: 2px solid white;
        width: 500px;
        align-items: center;
        height: 66%;
        position: absolute;
        top: 200px;
        backdrop-filter: blur(10px);
        border-radius: 15px;
        right: 30px;
    }
    
    .box2 h3{
        font-size: 2rem;
        font-weight: 400;
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 6px;
    }
    
    .box2 p{
        width: 350px;
        border-left: 2px solid white;
        padding: 7px;
        margin-bottom: 20px;
        font-size: 0.8rem;
    }
    
    .box2 h4{
        font-weight: 500;
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .box2 .btn{
        border: 2px solid rgb(112, 112, 112);
        background-color: transparent;
        padding: 4px;
        font-size: 1rem;
        width: 260px;
    }
    
    .box2 .btn a{
        text-decoration: none;
    }
}

@media only screen and (max-width: 1080px){
    .container {
        position: absolute;
        top: 0;
        display: flex;
        width: 100%;
        height: 280vh;
        flex-direction: column;
        z-index: -2;
        justify-content: center;
        align-items: center;
        /* border: 3px solid white; */
    }
    
    .container::before {
        content: "";
        position: absolute;
        background-image: url(../img/about_phone_bg.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        height: 280vh;
        width: 100%;
        z-index: -2;
        opacity: 0.6;
    }

    .container .heading{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .heading h1{
        /* border: 2px solid green; */
        position: absolute;
        top: 80px;
        font-size: 4rem;
        font-weight: 500;
        left: 50%;
        transform: translate(-50%, 30%);
        width: 100%;
        text-align: center;
    }
    
    .container .box1{
        display: flex;
        flex-direction: column;
        border: 2px solid white;
        width: 500px;
        align-items: center;
        height: 35%;
        position: absolute;
        top: 200px;
        backdrop-filter: blur(10px);
        border-radius: 15px;
        left: 50%;
        transform: translate(-50%, 15%);
    }

    .container .box1:hover{
        transform: none;
        transform: none;
        left: 50%;
        transform: translate(-50%, 15%);
    }
    
    .box1 h3{
        font-size: 2rem;
        font-weight: 400;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .box1 p{
        width: 350px;
        border-left: 2px solid white;
        padding: 15px;
        margin-bottom: 20px;
        font-size: 0.8rem;
    }
    
    .box1 h4{
        font-weight: 500;
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .box1 .btn{
        border: 2px solid rgb(112, 112, 112);
        background-color: transparent;
        padding: 4px;
        font-size: 1rem;
        width: 260px;
    }
    
    .box1 .btn a{
        text-decoration: none;
    }

    .container .box2{
        margin-top: 200px;
        display: flex;
        flex-direction: column;
        border: 2px solid white;
        width: 500px;
        align-items: center;
        height: 35%;
        position: absolute;
        top: 850px;
        backdrop-filter: blur(10px);
        border-radius: 15px;
        left: 50%;
        transform: translate(-50%, 14%);
    }

    .container .box2:hover{
        transform: none;
        transform: none;
        left: 50%;
        transform: translate(-50%, 14%);
    }
    
    .box2 h3{
        font-size: 2rem;
        font-weight: 400;
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 6px;
    }
    
    .box2 p{
        width: 350px;
        border-left: 2px solid white;
        padding: 15px;
        margin-bottom: 20px;
        font-size: 0.8rem;
    }
    
    .box2 h4{
        font-weight: 500;
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .box2 .btn{
        border: 2px solid rgb(112, 112, 112);
        background-color: transparent;
        padding: 4px;
        font-size: 1rem;
        width: 260px;
    }
    
    .box2 .btn a{
        text-decoration: none;
    }

}

@media only screen and (max-width: 510px){
    
    .container {
        position: absolute;
        top: 0;
        display: flex;
        width: 100%;
        height: 290vh;
        flex-direction: column;
        z-index: -2;
        justify-content: center;
        align-items: center;
        /* border: 3px solid white; */
    }
    
    .container::before {
        content: "";
        position: absolute;
        background-image: url(../img/about_phone_bg.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        height: 290vh;
        width: 100%;
        z-index: -2;
        opacity: 0.6;
    }

    .container .heading{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .heading h1{
        /* border: 2px solid green; */
        position: absolute;
        top: 80px;
        font-size: 3rem;
        font-weight: 500;
        left: 50%;
        transform: translate(-50%, 80%);
        width: 100%;
        text-align: center;
    }
    
    .container .box1{
        display: flex;
        flex-direction: column;
        border: 2px solid white;
        width: 300px;
        align-items: center;
        height: 38%;
        position: absolute;
        top: 200px;
        backdrop-filter: blur(10px);
        border-radius: 15px;
        left: 50%;
        transform: translate(-50%, 6%);
    }
    
    .box1 h3{
        font-size: 2rem;
        font-weight: 400;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .box1 p{
        width: 220px;
        border-left: 2px solid white;
        padding: 10px;
        margin-bottom: 10px;
        font-size: 0.7rem;
    }
    
    .box1 h4{
        font-weight: 500;
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .box1 .btn{
        border: 2px solid rgb(112, 112, 112);
        background-color: transparent;
        padding: 4px;
        font-size: 1rem;
        width: 260px;
    }
    
    .box1 .btn a{
        text-decoration: none;
    }

    .box1 .btn:hover{
        transform: scale(1.1);
        transition: 0.4s ease;
    }
    
    .container .box2{
        margin-top: 300px;
        display: flex;
        flex-direction: column;
        border: 2px solid white;
        width: 300px;
        align-items: center;
        height: 38%;
        position: absolute;
        top: 850px;
        backdrop-filter: blur(10px);
        border-radius: 15px;
        left: 50%;
        transform: translate(-50%, 15%);
    }

    /* .container .box2:hover{
        transform: none;
        transform: none;
        left: 50%;
        transform: translate(-50%, 14%);
    } */
    
    .box2 h3{
        font-size: 1.6rem;
        font-weight: 400;
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 6px;
    }
    
    .box2 p{
        width: 220px;
        border-left: 2px solid white;
        padding: 10px;
        margin-bottom: 15px;
        font-size: 0.7rem;
    }
    
    .box2 h4{
        font-weight: 500;
        font-size: 0.8rem;
        margin-bottom: 30px;
    }
    
    .box2 .btn{
        border: 2px solid rgb(112, 112, 112);
        background-color: transparent;
        padding: 4px;
        font-size: 1rem;
        width: 260px;
    }
    
    .box2 .btn a{
        text-decoration: none;
    }

}

@media only screen and (max-width: 343px){
    .header::before {
        content: "";
        background-color: black;
        position: absolute;
        width: 100%;
        height: 60px;
        z-index: -1;
        opacity: 0.4;
        /* border: 3px solid green; */
    }
    
    .header {
        /* border: 3px solid white; */
        height: 60px;
        width: 100%;
    }
    
    #logo {
        width: 10%;
        /* border: 3px solid green; */
    }
    
    #logo img {
        /* border: 3px solid red; */
        width: 100px;
        filter: invert(100%); 
        margin-top: -3px;
        margin-left: -25px;
    }
}
