:root {
    --color: #eb6068;
    --text-color: rgb(255, 235, 236);
    --skew: 30;
}

@font-face {
  font-family: Futura LT;
  src: url(/assets/fonts/FuturaLT.ttf);
}

body {
    margin: 0;
    font-family: "Futura LT";
    color: var(--text-color);
}

header {
    padding: 30px 0 5px 0;
}
.head-piece {
    display: flex;
    width: fit-content;
    margin: auto;
    cursor: pointer;
}
.head-piece > p {
    color: var(--color);    
    font-size: 30px;
    margin: 28px 5px 0;
}
.head-piece > img {
    height: 135px;
    width: 135px;
    margin: -20px;
}

.menu-button {
    background: none;
    border: none;
    fill: var(--color);
    position: absolute;
    right: 40px;
    top: 49px;
    display: flex;
}
@media (max-width: 900px) {
    .head-piece {
        margin-left: 20px;
    }
    .head-piece > img {
        position: absolute;
    }
    .head-piece > p:first-child {
        margin-left: 105px;
        margin-bottom: 30px;
    }
    .head-piece > p:last-child {

    }
}
@media (max-width: 700px) {
    .head-piece {
        
    }
    .head-piece > img {
        position: relative;
    }
    .head-piece > p:first-child {
        position: absolute;
        top: 10px;
    }
    .head-piece > p:last-child {
        position: absolute;
        left: 120px;
        top: 50px;
    }
}
@media (max-width: 525px) {
    .head-piece > p {
        display: none;
    }
}

.menu-button > img {
    width: 50px;
    height: 50px;   
}
nav {
    position: fixed;
    right: 0px;
    top: 0px;
    width: 320px;
    background-color: var(--color);
    z-index: 4;
    right: 0px;
    overflow: clip;
    margin-top: -385px;
    transition: .3s;
}
.open {
    margin-top: 0
}
.close {
    background: none;
    border: none;
    height: 40px;
    width: 40px;
    border-radius: 20px;
    transition: .15s;
    fill: var(--text-color);
    margin: 56px 20px 0px;
    float: right;
}
.close:hover {
    transform: rotate(90deg)
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    display:none;
    opacity: .5;
}
.overlay-show {
    z-index: 3;
    display: block;
}

.nav-container {
    margin: 90px 60px 60px 42px;
    overflow: hidden;
    z-index: 100;
    position: relative;
    display: grid;
}
.nav-container > a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 24px;
    line-height: 2;
    position: relative;
    padding-left: 18px;
    overflow: hidden;
    z-index: 100;
}
.nav-container > a::before {
    content: "";
    height: 10px;
    width: 10px;
    border-radius: 10px;
    background-color: var(--text-color);
    display: block;
    position: absolute;
    left: -12px;
    top: 20px;
    transition: .2s;
    overflow: hidden;
}
.nav-container > a:hover::before {
    left: 2px;
}
.nav-container > .selected {
    color: rgb(241, 187, 190);
}
.nav-container > .selected::before {
    left: 2px;
    background-color: rgb(241, 187, 190);
}

.lang-switcher {
    display: flex;
    color: var(--color);
    position: absolute;
    right: 127px;
    top: 53px;
    font-size: 20px;
}
.lang-switcher button {
    border: none;
    background: none;
    color: var(--color);
    font-size: 20px;
    cursor: pointer;
    height: 44px;
    width: 66px;
    padding: 0;
}
.lang-switcher p {
    margin: 10px 0;
}
.lang-switcher .active {
    font-weight: bold;
}


h1, .hide {
    display: none;
}
.content {
    position: relative;
    margin: 20px 0;
    overflow-x: hidden
}
.content > h2 {
    position: absolute;
    top: 0px;
    margin: 15px 30px;
    color: var(--text-color);
    z-index: 2;
    pointer-events: none;
    text-transform: uppercase;
    font-size: 28px;
}
.content > p {
    position: absolute;
    top: 0px;
    background-color: var(--color);
    opacity: .8;
    padding: 15px 50px;
    text-transform: uppercase;
    font-size: 28px;
    color: #00000000;
    margin: 0;
    pointer-events: none;
}
.heading-left > p {
    left: -20px;
    transform: skew(-30deg);
}
.heading-left > h2 {
    left: 0px;
}
.heading-right > p {
    right: -20px;
    transform: skew(30deg);
}
.heading-right > h2 {
    right: 0px;
}
.content > a,
.content > a > img {
    width: 100%;
}

.about {
    background-color: var(--color);
    color: var(--text-color);
    padding: 20px;
}
.about > div {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto auto auto 1fr;
    grid-column-gap: 2em;
    margin: 10px auto;
    width: calc(100% - 200px);
}
.about > div > h2 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
}
.about > div > img {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 222px;
}
.about > div > .text {
    margin: 10px 0;
}
.about > div > .text1 {
    grid-column: 2;
    grid-row: 2;
}
.about > div > .text2 {
    grid-column: 2;
    grid-row: 3;
    margin-bottom: 1px;
}
.about > div > .text3 {
    grid-column: 2;
    grid-row: 4;
    margin-top: 1px;
}
.about > div > a {
    grid-column: 2;
    grid-row: 5;
    cursor: pointer;
    width: fit-content;
}
.about > div > a > svg {
    width: 100px;
    height: auto;
}
@media (max-width: 1000px) {
    .about > div {
        width: calc(100% - 20px);
        margin: 10px;
    }
}
@media (max-width: 850px) {
    .about > div {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto auto 1fr;
    }
    .about > div > img {
        grid-column: 1;
        grid-row: 1 / -2;
    }
    .about > div > h2 {
        grid-column: 2;
        grid-row: 1;
    }
    .about > div > .text1 {
        grid-column: 2;
        grid-row: 2;
    }
    .about > div > .text2 {
        grid-column: 2;
        grid-row: 3;
    }
    .about > div > .text3 {
        grid-column: 2;
        grid-row: 4 / -1;
    }
    .about > div > a {
        grid-column: 1;
        grid-row: 5;
    }
}
@media (max-width: 600px) {
    .about > div {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto 1fr;
    }
    .about > div > img {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        max-width: 300px;
        margin: auto;
    }
    .about > div > h2 {
        grid-column: 1;
        grid-row: 2;
        margin: 40px 0 10px;
    }
    .about > div > .text1 {
        grid-column: 1;
        grid-row: 3;
    }
    .about > div > .text2 {
        grid-column: 1;
        grid-row: 4;
    }
    .about > div > .text3 {
        grid-column: 1;
        grid-row: 5;
    }
    .about > div > a {
        grid-column: 1;
        grid-row: 6;
    }
}

footer {
    display: flex;
    font-size: 14;
    position: relative;
}
footer > * {
    margin: 40px;
}
footer > p {
    color: var(--color);
}
footer > p:nth-child(2) {
    position: absolute;
    width: calc(100% - 40px);
    text-align: center;
}
footer > p > a {
    color: var(--color);
}
footer > a {
    margin-left: auto;
    color: var(--color);
    z-index: 2;
}
@media (max-width: 1000px) {
    footer {
        display: block;

    }
    footer > * {
        position: relative !important;
        margin: 10px 0;
        padding: 0;
        text-align: center !important;
        width: 100%;
        display: block;
    }
}