@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;600&display=swap');
body {
    font-family: 'Nunito Sans', sans-serif;
}

main {
    padding-top: 60px;
}

@media (max-width: 979px) {
    main {
        padding-top: 0px;
    }
}

.hide {
    display: none;
}

.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    overflow-y: hidden;
    transition: 0.5s;
}

.placer {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.openNav {
    height: 100%;
}

.overlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

#myVideo {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}

h2 {
    color: #1E2D3B;
}


/* Haqqmizda */

.split {
    min-height: 600px;
    width: 50%;
    float: left;
    position: relative;
    z-index: 1;
    top: 0;
    overflow-x: hidden;
    padding-top: 20px;
    background-color: #F7F7F7;
}

.myheader {
    display: flex;
    justify-content: space-between;
    padding-right: 25px;
    width: 100%;
}

.myul li {
    padding: 0 10px;
}

.mylinks {
    display: flex;
    align-items: flex-end;
    padding-bottom: 0.7rem;
}

.left {
    left: 0;
    background-color: #F7F7F7;
}


/* LISENZIYALAR  */

.cont-lisenziyalar {
    display: grid;
    align-items: center;
    justify-content: center;
    padding: 3.5rem;
}

.lisenziya-cards {
    display: flex;
    flex-wrap: wrap;
}

.header-right div {
    padding: auto;
}

.lisenziya-card {
    flex: 1 0 0%;
    position: relative;
    width: 18rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.25rem;
    padding: 0;
    margin: 0.5rem;
}

#hamburger-icon {
    margin: auto 0;
    display: none;
    cursor: pointer;
}

#hamburger-icon div {
    width: 60px;
    height: 5px;
    background-color: #1E2D3B;
    margin: 6px 0;
    transition: 0.4s;
}

.open .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.open .bar2 {
    opacity: 0;
}

.open .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

.open .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    height: calc(100vh - 50px);
    width: 100%;
}

.mobile-menu li {
    margin-bottom: 10px;
}

.cont-about {
    display: grid;
    align-items: center;
    justify-content: center;
    padding: 3.5rem;
}

.lisenziya {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
}


/* PARTNYORLAR */

.cont-partnyorlar {
    background-color: #F7F7F7;
    display: grid;
    align-items: center;
    padding: 3.5rem;
    justify-content: center;
}

.sponsors {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    width: 100%;
    min-height: auto;
    grid-template-rows: repeat(2, min-content) 1fr;
    grid-template-columns: 100%;
}

.card_sponsor {
    margin: 2rem;
    height: 50px;
    width: 140px;
}

.fade_effect {
    -webkit-transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
}

.fade_effect:hover {
    -webkit-transform: scale(1.5) rotate(0.01deg);
    transform: scale(1.5) rotate(0.01deg);
    cursor: pointer;
}

.fade_effect_license {
    -webkit-transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
}

.fade_effect_license:hover {
    -webkit-transform: scale(1.2) rotate(0.01deg);
    transform: scale(1.2) rotate(0.01deg);
    cursor: pointer;
}


/* ELAQE */

.cont-elaqe {
    position: static;
    display: grid;
    height: auto;
    padding: 3.5rem;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.heightHandler {
    height: 9rem;
    transition: .3s all ease;
}

.extendable {
    transition: .3s all ease;
}

.showMore {
    background: #1E2D3B;
    color: white;
    margin: 5px;
}

.showMore:hover {
    border-color: #1E2D3B;
    color: #1E2D3B;
    background-color: white;
}

.bottomLine {
    border-bottom: 10px solid #EDCD1F;
    padding-top: 7px;
    width: 116px;
    height: 10px;
    margin: auto;
}

.map {
    width: 900px;
}

#mobileNav {
    display: none;
}

.mobile {
    padding: 0;
    margin: 0;
    display: none;
}

.h1-size {
    font-size: 60px;
}

