/* Elements */

* {
    margin: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html,
body {
    width: 100vw;
    min-height: 100vh;
    min-width: max-content;

    overflow-x: hidden;
}

body {
    display: grid;
    grid-template-rows: auto auto auto;
}

td,
th {
    min-width: 4rem;
    padding-inline: 1rem;
}

/* Components */

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.bold {
    font-weight: bold;
}

/* App */

.flex-fill {
    flex: 1;
}

.dialog-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 6;

    background-color: #36363680;
}

.dialog {
    display: flex;
    flex-direction: column;
    min-width: 100px;
    min-height: 100px;

    position: relative;
    z-index: 7;

    background-color: #ffffff;

    transition: scale 0.3s;
}

.dialog--120 {
    scale: 1.2;
}

.header {
    display: flex;

    width: 100vw;
    height: 100px;

    padding: 1rem;
    margin-bottom: 2rem;

    background: #ffffff;
    border-bottom: 1px solid #000;
}

.menu {
    display: flex;
    align-items: center;
}

.menu__list {
    display: flex;
    padding: 0;
}

.menu__item {
    display: flex;
    align-items: center;

    margin-right: 2rem;

    list-style: none;
}

.menu__link {
    font-size: 18px;
    color: #000000;
    text-decoration: none;
}

.menu__link:hover {
    text-decoration: underline;
}

.menu__link--active:hover {
    text-decoration: none;
}

.menu__bars-icon {
    display: none;
    cursor: pointer;

    position: absolute;
    right: 2rem;
    z-index: 4;
}

.logo {
    cursor: pointer;
}

.flags {
    padding: 1rem;
}

.flag-icon {
    margin-right: 4px;
    cursor: pointer;
}

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

    padding-inline: 4rem;
    padding-block: 1rem;

    max-width: 100vw;
}

.content-wrapper {
    display: flex;
    flex-direction: column;

    width: max-content;
}

.title {
    font-size: 32px;
    text-align: center;

    margin-top: 2rem;
    margin-bottom: 2rem;
}

.content__wrapper {
    display: flex;
    flex-direction: column;
}

.header-cell {
    text-align: center;
    vertical-align: middle;

    font-size: 16px;
    border: 2px solid gray;
}

.header-cell--borderless {
    border: none;
}

.header-cell--gray {
    background-color: #b0aaaa;
}

.header-cell--orange {
    background-color: #f2c774;
}

.header-cell--rose {
    background-color: #d86f94;
}

.header-cell--slate-gray {
    background-color: #788aa3;
}

.header-cell--blue {
    background-color: #92b6b1;
}

.header-cell--yellow {
    background-color: #e8dd85;
}

.header-cell--green {
    background-color: #b2c9ab;
}

.row {
    height: 2rem;
}

.cell {
    border: 2px solid gray;
    height: 2rem;

    font-size: 14px;
    text-align: center;

    min-width: max-content;
}

.cell-editable {
    padding: 0;
}

.cell__editable-area {
    width: 100%;
    height: 100%;

    max-width: 6rem;

    outline: none;
    border: none;

    font-size: 14px;
    text-align: center;
}

.cell--hidden {
    visibility: hidden;
    border: none;
}

.btn {
    background: none;
    outline: none;
    border: none;

    cursor: pointer;
}

.footer {
    display: flex;
    flex-direction: column;

    background: #285777;
    color: #ffffff;

    padding-top: 2rem;
    margin-top: 2rem;

    z-index: 5;
}

.footer__contact {
    display: flex;
    justify-content: center;

    flex: 1;
}

.footer__contact div {
    margin-inline: 1rem;
}

.footer__location {
    display: flex;
    align-items: center;
}

.footer__location-text__wrapper {
    display: flex;
    flex-direction: column;
}

.footer__mail {
    display: flex;
    align-items: center;
}

.footer__mail-text {
    margin-left: 0.5rem;
}

.footer__phone {
    display: flex;
    align-items: center;
}

.footer__phone-text {
    margin-left: 0.5rem;
}

.footer__whatsapp-text {
    margin-left: 0.5rem;
}

.footer__rights {
    display: flex;
    justify-content: space-around;
    align-items: center;

    margin-top: 2rem;
    padding-block: 1rem;

    border-top: thin solid #3c7397;
}

.footer__copyright-text {
    font-size: 16px;
}

.footer__privacy-policy__link {
    font-size: 16px;
    font-weight: 600;

    color: #ffffff;
    text-decoration: none;
}

@media screen and (max-width: 900px) {
    .menu__link {
        font-size: 14px;
    }

    .footer {
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    .menu__list {
        flex-direction: column;

        position: fixed;
        top: 0;
        bottom: 0;
        right: -200vw;

        width: 50vw;

        transition-property: right;
        transition-duration: 0.75s;
        transition-timing-function: ease-in-out;

        background-color: #6b92ac;

        padding: 6rem 1rem 4rem 1rem;
    }

    .menu__list--open {
        right: 0;
    }

    .menu__item {
        margin-right: 0;
        padding-block: 1rem;
        padding-left: 2rem;
    }

    .menu__item:hover,
    .menu__item:active,
    .menu__item:focus {
        background-color: #437799;
    }

    .menu__link {
        font-size: 16px;
        color: #ffffff;
    }

    .menu__bars-icon {
        display: block;

        transition-property: color;
        transition-duration: 0.5s;
        transition-timing-function: ease-in-out;
    }

    .menu__bars-icon--open {
        position: fixed;
        color: #ffffff;
    }

    .flags {
        padding-left: 2rem;
    }

    .title {
        font-size: 24px;
    }

    .footer {
        padding-top: 0;
    }

    .footer__contact,
    .footer__privacy-policy {
        display: none;
    }

    .footer__rights {
        margin-top: 0;
    }
}

@media screen and (max-width: 480px) {
    .menu__list {
        width: 55vw;
        right: -55vw;
    }

    .menu__list--open {
        right: 0;
    }

    .menu__link {
        font-size: 15px;
    }
}

@media screen and (max-width: 360px) {
    .menu__list {
        width: 60vw;
        right: -60vw;
    }

    .menu__list--open {
        right: 0;
    }

    .menu__link {
        font-size: 14px;
    }
}
