@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@1,200&family=Roboto:wght@300&display=swap');
*{
    border: 0;
    padding: 0;
    margin: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

/* global Variable */
:root{
    --main:#ef2006;
    --black:#000;
    --white:#fff;
    --font_family: "Montserrat";
    --color-bg: #2b2f3f;
    --color-bg1: #2e3267;
    --color-bg2: #424890;
    --color-primary: #6c63ff;
    --color-success: #00bf8e;
    --color-warning: #f7c94b;
    --color-danger: #f75842;
    --container-width-lg: 80%;
    --container-width-md: 90%;
    --container-width-sm: 94%;

    --transition: all 400ms ease;
}
body{
    background: var(--color-bg) !important;
    color: var(--white) !important;
    font-family: "Roboto", sans-serif;
    line-height: 1.7;
}
.container{
    width: var(--container-width-lg);
    margin: 0 auto;
}
section {
    padding: 6rem 0;
}
section h2{
    text-align: center;
    margin-bottom: 4rem;
}
h1, h2, h3, h4, h5 {
    line-height: 1.2;
}
h1{
    font-size: 2.4rem;
}
h2{
    font-size: 2rem;
}
h3{
    font-size: 1.6rem;
}
h4{
    font-size: 1.3rem;
}
a{
    color: var(--white);
}
img{
    width: 100%;
    display: block;
    object-fit: cover;
}
.btn{
    display: inline-block;
    background: var(--white);
    color: var(--black);
    padding: 1rem 2rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: var(--transition);
}
.btn:hover{
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-primary {
    background: var(--color-danger);
    color: var(--white);
}
*::selection{
    background: var(--main);
    color: var(--white) !important;
}
html::-webkit-scrollbar{
    width: 0.625rem;
}
html::-webkit-scrollbar-track{
    background: #333;
}
html::-webkit-scrollbar-thumb{
    background: var(--main);
}
/* navbar begins */
nav{
    /* background: purple; */
    width: 100vw;
    height: 5rem;
    top: 0;
    position: fixed;
    z-index: 11;
}
.nav_container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav_container a{
    text-decoration: none;
    color: var(--white);
}
nav button{
    display: none;
}
.nav_menu{
    display: flex;
    align-items: center;
    gap: 1rem;
}
/* navlink an class inside */

.navlink::before{
    content: "";
    background: var(--main);
    height: 0.125rem;
    width: 0px;
    display: block;
    position: absolute;
    transition: 0.4s;
}
.navlink:hover::before{
    width: 2.5rem;
}
.navlink:hover{
    color: var(--main) !important;
}
.nav_menu a{
    font-size: 0.9rem;
    transition: all 1s ease;
}

/* media queries responsive */
@media screen and (max-width:1024px) {
    .container {
        width: var(--container-width-md);
    }
    h1{
        font-size: 2.2rem;
    }
    h2{
        font-size: 1.7rem;
    }
    h3{
        font-size: 1.4rem;
    }
    h4{
        font-size: 1.2rem;
    }
    /* navbar responsive */
    
    nav button{
        display: inline-block;
        background: transparent;
        font-size: 1.8rem;
        color: var(--white);
        cursor: pointer;
    }
    nav button#close-menu-btn{
        display: none;
    }
    .nav_menu {
        position: fixed;
        top: 3rem;
        right: 5%;
        height: fit-content;
        width: 18rem;
        flex-direction: column;
        gap: 0;
        display: none;
    }
    .nav_menu li{
        width: 100%;
        height: 2.8rem;
        animation: animateNavItems 1s linear forwards;
        transform-origin: top right;
        opacity: 0;
    }
    
    .nav_menu li:nth-child(2){
        animation-delay: 2s;
    }
    .nav_menu li:nth-child(3){
        animation-delay: 3s;
    }
    .nav_menu li:nth-child(4){
        animation-delay: 4s;
    }
    .nav_menu li:nth-child(5){
        animation-delay: 5s;
    }
    .nav_menu li:nth-child(6){
        animation-delay: 6s;
    }
    .nav_menu li:nth-child(7){
        animation-delay: 7s;
    }
    .nav_menu li:nth-child(8){
        animation-delay: 8s;
    }
    .nav_menu li:nth-child(9){
        animation-delay: 9s;
    }
    .nav_menu li:nth-child(10){
        animation-delay: 10s;
    }
    @keyframes animateNavItems {
        0%{
            transform: rotateZ(-90deg) rotateX(90deg) scale(0.1);
        }
        100%{
            transform: rotateZ(0deg) rotateX(0) scale(1);
            opacity: 1;
        }
        
    }
    .nav_menu li a{
        background: var(--color-primary);
        box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.6);
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
    }
    .nav_menu li a:hover{
        background: var(--color-bg2);
        color: var(--white);
    }
}
/* slider starts */
.slider{
    position: relative;
    width: 100%;
    background: #2c3e50;
}
.myslider{
    height: 40.9375rem;
    display: none;
    overflow: hidden;
}
.prev, .next{
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 3.125rem;
    padding: 0.9375rem;
    cursor: pointer;
    /* color: var(--white); */
    transition: 0.5s;
    user-select: none;
    color: red;
    font-size: 1.875rem;
}
.prev:hover, .next:hover{
    color: #3498db;
}
.next{
    right: 0;
}
.dotsbox{
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 1.25rem;
    cursor: pointer;
}
.dot{
    display: inline-block;
    width: 0.9375rem;
    height: 0.9375rem;
    border: 0.1875rem solid #fff;
    margin: 0 0.6rem;
    border-radius: 50%;
}
.active, .dot:hover{
    border-color: #3498db;
}

