*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
p{
    font-size: 10px;
    font-family: 'Roboto', sans-serif;
}

body{
    font-family: 'Poppins', sans-serif;
}

.container{
    min-height: 100vh;
    width: 100%;
    background-color: #485461;
    background-image: linear-gradient(135deg, #485461 0%, #28313b 74%);
    overflow-x: hidden;
    transform-style: preserve-3d;
}

.navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    height: 3rem;
}

.menu{
    max-width: 72rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.logo{
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 4rem;
    transition: .5s;
    cursor: default;
}
.logo:hover{
    color: #1179e7;
}

.logo span{
    font-weight: 300;
}

.hamburger-menu{
    height: 4rem;
    width: 3rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: flex-end;   
}
.hamburger-menu:hover .bar, .hamburger-menu:hover .bar:before, .hamburger-menu:hover .bar:after{
    background-color: #1179e7;
}

.bar{
    transform: translateY(-30px);
    width: 30px;
    height: 2px;
    border-radius: 2px;
    background-color: #eee;
    transition: 0.3s;
    position: relative;
}

.bar::before, .bar::after{
    content: '';
    position: absolute;
    width: inherit;
    height: inherit;
    background-color: #eee;
    transition: .5s;
}

.bar::before{
    transform: translateY(-9px);
}

.bar::after{
    transform: translateY(9px);
}

.main{
    position: relative;
    width: 100%;
    left: 0;
    z-index: 5;
    overflow: hidden;
    transform-origin: left;
    transform-style: preserve-3d;
    transition: .5s;
}

header{
    min-height: 100vh;
    width: 100%;
    background: url('./bg.jpg') no-repeat top center fixed;
    position: relative;
    animation: carousel 30s ease-out infinite;
    transform: scale(2);
}

.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(53,51,59,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner{
    max-width: 35rem;
    text-align: center;
    color: #fff;
}
.inner *{
    margin: 25px;
}

.title{
    font-size: 40px;
}

.btn{
    margin-top: 20px;
    padding: 0.3rem 0.9rem;
    background-color: #1179e7;
    border: none;
    border-radius: 25px;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    font-size: 10px;
}

.container.active .bar{
    transform: rotate(360deg) translateY(-30px);
    background-color: transparent;
}

.container.active .bar::before{
    transform: translateY(0) rotate(45deg);
    background-color: #1179e7;
}

.container.active .bar::after{
    transform: translateY(0) rotate(-45deg);
    background-color: #1179e7;
}

.container.active .main{
    cursor: pointer;
    transform: perspective(1300px) rotateY(20deg) translateZ(310px) scale(0.5);
}

@keyframes main-animation{
    from{
        transform: translate(0);
    }
    to{
        transform: perspective(1300px) rotateY(20deg) translateZ(310px) scale(0.5);
    }
}

.links{
    position: absolute;
    width: 30%;
    right: 0;
    top: 0;
    height: 100vh;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul{
    list-style-type: none;
}

.links a{
    text-decoration: none;
    color: #eee;
    padding: 20px 0;
    display: inline-block;
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: .3s;
    opacity: 0;
    transform: translateY(10px);
    animation: hide 0.5s forwards ease var(--i);
}

.links a:hover{
    color: #fff;
}

.container.active .links a{
    animation: appear 0.5s forwards ease var(--i);
}

.container.active .links a:hover{
    color: #1179e7;
}

@keyframes appear{
    from{
        opacity: 0;
        transform: translateY(10px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hide{
    to{
        opacity: 0;
        transform: translateY(10px);
    }
    form{
        opacity: 1;
        transform: translateY(0);
    }
}

.shadow{
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    transform-origin: left;
    transition: .5s;
    background-color: white;
}

.shadow.one{
    opacity: 0.5;
    z-index: -1;
}
.shadow.two{
    opacity: 0.1;
    z-index: -2;
}


.container.active .shadow.one{
    animation: shadow-one 0.6s ease-out;
    transform: perspective(1300px) rotateY(20deg) translateZ(215px) scale(0.5);
}


@keyframes shadow-one{
    0%{
        transform: translate(0);
    }
    5%{
        transform: perspective(1300px) rotateY(20deg) translateZ(310px) scale(0.5);
    }
    100%{
        transform: perspective(1300px) rotateY(20deg) translateZ(215px) scale(0.5);


    }
}

.container.active .shadow.two{
    animation: shadow-two 0.6s ease-out;
    transform: perspective(1300px) rotateY(20deg) translateZ(150px) scale(0.5);
}

@keyframes shadow-wto{
    0%{
        transform: translate(0);
    }
    20%{
        transform: perspective(1300px) rotateY(20deg) translateZ(310px) scale(0.5);
    }
    100%{
        transform: perspective(1300px) rotateY(20deg) translateZ(120px) scale(0.5);


    }
}


@keyframes carousel{
    0%{
        background: url('./img/img1.jpg') no-repeat top center fixed;
    }
    20%{
        background: url('./img/img1.jpg') no-repeat top center fixed;
    }
    25%{
        background: url('./img/img2.jpg') no-repeat top center fixed;
    }
    45%{
        background: url('./img/img2.jpg') no-repeat top center fixed;
    }
    50%{
        background: url('./img/img3.jpg') no-repeat top center fixed;
    }
    70%{
        background: url('./img/img3.jpg') no-repeat top center fixed;
    }
    75%{
        background: url('./img/img4.jpg') no-repeat top center fixed;
    }
    95%{
        background: url('./img/img4.jpg') no-repeat top center fixed;
    }
    100%{
        background: url('./img/img1.jpg') no-repeat top center fixed;
    }
}




























input{
    border: none;
    width: 150px;
    height: 13px;
    text-align: center;
    background-color: rgb(255, 255, 255, 0.5);
    transition: .5s;
    cursor: default;
    font-size: 10px;
}
input:focus{
    outline: none;
}
input:hover{
    background-color: rgb(255, 255, 255, 0.8);
}


.main-1{
    display: block;
}
.main-2{
    display:none;
}