@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    font-family: "Mulish", sans-serif;
}

:root {
    --theme-text-color: #000000;
    --theme-text-desc-color: #3e3e3e;
    --theme-mbg-color: #f0f3f5;
    --theme-header-color: #f0f3f5cb;
    --theme-btn-color: #0f1d26;
    --theme-btn-text-color: #f6fdff;
    --theme-box-color: #fff;
    --theme-scroll-color: #d5dbdfd1;
    --theme-body-color: #fff;
    --theme-border-color: #d7dfe1;

    --main-color: #078ad6;
}

.dark-theme {
    --theme-text-color: #f8feff;
    --theme-text-desc-color: #858b90;
    --theme-mbg-color: #080c0e;
    --theme-header-color: #080c0ecb;
    --theme-btn-color: #f6fdff;
    --theme-btn-text-color: #181818;
    --theme-box-color: #101315;
    --theme-border-color: #1d2328;
    --theme-scroll-color: #232427;
    --theme-body-color: #080c0e;
}

body {
    transition: 0.3s ease-in-out;
    background: var(--theme-body-color);
}
header {
    width: 100%;
    top: 0;
    right: 0;
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: space-between;
    padding: 22px 10%;
    left: 0;
    transition: 0.3s ease-in-out;
    z-index: 5;
}

header.sticky {
    background: var(--theme-header-color);
    box-shadow: 0 0 20px #00000018;
    backdrop-filter: blur(8px);
}

header .theme {
    vertical-align: middle;
    font-size: 20px;
    margin-right: 10px;
    color: var(--theme-text-color);
    cursor: pointer;
}

header .logotype {
    font-size: 20px;
    font-weight: 700;
    color: var(--theme-text-color);
    transition: 0.3s ease-in-out;
}

@media (hover:hover) {
    header .logotype:hover {
        color: var(--main-color);
    }
}

@media (hover:none) {
    header .logotype:active {
        color: var(--main-color);
    }
}

header .links {
    display: flex;
    margin-left: 125px;
}

header .links a {
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-text-color);
    margin-right: 60px;
    display: inline-block;
    transition: 0.3s ease-in-out;
}

header .links li:last-child a {
    margin-right: 0;
}

@media (hover: hover) {
    header .links a:hover {
        color: var(--main-color);
    }
}

@media (hover: none) {
    header .links a:active {
        color: var(--main-color);
    }
}

header .reg {
    font-weight: 600;
    color: var(--theme-btn-text-color);
    background: var(--theme-btn-color);
    padding: 9px 18px;
    border-radius: 50px;
    transition: 0.30s ease-in-out;
}

@media (hover: hover) {
    header .reg:hover {
        background: var(--main-color);
    }
}

@media (hover: none) {
    header .reg:active {
        background: var(--main-color);
    }
}

header .login {
    font-weight: 600;
    color: var(--white-text-color);
    margin-right: 15px;
}

#main {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 120px 16%;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-in-out;
}

#main .licens-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#main .box {
    flex-direction: column;
    display: flex;
    max-height: 355px;
    height: 355px;
    margin: 15px;
    padding-bottom: 3px;
    background-image: url('/img/box.png');
    background-size: 100%;
    background-position: center;
    background-color: var(--theme-box-color);
    border-radius: 12px;
    border: 1px solid var(--theme-border-color);
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out, transform 0.5s ease-in-out, background-color 0.3s ease-in-out;
    filter: blur(8px); 
    width: 100%;
    flex-basis: calc(50% - 30px);
}
#main .box:hover::-webkit-scrollbar-thumb {
    visibility: visible;
}
#main .box.show {
    opacity: 1;
    filter: none;
    transform: scale(1);
}

#main .box .other-text {
    max-height: 400px;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    margin: 16px;
    margin-top: 5px;
    transition: 0.3s ease-in-out;
}

::-webkit-scrollbar {
    width: 4px;
}
  
::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background: var(--theme-scroll-color);
    border-radius: 20px;
    transition: 0.3s ease-in-out;
}

::-webkit-scrollbar-button {
    display: none;
}

#main .box .mained {
    font-size: 25px;
    font-weight: 700;
    margin: 15px 0 6px 17px;
    color: var(--theme-text-color);
    transition: 0.3s ease-in-out;
}

#main .box .mained i {
    font-size: 22px;
}

#main .box .other-text .text-bold {
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-text-color);
    transition: 0.3s ease-in-out;
}

#main .box .other-text .other-text-span {
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 140%;
    font-size: 17px;
    color: var(--theme-text-desc-color);
    transition: 0.3s ease-in-out;
}

@media (max-width: 768px) {
    header {
        padding: 22px 5%;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    header .links {
        margin-left: 0;
        margin-top: 10px;
        flex-direction: column;
        width: 100%;
    }

    header .links a {
        margin-right: 0;
        margin-bottom: 15px;
        font-size: 14px;
    }

    header .reg {
        padding: 7px 14px;
        font-size: 14px;
        position: absolute;
        top: 23px;
        right: 10px;
    }

    header .theme {
        position: absolute;
        top: 28px;
        right: 155px;
    }

    #main {
        padding: 80px 8%;
    }

    #main .box {
        max-height: auto;
        height: auto;
        flex-basis: 100%;
        margin: 10px 0;
    }

    #main .box .mained {
        font-size: 20px;
        margin: 10px 0;
        padding: 5%;
    }

    #main .box .other-text .text-bold {
        font-size: 14px;
    }

    #main .box .other-text .other-text-span {
        font-size: 15px;
    }
}