@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
.loader_bg {
    position: fixed;
    z-index: 99999;
    background: #e6eaee;
    width: 100%;
    height: 100%;
}

.loader {
    border: 0 solid transparent;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    position: absolute;
    top: calc(50vh - 75px);
    left: calc(50vw - 75px);
}

.loader::before,
.loader::after {
    content: '';
    border: 1em solid #435ebe;
    border-radius: 50%;
    width: inherit;
    height: inherit;
    position: absolute;
    top: 0;
    left: 0;
    animation: loader 2s linear infinite;
    opacity: 0;
}

.loader::before {
    animation-delay: .5s;
}

@keyframes loader {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}


/*=============== GOOGLE FONTS ===============*/

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/

:root {
    --header-height: 1rem;
    /*========== Colors ==========*/
    --hue: 174;
    --sat: 63%;
    --first-color: #435ebe;
    --first-color-alt: hsl(var(--hue), var(--sat), 36%);
    --title-color: hsl(var(--hue), 12%, 15%);
    --text-color: hsl(var(--hue), 8%, 35%);
    --body-color: hsl(var(--hue), 100%, 99%);
    --container-color: #FFF;
    /*========== Font and typography ==========*/
    --body-font: 'Open Sans', sans-serif;
    --h1-font-size: 1.5rem;
    --normal-font-size: .938rem;
    --tiny-font-size: .625rem;
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 968px) {
     :root {
        --h1-font-size: 2.25rem;
        --normal-font-size: 1rem;
    }
}


/*=============== BASE ===============*/

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: #e6eaee;
    color: var(--text-color);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}


/*=============== SLIDER ===============*/

.continer {
    margin: 0;
    padding: 0;
    display: grid;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.vip {
    width: 800px;
    border-radius: 20px;
    background-color: #fff;
    color: #25396f;
    margin-top: 50px;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 100px;
}

.slider {
    width: 800px;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.slides {
    width: 500%;
    height: 500px;
    display: flex;
}

.slides input {
    display: none;
}

.slide {
    width: 20%;
    transition: 2s;
}

.slide img {
    width: 800px;
    height: 500px;
}


/*=============== navigation  manual uchun===============*/

.navigation-manual {
    position: absolute;
    width: 800px;
    margin-top: -40px;
    display: flex;
    justify-content: center;
}

.manual-btn {
    border: 2px solid #fff;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}

.manual-btn:not(:last-child) {
    margin-right: 40px;
}

.manual-btn:hover {
    background: #fff;
}

#radio1:checked~.first {
    margin-left: 0;
}

#radio2:checked~.first {
    margin-left: -20%;
}

#radio3:checked~.first {
    margin-left: -40%;
}

#radio4:checked~.first {
    margin-left: -60%;
}

.navigation-auto {
    position: absolute;
    display: flex;
    width: 800px;
    justify-content: center;
    margin-top: 460px;
}

.navigation-auto div {
    border: 2px solid #fff;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
}

.navigation-auto div:not(:last-child) {
    margin-right: 40px;
}

#radio1:checked~.navigation-auto .auto-btn1 {
    background: #fff;
}

#radio2:checked~.navigation-auto .auto-btn2 {
    background: #fff;
}

#radio3:checked~.navigation-auto .auto-btn3 {
    background: #fff;
}

#radio4:checked~.navigation-auto .auto-btn4 {
    background: #fff;
}


/*=============== choose ===============*/

.choose {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 100px;
}

.choose img {
    width: 100px;
    margin: 30px;
    cursor: pointer;
}


/*=============== REUSABLE CSS CLASSES ===============*/

.section {
    padding: 4.5rem 0 2rem;
}

