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

/* Css variables, they gonna change depends of daytime */
:root {
    --main-font: 'Montserrat', sans-serif;
    --bg-color: #1D1D25;
    --font-color: #ffff;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    background-color: var(--bg-color);
    transition: background .5s ease;
    transition: color .3 ease;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    padding: 51px 0px 0px 0px;
    font-family: var(--main-font);
}

.header {
    display: flex;
    justify-content: space-between;
    max-width: 1621px;
    margin: 0 auto;
}

.header__logo {
    height: 28px;

}

.header__items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 985px;
    width: 100%;
}

.header__link {
    font-size: 20px;
    font-family: var(--main-font);
    font-weight: 600;
    color: var(--font-color);
    display: flex;
    align-items: center;
    gap: 0 5px;
    transition: color .4s ease;
}

.header__link:hover {
    color: #4C53FF;
}

.themeToggle {
    position: relative;
    border: none;
    background: linear-gradient(93.07deg, #4F56ED -9.61%, #0F18EC 110.24%);
    border-radius: 8px;
    width: 60px;
    height: 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 7px;
    cursor: pointer;
    outline: none;
}

.themeToggle-dot {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background-color: white;
    position: absolute;
    top: 4px;
    right: 4px;
}

.toNight .themeToggle-dot {
    right: 4px;
    animation-name: animation1;
    animation-duration: .4s;
    animation-iteration-count: 1;
}

@keyframes animation1 {
    0% {
        left: 4px;
    }

    100% {
        left: 34px;
    }
}

.toLight .themeToggle-dot {

    animation-name: animation2;
    animation-duration: .4s;
    animation-iteration-count: 1;
    left: 4px;
}

@keyframes animation2 {
    0% {
        left: 34px;
    }

    100% {
        left: 4px;
    }
}

@media (max-width: 1778px) {
    .header {
        padding-right: 10px;
    }
}

.mobile-header {
    display: none;
}

@media (max-width: 1366px) {
    .header__items {
        position: absolute;
        top: 85px;
        left: 20%;
        width: 70%;
    }
}

@media (max-width: 1150px) {
    .header__items {
        left: 13%;
        top: 92px;
        width: 80%;
    }
}


@media (max-width: 1030px) {
    .header__items {
        left: 2%;
        width: 84%;
    }
}

.header-open {
    background: none;
    border: none;
    outline: none;
    margin-right: 15px;
}

.mobile-menu {
    z-index: 5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 0 0 25px 25px;
    background-color: #1E1E1E;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    padding: 20px 15px;
    display: none;

}

.mobile-header__items {
    position: static;
    display: flex;
    gap: 7px 15px;
    flex-wrap: wrap;
    justify-content: center;
    color: white;
}

.mobile-header__items .header__link {
    color: white !important;
}

.menu-close {
    background: none;
    border: none;
    outline: none;
    position: absolute;
    top: 15px;
    right: 15px;

}


@media (max-width: 960px) {
    .header {
        display: none;
    }

    .mobile-header {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
}


.main {
    /* display: flex;
    flex-direction: column; */
}

.main-top {
    display: flex;
    padding-left: 150px;
}

.main-right {
    position: relative;
    width: 50%;
    min-height: 90vh;
}

.main-left {
    padding-top: 170px;
    width: 50%;
    max-width: 800px;
}

.main-left__title {
    position: relative;
    font-weight: 800;
    font-size: 52px;
    text-transform: uppercase;
    color: var(--font-color);
    transition: 0s ease;
}

.borderedNight::before {
    content: '';
    width: 130%;
    height: 100%;
    background: url(../img/howwoplay-border-light.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    position: absolute;
    top: -50%;
    left: -17%;
    z-index: -1;
}

.borderedDay::before {
    content: '';
    width: 130%;
    height: 100%;
    background: url(../img/howwoplay-border-dark.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    position: absolute;
    top: -50%;
    left: -17%;
    z-index: -1;
}

/* .main-left__title::before {
    content: '';
    width: 130%;
    height: 100%;
    background: url(../img/howwoplay-border-dark.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    position: absolute;
    top: -50%;
    left: -17%;
    z-index: -1;
} */

.title-gradient {
    background: linear-gradient(93.07deg, #4F56ED -9.61%, #0F18EC 110.24%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;

}

.main {
    background: url(../img/howtoplay-main.png);
    background-position: right bottom;
    background-size: 78%;
    background-repeat: no-repeat;
}

/* .main-right {
    background: url(../img/howtoplay-main.png);
    background-position: right bottom;
    background-size: 100%;
    background-repeat: no-repeat;
} */


.main-left__items {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}

.main-left__item {
    display: flex;

    border: 2px solid #0F18EC;
    border-radius: 20px;
    padding: 30px 20px 20px 30px;
}

#main-left__item1 {
    flex-direction: column;
}

#main-left__item2 {
    flex-direction: column;
}

#main-left__item2 .main-left__item-subtitle {
    max-width: 470px;
    width: 100%;
}


#main-left__item1 .main-left__item-container {
    display: flex;
    width: 100%;
    margin-top: 18px;
    justify-content: space-between;
}

#main-left__item2 .main-left__item-container {
    display: flex;
    width: 100%;
    margin-top: 10px;
    justify-content: space-between;
}

#main-left__item1 .main-left__item-subtitle {
    margin-top: 15px;
}

#main-left__item2 .main-left__item-subtitle {
    margin-top: 15px;
    margin-right: 40px;
}

#main-left__item3 .main-left__item-subtitle {
    margin-top: 15px;
    margin-left: 20px;
    max-width: 492px;
    width: 100%;
}

