@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;
    overflow: hidden;
}

@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;
    }
}

.container {
    position: absolute;
    top: 0;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: -2;
    /* border: 3px solid white; */
}

.container::before {
    content: "";
    position: absolute;
    background-image: url(../img/main_bg_phone.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 100%;
    width: 100%;
    z-index: -2;
    opacity: 0.8;
}


@media only screen and (max-width:804px){
    .container {
        position: absolute;
        top: 0;
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        z-index: -2;
        /* border: 3px solid white; */
    }
    
    .container::before {
        content: "";
        position: absolute;
        background-image: url(../img/2nd_phone_main_bg.jpg);
        /* filter: invert(100%); */
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        height: 100%;
        width: 100%;
        z-index: -2;
        opacity: 1;
    }

}

@media only screen and (max-width: 873px) {

    .container .heading {
        width: 350px;
        /* border: 3px solid white; */
    }
    
    .heading h3 {
        font-weight: 300;
        font-size: 1.7rem;
        margin-bottom: 5px;
    }
    
    .heading h1 {
        font-weight: 700;
        font-size: 4rem;
        position: relative;
        color: transparent;
        letter-spacing: 3px;
        text-transform: uppercase;
    }
    
    .heading h1::before {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        color: white;
        border-right: 2px solid white;
        overflow: hidden;
        animation: heading 7s linear infinite;
    }
    
    @keyframes heading {
    
        0%{
            width: 0;
        }
    
        50%{
            width: 100%;
        }
        
        100%{
            width: 0%;
        }
    }
    
    .heading .btn{
        /* border: 2px solid rgb(112, 112, 112); */
        background-color: transparent;
        padding: 7px;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .heading .btn a{
        text-decoration: none;
    }
    
    .heading .btn:hover, .heading .btn:active{
        /* background-color: rgb(0, 0, 0); */
        cursor: pointer;
        transition: 350ms ease-in-out;
        transform: scale(1.3);
    }
    
    .heading p{
        font-size: 0.7rem;
        margin-top: 30px;
        margin-bottom: 30px;
    }

}

@media only screen and (max-width:592px){
    .container .heading {
        width: 350px;
        /* border: 3px solid white; */
    }
    
    .heading h3 {
        font-weight: 300;
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .heading h1 {
        font-weight: 700;
        font-size: 3rem;
        position: relative;
        color: transparent;
        letter-spacing: 3px;
        text-transform: uppercase;
    }
    
    .heading h1::before {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        color: white;
        border-right: 2px solid white;
        overflow: hidden;
        animation: heading 7s linear infinite;
    }
    
    @keyframes heading {
    
        0%{
            width: 0;
        }
    
        50%{
            width: 100%;
        }
        
        100%{
            width: 0%;
        }
    }
    
    .heading .btn{
        /* border: 2px solid rgb(112, 112, 112); */
        background-color: transparent;
        padding: 7px;
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .heading .btn a{
        text-decoration: none;
    }
    
    .heading .btn:hover, .heading .btn:active{
        /* background-color: rgb(0, 0, 0); */
        cursor: pointer;
        transition: 350ms ease-in-out;
        transform: scale(1.3);
    }
    
    .heading p{
        font-size: 0.5rem;
        margin-top: 20px;
        margin-bottom: 20px;
        font-weight: 400;
    }
}

@media only screen and (max-width:382px){
    .container .heading {
        width: 250px;
        /* border: 3px solid white; */
    }
    
    .heading h3 {
        font-weight: 300;
        font-size: 0.7rem;
        margin-bottom: 5px;
    }
    
    .heading h1 {
        font-weight: 700;
        font-size: 2rem;
        position: relative;
        color: transparent;
        letter-spacing: 3px;
        text-transform: uppercase;
    }
    
    .heading h1::before {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        color: white;
        border-right: 2px solid white;
        overflow: hidden;
        animation: heading 7s linear infinite;
    }
    
    @keyframes heading {
    
        0%{
            width: 0;
        }
    
        50%{
            width: 100%;
        }
        
        100%{
            width: 0%;
        }
    }
    
    .heading .btn{
        /* border: 2px solid rgb(112, 112, 112); */
        background-color: transparent;
        padding: 7px;
        font-size: 0.6rem;
        margin-bottom: 10px;
    }
    
    .heading .btn a{
        text-decoration: none;
    }
    
    .heading .btn:hover, .heading .btn:active{
        /* background-color: rgb(0, 0, 0); */
        cursor: pointer;
        transition: 350ms ease-in-out;
        transform: scale(1.3);
    }
    
    .heading p{
        font-size: 0.4rem;
        margin-top: 20px;
        margin-bottom: 20px;
        font-weight: 500;
    }
}