* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mulish', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
    url('/files/img/Binarium-Interface.png') no-repeat center center / cover;
}

.redirect-button {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
}

input {
    font-family: 'Mulish', sans-serif;
}

.menu-logo-item a {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: .5rem;
    gap: 0.25rem;

    img {
        width: auto;
        height: 1.75rem;
    }

    p {
        font-size: 2rem;
        color: white;
        line-height: .75;
    }
}

.menu-nav-item a {
    color: black;
    background-color: white;
    border-radius: .5rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    margin: .5rem;
    font-weight: 700;
}

.content {
    flex: 1;
    min-width: 0;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.menu-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-block {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 2rem;
    gap: 1rem;

}

.hero-block-header {
    width: 60vw;

    h1 {
        font-weight: 1000;
        margin-bottom: 1rem;
    }
}

.advantages-cards {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.advantage-card {
    width: 20vw;
    text-align: center;
    border-radius: .55rem;
    border: 1px solid;
    background-color: #08111a;
}

.advantage-card-header {
    font-weight: 700;
    font-size: 1.25rem;
    background-color: white;
    color: black;
    padding: 1rem;
    border-radius: .5rem .5rem 0 0;
}

.advantage-card-content {
    padding: 1rem;
}

.info-with-image{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;

    img{
        width: 30vh;
    }
    .info-section{
        width: 40vw;
    }
}

.sidebar {
    display: flex;
    flex-direction: column;
    width: 20rem;
    height: auto;
    background-color: #08111a;
    padding: 1rem;
    position: fixed;
    right: 0;
    top: 20%;
    z-index: 1000;
    gap: 1rem;
    border-radius: 1rem;
    margin-right: 1rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.sidebar-header-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    button {
        padding: 0.5rem 1rem;
        border-radius: .5rem;
    }
}

footer {
    background-color: #1e1e1e;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100vw;
    padding: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
    .footer-navigation {
        margin-top: 1rem;
        gap: 0.5rem 0.5rem;
        width: 40vw;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;

        a {
            text-align: center;
            color: black;
            text-decoration: none;
            background-color: white;
            border-radius: .5rem;
            padding: 0.5rem 1rem;
            transition: ease-in-out .25s;
        }
        a:hover {
            transform: scale(1.025);
        }
    }

    .footer-info {
        color: white;
        text-align: center;
        flex-direction: column;
        margin-top: 2rem;
        display: flex;
        gap: .25rem;

        .micro {
            margin-top: .5rem;
            font-size: .8rem;
        }
    }
}

header {
    width: 100vw;
    background-color: #08111a;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.sidebar-input {
    input, select, button {
        width: 100%;
        padding: 0.75rem;
        border-radius: 0.25rem;
        border: none;
        font-weight: 700;
    }

    label {
        color: white;
        margin-bottom: 0.5rem;
        display: block;
    }
}

.info-section-base {
    width: 50vw;
    margin: 2rem 0;
    border-radius: 1rem;
    border: 1px solid #08111a;

    h2 {
        background-color: #08111a;
        border-radius: .95rem 0.95rem 0 0;
        color: white;
        padding: 1rem;
    }

    .base-pages-link {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
        list-style: none;
        line-height: 2;

        a {
            padding: .5rem;
            background-color: #1e1e1e;
            border-radius: .25rem;
            color: white;
            text-decoration: none;
        }
    }
}

.info-section {
    width: 50vw;
    margin: 1rem 0;
    border-radius: 1rem;
    border: 1px solid #08111a;

    h2 {
        background-color: #08111a;
        border-radius: .95rem .95rem 0 0;
        color: white;
        padding: 1rem;
        font-weight: 900;
    }

    p{
        margin: 1rem 2rem;
        color: black;
    }

    ul, ol, h3 {
        margin: 1rem 4rem;
    }
}

body::after {
    content: '';
    width: 20rem;
    flex-shrink: 0;
}

@media (max-width: 1770px) {

    .info-with-image{
        display: flex;
        flex-direction: column-reverse;
        width: 90vw !important;
        .info-section{
            width: 60vw;
        }
        &:nth-child(even){
            flex-direction: column;
        }
    }

    body {
        display: flex;
        flex-direction: column;
    }

    .sidebar {
        position: relative;
        width: 60vw;
        height: auto;
        border-radius: 1rem;
        margin: 1rem;
    }
    .advantages-cards {
        flex-direction: column;
        align-items: center;
    }
    .advantage-card {
        width: 50vw;
    }
}

@media (max-width: 768px) {

    .info-with-image{
        .info-section{
            width: 90vw;
        }
    }

    .advantage-card {
        width: 90vw;
    }

    .hero-block-header {
        width: 90vw;
    }

    .info-section-base {
        width: 90vw;
    }

    .footer-navigation {
        width: 90vw !important;
    }

    .info-section {
        width: 90vw;
    }

    .menu-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .sidebar {
        width: 90vw;
    }
}
