:root {
    --primary: #5e71e0;
    --primary-transp-1: rgba(94, 114, 224, 0.2);
    --primary-transp-2: rgba(94, 114, 224, 0.3);
}

* {
    box-sizing: border-box;
}

body,
html {
    font-family: 'Source Sans 3', sans-serif;
    margin: 0;
}

body {
    background-color: rgb(245, 245, 245);
    height: fit-content;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

.container {
    max-width: 1200px;
    margin: auto;
}

.main {
    margin: 80px auto;
}

.tutorial-page {
    margin: 40px auto;
}

.title>a {
    color: black;
    text-decoration: none;
}

.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 6px 1px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    width: 100%;
    height: 62px;
    z-index: 999;
    transition: all 0.35s ease-in-out;
}

.header.at-top,
.header:has(.header-nav.open) {
    background-color: white;
    box-shadow: none;
    height: 84px;
}

.header-main {
    display: flex;
    gap: 20px;
    height: 100%;
}

.header>.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-start {
    display: flex;
    gap: 14px;
    align-items: center;
    height: 100%;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-item {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: rgb(50, 50, 50);
    padding: 0 18px;
    border-radius: 22px;
    font-weight: 500;
    height: 44px;
    line-height: 44px;
    transition: all 0.25s;
}

.header-item>.material-symbols-outlined {
    font-size: 16px;
}

.header-item-menu {
    position: relative;
    cursor: default;
    user-select: none;
}

.header-item-menu>div:first-child {
    display: flex;
    align-items: center;
}

.header-item-menu-options-wrapper {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.header-item-menu-options {
    display: none;
    flex-direction: column;
    gap: 3px;
    margin-top: 60px;
    white-space: nowrap;
    background-color: white;
    border-radius: 22px;
    padding: 4px;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2);
    animation: headerMenuAnimation 0.15s ease-in-out;
}

.header-item-menu-options-wrapper:hover>.header-item-menu-options {
    display: flex;
    margin-top: 70px;
}

@keyframes headerMenuAnimation {
    0% {
        opacity: 0;
        margin-top: 60px;
    }

    100% {
        opacity: 1;
        margin-top: 70px;
    }
}

.header-home {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 15px;
    color: var(--primary);
    font-weight: 600;
}

.header-home>img {
    height: 26px;
}

.header-item:hover {
    background-color: rgba(50, 50, 50, 0.18);
}

.header-item--sel {
    color: var(--primary);
    background-color: var(--primary-transp-1);
}

.header-item--sel:hover {
    background-color: var(--primary-transp-2);
}

.hero {
    background-color: rgb(255, 255, 255);
    height: 200px;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    margin: auto;
    padding: 30px 0;
    height: 100%;
}

.hero-title>h1 {
    font-size: 50px;
    margin: 0 0 10px 0;
}

.hero-title>h2 {
    margin: 0;
    margin-right: 280px;
}

.hero-img {
    position: absolute;
    top: 34px;
    right: 50px;
    width: 200px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    border-radius: 4px;
    padding: 10px 15px;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.15);
    transition: all 0.25s;
}

.btn:hover {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.4);
}

.header-mob-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    border-radius: 50%;
    width: 44px;
    height: 44px;
}

.header-mob-menu-btn:hover {
    background-color: rgb(220, 220, 220);
}

.mob-menu-cover {
    width: 100%;
    height: 100lvh;
    background-color: black;
    opacity: 0.7;
    position: fixed;
    visibility: visible;
    z-index: 998;
    transition: all 0.3s ease-out;
}

.mob-menu-cover.hidden {
    opacity: 0;
    visibility: hidden;
    transition: all 0.1s ease-in;
}

.langs {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
}

.lang {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 22px;
    transition: all 0.25s;
    cursor: pointer;
}

.lang:hover {
    background-color: rgba(50, 50, 50, 0.18);
}

.lang--sel {
    color: var(--primary);
    background-color: var(--primary-transp-1);
}

.lang--sel:hover {
    background-color: var(--primary-transp-2);
}

.footer {
    background-color: white;
    padding: 40px 0;
}

.footer>.container {
    display: flex;
    justify-content: space-between;
}

.footer h4 {
    margin: 0;
}

.social-media {
    display: flex;
    list-style: outside none none;
    list-style-type: none;
    padding: 0;
    align-items: center;
    gap: 12px;
}

.social-media a {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.social-media svg {
    width: 100%;
    height: 100%;
}

.social-svg {
    fill: rgb(50, 50, 50);
}

.social-media a:hover {
    background-color: rgba(50, 50, 50, 0.18);
}

@media only screen and (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
}

@media only screen and (max-width: 992px) {
    .header-start {
        gap: 15px;
    }

    .header-nav {
        flex-direction: column;
        align-items: start;
        gap: 6px;
        width: 100%;
        position: fixed;
        left: 0;
        top: -264px;
        padding: 10px 20px;
        background-color: white;
        transition: all 0.2s ease-in;
    }

    .header-nav.open {
        top: 84px;
        transition: all 0.25s ease-out;
    }

    .header-main {
        flex-direction: column;
    }

    .header-mob-menu-btn {
        display: flex;
    }

    .hero-title>h1 {
        font-size: 40px;
    }

    .hero-title>h2 {
        font-size: 20px;
        margin: 0;
    }

    .hero-img {
        display: none;
    }

    .footer>.container {
        flex-direction: column;
    }
}