.fade{
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}
@-webkit-keyframes fade {
    from{
        opacity: 0.8;
    }
    to{
        opacity: 1;
    }
    
}
@keyframes fade {
    from{
        opacity: 0.8;
    }
    to{
        opacity: 1;
    }
    
}
.txt {
    position: absolute;
    color: #fff;
    letter-spacing: 2px;
    line-height: 35px;
    top: 70%;
    left: 15%;
    animation: posi 2s;
    z-index: 1;
}
@keyframes posi {
    from{
        left: 25%;
    }
    to{
        left: 15%;
    }
}
.txt h1{
    color: #3498db;
    font-weight: bold;
    margin: 20px;
}
.txt p{
    font-weight: bold;
    font-size: 20px;
}
.myslider img{
    transform: scale(1.5, 1.5);
    -webkit-animation-name: zoomin;
    -webkit-animation-duration: 40s;
    animation-name: zoomin;
    animation-duration: 40s;
}
@-webkit-keyframes zoomin {
    from{transform: scale(1, 1);}
    to{transform: scale(1.5, 1.5);} 
}
 @keyframes zoomin {
     from{transform: scale(1, 1);}
     to{transform: scale(1.5, 1.5);} 
 }

 /* responsiveness */
 @media screen and (max-width: 800px){
     .myslider{
         height: 500px;
     }
     .txt{
         line-height: 25px;
         top: 50%;
         left: 50%;
         transform: translate(-50%, -50%);
         -webkit-animation-name: posi2;
         -webkit-animation-duration: 2s;
         animation-name: posi2;
         animation-duration: 2s;
     }
     @keyframes posi2{
         from{top:35%;}
         to{top:50%;}
     }
     .txt h1{
         font-size: 40px;
     }
     .txt p{
        font-size: 13px;
    }
 }

 @media (max-width: 767px) {
    .myslider {
      height: 20.9375rem;
    }
  
    .txt {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }
  
  @media (min-width: 768px) and (max-width: 991px) {
    .myslider {
      height: 30.9375rem;
    }
  }
  
  @media (min-width: 992px) {
    .myslider {
      height: 40.9375rem;
    }
  }



