.section__title {
    font-size: var(--h1-font-size);
    color: var(--title-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.section__height {
    height: 100vh;
}


/*=============== LAYOUT ===============*/

.container {
    max-width: 968px;
    margin-left: 1rem;
    margin-right: 1rem;
}


/*=============== HEADER ===============*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--container-color);
    z-index: var(--z-fixed);
    transition: .4s;
}


/*=============== NAV ===============*/

.nav {
    display: flex;
    justify-content: right;
    align-items: center;
}

.nav__img {
    width: 32px;
    /*  border-radius: 50%; */
}

.nav__logo {
    color: var(--title-color);
    font-weight: 600;
}


/* CARD BOSHLANDI*/

.grid {
    margin: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    align-items: center;
}

.grid>article {
    background: #fff;
    border: none;
    box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    text-align: center;
    width: 160px;
}

.grid>article:hover {
    transform: translateY(5px);
    box-shadow: 2px 2px 26px 0 rgba(0, 0, 0, 0.3);
    ;
}

.grid>article video {
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.grid>article img {
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.text {
    padding: 0 20px 20px;
}

.text button {
    background: #435ebe;
    border-radius: 20px;
    border: none;
    color: #fff;
    padding: 10px;
    width: 100%;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: var(--container-color);
        box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
        width: 100%;
        height: 4rem;
        padding: 0 1rem;
        display: grid;
        align-content: center;
        border-radius: 1.25rem 1.25rem 0 0;
        transition: .4s;
        z-index: 1000;
    }
    /*=============== SLIDER ===============*/
    .slider {
        width: 300px;
        height: 200px;
    }
    .slides {
        width: 500%;
        height: 200px;
        display: flex;
    }
    .slides input {
        display: none;
    }
    .slide {
        width: 100%;
        transition: 2s;
    }
    .slide img {
        width: 300px;
        height: 200px;
        border-radius: 15px;
    }
    /*=============== navigation  manual uchun===============*/
    .navigation-manual {
        position: absolute;
        width: 300px;
        margin-top: -10px;
        display: flex;
        justify-content: center;
    }
    .manual-btn {
        border: 2px solid transparent;
        background-color: #fff;
        opacity: 30%;
        padding: 2px;
        border-radius: 25px;
        cursor: pointer;
        transition: 1s;
        width: 25px;
    }
    .manual-btn:not(:last-child) {
        margin-right: 10px;
    }
    .manual-btn:hover {
        background: #fff;
    }
    #radio1:checked~.first {
        margin-left: 0;
    }
    #radio2:checked~.first {
        margin-left: -33.5%;
    }
    #radio3:checked~.first {
        margin-left: -100%;
    }
    #radio4:checked~.first {
        margin-left: -300%;
    }
    .navigation-auto {
        position: absolute;
        display: flex;
        width: 300px;
        justify-content: center;
        margin-top: 190px;
    }
    .navigation-auto div {
        border: 2px solid transparent;
        padding: 2px;
        border-radius: 30px;
        transition: 1s;
        width: 25px;
    }
    .navigation-auto div:not(:last-child) {
        margin-right: 10px;
    }
    #radio1:checked~.navigation-auto .auto-btn1 {
        background: #fff;
    }
    #radio2:checked~.navigation-auto .auto-btn2 {
        background: #fff;
    }
    #radio3:checked~.navigation-auto .auto-btn3 {
        background: #fff;
    }
    #radio4:checked~.navigation-auto .auto-btn4 {
        background: #fff;
    }
    .grid>article {
        width: 300px;
        text-align: center;
    }
    .text {
        text-align: center;
        display: grid;
        justify-content: center;
        align-items: center;
    }
    .text p {
        text-align: left;
    }
    .grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .choose {
        margin-top: 20px;
        width: 300px;
        height: 100px;
        
        padding: 0;
    }
    .choose img {
        width: 300px;
        margin: 20px;
        cursor: pointer;
        border-radius: 20px;
    }
    .vip {
        width: 300px;
    }
}

.nav__list,
.nav__link {
    display: flex;
    margin-bottom: 0;
    padding-left: 0;
}

.nav__link {
    flex-direction: column;
    align-items: center;
    row-gap: 4px;
    color: var(--title-color);
    font-weight: 600;
}

.nav__list {
    justify-content: space-around;
}

.nav__name {
    font-size: var(--tiny-font-size);
}

.nav__icon {
    font-size: 1.5rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--container-color);
    z-index: var(--z-fixed);
    transition: .4s;
    visibility: hidden;
}


/*Active link*/

.active-link {
    position: relative;
    color: var(--first-color);
    transition: .3s;
}


/* ---------- CARD ---------*/

.scroll-header {
    box-shadow: 0 1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
}


/*=============== MEDIA QUERIES ===============*/


/* For small devices */


/* Remove if you choose, the minimalist design */

@media screen and (max-width: 320px) {
    .nav__name {
        display: none;
    }
}


/* For medium devices */

@media screen and (min-width: 576px) {
    .nav__list {
        justify-content: center;
        column-gap: 3rem;
    }
}

@media screen and (min-width: 767px) {
    body {
        margin: 0;
    }
    .section {
        padding: 7rem 0 2rem;
    }
    .nav {
        height: calc(var(--header-height) + 1.5rem);
        /* 4.5rem */
    }
    .nav__img {
        display: none;
    }
    .nav__icon {
        display: none;
    }
    .nav__name {
        font-size: var(--normal-font-size);
        /* display: block; */
        /* Minimalist design, visible labels */
    }
    .nav__link:hover {
        color: var(--first-color);
    }
    /* First design, remove if you choose the minimalist design */
    .active-link::before {
        content: '';
        position: absolute;
        bottom: -.75rem;
        width: 4px;
        height: 4px;
        background-color: var(--first-color);
    }
    /* Minimalist design */
    /* .active-link::before{
      bottom: -.75rem;
  } */
}


/* For large devices */

@media screen and (min-width: 1024px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
}