/* GLOBAL STYLES */

* {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'ArianAmu';
    object-position: center center;
    object-fit: contain;
}

body {
    padding-top: 80px;
}

section {
    width: 100%;
    max-width: 1190px;
    position: relative;
    margin: 70px auto;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

:root {
    --catalysis-color: #1975b4;
    /* --cicatrix-color : #4d559c; */
    --cicatrix-color: #403d5c;
    --alopel-color: #28510a;
    --granex-color: #fb7601;
    --melanil-color: #088439;
    --retorna-color: #b62746;
    --glizigen-color: #38ac34;
    /* --p-color : #424242; */
    --p-color: #6a6a6a;
    --b-color: #3d3d3d;

}

.catalysis-color {
    color: var(--catalysis-color);
}

.cicatrix-color {
    color: var(--cicatrix-color);
}

.alopel-color {
    color: var(--alopel-color);
}

.granex-color {
    color: var(--granex-color);
}

.melanil-color {
    color: var(--melanil-color);
}

.retorna-color {
    color: var(--retorna-color);
}

.glizigen-color {
    color: var(--glizigen-color);
}

.p-color {
    color: var(--p-color);
}

.h1-title {
    text-align: center;
    font-size: 45px;
    margin: 65px 0;
    font-weight: 100;
}

a {
    text-decoration: none;
}

.display-none {
    display: none !important;
}

.overflow-hidden {
    overflow: hidden;
}

@font-face {
    font-family: 'ArianAmu';
    src: url(../fonts/arnamu.ttf) format("opentype");
}

/* HEADER */

header {
    position: fixed;
    width: 100vw;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    top: 0;
    z-index: 10;
    background-color: #fff;
}

#header-top {
    height: 80px;
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 24px 0 rgba(0, 0, 0, .12);
}

.header-logo {
    width: 203px;
    height: 45px;
    background-image: url("../assets/main/header_logo.svg");
}

.header-sections {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-sections ul {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-sections ul li {
    padding: 0 15px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
}

.header-sections ul li a {
    text-decoration: none;
    color: var(--c-blue);
    font-weight: 400;
    transition: color .3s ease;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.header-sections ul li:nth-of-type(1):hover {
    color: var(--cicatrix-color);
}

.header-sections ul li:nth-of-type(1).active {
    border-bottom: solid 3px var(--cicatrix-color);
}

.header-sections ul li:nth-of-type(2):hover {
    color: var(--alopel-color);
}

.header-sections ul li:nth-of-type(2).active {
    border-bottom: solid 3px var(--alopel-color);
}

.header-sections ul li:nth-of-type(3):hover {
    color: var(--granex-color);
}

.header-sections ul li:nth-of-type(3).active {
    border-bottom: solid 3px var(--granex-color);
}

.header-sections ul li:nth-of-type(4):hover {
    color: var(--melanil-color);
}

.header-sections ul li:nth-of-type(4).active {
    border-bottom: solid 3px var(--melanil-color);
}

.header-sections ul li:nth-of-type(5):hover {
    color: var(--retorna-color);
}

.header-sections ul li:nth-of-type(5).active {
    border-bottom: solid 3px var(--retorna-color);
}

.header-sections ul li:nth-of-type(6):hover {
    color: var(--glizigen-color);
}

.header-sections ul li:nth-of-type(6).active {
    border-bottom: solid 3px var(--glizigen-color);
}

.header-language {
    width: 85px;
    height: 100%;
    font-size: 20px;
    transition: .5s;
    position: relative;
}

.selected-language {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.selected-language:hover {
    cursor: pointer;
    color: var(--catalysis-color);
}

.header-language:hover .down-arrow {
    filter: invert(42%) sepia(24%) saturate(1557%) hue-rotate(161deg) brightness(90%) contrast(98%);
}

.down-arrow {
    position: relative;
    height: 14px;
    width: 14px;
    margin-left: 7px;
    transition: .5s ease;
    transform: rotate(0deg);
    color: var(--catalysis-color);
}

.selected-language-active .down-arrow {
    transform: rotate(180deg);
}

.language-list {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding-right: 21px;
    position: absolute;
    top: 80px;
    background-color: #ffff;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.35);
}

.language {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.language::before {
    content: "";
    width: 1px;
    height: 100%;
    background-color: black;
    position: absolute;
    left: 53px;
    pointer-events: none;
    touch-action: none;
}

.language a {
    color: black;
}

.language a:hover {
    color: var(--catalysis-color);
}

.burger {
    width: 40px;
    height: 40px;
    display: none;
}

.burger:hover {
    cursor: pointer;
}

.burger img {
    width: 100%;
    height: 100%;
}

.line {
    width: 100%;
    height: 1px;
    background-color: #cecece;
}


footer {
    width: 100%;
    height: 240px;
    background-color: #424242;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}


.footer-row {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.footer-logo {
    width: 203px;
    height: 45px;
    background-image: url("../assets/main/footer_logo.svg");
}


.footer-info {
    max-width: 380px;
    width: 58%;
    display: flex;
    flex-direction: column;
    color: #ffff;
}

.footer-info-block {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.footer-info-block img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.footer-line {
    width: 90%;
    height: 2px;
    background-color: #ffff;
    margin: 5px 0;
}

.p-footer {
    color: white;
}



@media (max-width: 1081px) {
    .header-sections {
        position: fixed;
        width: 100%;
        height: calc(100vh - 80px);
        top: 80px;
        left: 0px;
        transform: translateX(-100%);
        transition: .5s ease;
        background-color: white;
        box-shadow: 0 0px 15px 0 rgba(0, 0, 0, 0.1);
    }

    .header-sections.active {
        transform: translateX(0%);
    }

    .header-sections ul {
        width: 100%;
        flex-direction: column;
        justify-content: flex-start;
    }

    .header-sections ul li {
        height: initial;
        font-size: 30px;
        margin: 20px 0;
    }

    .burger {
        display: inline-block;
    }

    .header-sections ul li {
        padding: 10px 15px;
    }
    
}

@media (max-width: 681px) {
    .footer-row {
        flex-direction: column;
    }

    .footer-info {
        width: 90%;
    }
}


@media (max-width: 451px) {
    .header-logo {
        width: 140px;
    }
}