#main-left__item2 .main-left__item-img {
    padding-left: 25px;
}

#main-left__item-title2 {
    color: #FF0000;
}

.main-left__item-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--font-color);
    line-height: 145%;
}

#main-left__item1 .main-left__item-title {
    text-align: center;
}

#main-left__item2 .main-left__item-title {
    text-align: center;
}

.main-left__item-title {
    font-weight: 900;
    font-size: 24px;
    text-transform: uppercase;
    text-align: left;
}

#main-left__item-title1 {
    background: linear-gradient(93.07deg, #4F56ED -9.61%, #0F18EC 110.24%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.main-left__item-btn {
    border: none;
    outline: none;
    font-family: var(--main-font);
    color: white;
    padding: 21px 34px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    filter: drop-shadow(0px 6px 0px #0D129B);
    background: linear-gradient(93.07deg, #4F56ED -9.61%, #0F18EC 110.24%);
    border-radius: 12px;
    transition: .5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 15px;
}

.main-left__item-btn:hover {
    filter: none;
}

.btn-container {
    display: flex;
    justify-content: flex-end;
}

.main-left__item-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

#main-left__item-title3 {
    color: var(--font-color);
    margin-top: 30px;
}

#main-left__item3 {
    display: flex;
    justify-content: space-around;
    padding-top: 0;
}

#shadow1 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    max-width: 500px;
    width: 100%;
}

.footer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    padding-bottom: 30px;
    color: #808080;
    font-family: var(--main-font);
    font-size: 14px;
    font-weight: 300;
}

#shadow2 {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    max-width: 900px;
    width: 100%;
}

@media (max-width: 1650px) {
    .header {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 1420px) {
    .main {
        background-size: 94%;
        background-position: 125% 100%;
    }
}

.main-left__items-mobile {
    display: none;
}

@media (max-width: 1300px) {
    .main {
        background-size: 119%;
        background-position: 27px 100%;
    }

    .main-left__item-pc {
        display: none;
    }

    .main-left__items-pc {
        display: none;
    }

    .main-left__items-mobile {
        display: flex;
        gap: 30px 0;
    }

    .main-left__item {
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .main-left__item-title {
        text-align: center;
    }

    .main-left__item .btn-container {
        justify-content: center;
        margin-top: 25px;
    }

    .main-left__item {
        padding: 30px;
    }
}

@media (max-width: 1000px) {
    .main-right {
        display: none;
    }

    .main-top {
        padding-left: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-right: 20px;
    }

    .main-left {
        width: 100%;
    }

    .borderedDay::before {
        width: 100%;
    }

    .borderedNight::before {
        width: 100%;
    }

    .mobile-header {
        padding-left: 15px;
        padding-right: 15px;
    }

    .main {
        background: none;
    }
}

.border-mobile {
    display: none;
}

@media (max-width: 660px) {
    .main-dark {
        background: url(../img/howtoplay-main-mobile-dark.png);
        background-size: 100%;
        background-position: top center;
        background-repeat: no-repeat;
    }

    .main-dark #border-mobile-light {
        display: inline;
    }

    .main-dark #border-mobile-dark {
        display: none;
    }

    .main-light #border-mobile-light {
        display: none;
    }

    .main-light #border-mobile-dark {
        display: inline;
    }

    .main-light {
        background: url(../img/howtoplay-main-mobile-light.png);
        background-size: 100%;
        background-position: top center;
        background-repeat: no-repeat;
    }

    .main-left {
        margin-top: 228px;
    }


    .borderedDay::before {
        display: none;
    }

    .borderedNight::before {
        display: none;
    }

    .border-mobile {
        display: inline;
        position: absolute;
        top: 200px;
        width: 100%;
        padding: 0 16px;
    }
}

@media (max-width: 400px) {
    .footer {
        justify-content: center;
        text-align: center;

        width: 100%;
        margin: 0 auto;
        margin-top: 60px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer span {
        max-width: 241px;
    }

    .main-left__title {
        font-size: 28px;
    }

    #main-left__item3 .main-left__item-subtitle {
        margin-left: 0;
    }

    .main-left__item-subtitle {
        margin-right: 0;
        margin-left: 0;
        font-size: 14px;
    }

    .mobile-header {
        padding-left: 15px;
        padding-right: 15px;
    }

    .main-left__item-btn {
        padding: 0;
        width: 100%;
        min-height: 56px;
    }

    .main-left__item-title {
        font-size: 18px;
    }
}

@media (max-width: 500px) {
    .footer {
        justify-content: center;
        text-align: center;

        width: 100%;
        margin: 0 auto;
        margin-top: 60px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer span {
        max-width: 241px;
    }

}

/* swal2 */
.downloadlauncher-error {
    display: flex;
    flex-direction: column;
    gap: 30px 0;
    font-family: var(--main-font);
    text-align: left;
    background-color: var(--bg-color);
    color: var(--font-color);
    border-color: var(--bg-color);
    padding: 40px 30px;
    border-radius: 20px;
}
.swal2-popup {
    color: #fff;
    font-family: var(--main-font);
    background-color: #1d1d25;
    padding: min(50px, calc(6.36364px + 3.63636vw));
    border-radius: 20px;
}
.swal2-styled.swal2-confirm {
    background: linear-gradient(93.07deg, #4F56ED -9.61%, #0F18EC 110.24%);
    filter: drop-shadow(0px 6px 0px #0D129B);
}
.swal2-actions:not(.swal2-loading) .swal2-styled:hover {
    background: linear-gradient(93.07deg, #4F56ED -9.61%, #0F18EC 110.24%);
}
.swal2-styled.swal2-confirm:focus {
    box-shadow: none;
}