@media only screen and (max-width: 1000px) {
    .map {
        width: 700px;
    }
    body,
    html {
        min-width: 800px;
    }
    .map {
        width: 600px;
    }
    .sponsors {
        display: grid;
        gap: 40px;
        grid-template-columns: auto auto auto;
        padding: 10px;
    }
    .lisenziya-cards {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .lisenziya-card {
        flex: 1 0 0%;
        position: relative;
        display: flex;
        flex-direction: column;
        min-width: 0;
        word-wrap: break-word;
        background-color: #fff;
        background-clip: border-box;
        border-radius: 0.25rem;
        padding: 15px;
        padding: 0;
        margin: 0.5rem;
        width: 30rem;
    }
    header nav {
        display: none;
    }
    #hamburger-icon {
        display: block;
    }
    #myVideo {
        width: 100%;
    }
    #mobileNav {
        display: block;
    }
    #mainNav {
        display: none;
    }
    .mobile {
        position: fixed;
        z-index: 999;
        /* So that it is not under the other elements */
        background: #EDCD1D;
        display: flex;
        /* It was transparent */
    }
    section {
        padding-top: 5rem;
    }
    .overlay {
        overflow-y: auto;
    }
    .overlay a {
        font-size: 20px
    }
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
    .h1-size {
        font-size: 40px;
    }
    .check {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    body,
    html {
        min-width: 500px;
    }
    .map {
        width: 400px;
    }
    .h1-size {
        font-size: 40px;
    }
    .sponsors {
        display: grid;
        gap: 40px;
        grid-template-columns: auto auto;
        padding: 5px;
    }
    .lisenziya-cards {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .lisenziya-card {
        flex: 1 0 0%;
        position: relative;
        display: flex;
        flex-direction: column;
        min-width: 0;
        word-wrap: break-word;
        background-color: #fff;
        background-clip: border-box;
        border-radius: 0.25rem;
        padding: 15px;
        margin: 0.5rem;
        width: 30rem;
    }
    header nav {
        display: none;
    }
    #hamburger-icon {
        display: block;
    }
    #myVideo {
        width: 100%;
    }
    #mobileNav {
        display: block;
    }
    #mainNav {
        display: none;
    }
    .mobile {
        position: fixed;
        z-index: 999;
        /* So that it is not under the other elements */
        background: #EDCD1D;
        display: flex;
        /* It was transparent */
    }
    section {
        padding-top: 5rem;
    }
    .overlay {
        overflow-y: auto;
    }
    .overlay a {
        font-size: 20px
    }
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
    .lisenziya {
        align-items: center;
        display: block;
        justify-content: none;
        padding-top: 2rem;
    }
    .check {
        display: none;
    }
}

@media only screen and (max-width: 800px) {
    body,
    html {
        min-width: 800px;
    }
    .map {
        width: 600px;
    }
    .sponsors {
        display: grid;
        gap: 40px;
        grid-template-columns: auto auto auto;
        padding: 10px;
    }
    .lisenziya-cards {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .lisenziya-card {
        flex: 1 0 0%;
        position: relative;
        display: flex;
        flex-direction: column;
        min-width: 0;
        word-wrap: break-word;
        background-color: #fff;
        background-clip: border-box;
        border-radius: 0.25rem;
        padding: 15px;
        padding: 0;
        margin: 0.5rem;
        width: 30rem;
    }
    header nav {
        display: none;
    }
    #hamburger-icon {
        display: block;
    }
    #myVideo {
        width: 100%;
    }
    #mobileNav {
        display: block;
    }
    #mainNav {
        display: none;
    }
    .mobile {
        position: fixed;
        z-index: 999;
        /* So that it is not under the other elements */
        background: #EDCD1D;
        display: flex;
        /* It was transparent */
    }
    section {
        padding-top: 5rem;
    }
    .overlay {
        overflow-y: auto;
    }
    .lisenziya {
        align-items: center;
        display: block;
        justify-content: none;
        padding-top: 2rem;
    }
    .overlay a {
        font-size: 20px
    }
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
    .h1-size {
        font-size: 40px;
    }
    .check {
        display: none;
    }
}