@font-face {
    font-family: GillSansNova;
    /*font-weight: bold;*/
    src: url("/assets/fonts/Gill_Sans_Nova.otf") format("opentype");
}
@font-face {
    font-family: Montserrat;
    src: url('/assets/fonts/Montserrat/Montserrat-Thin.ttf') format('truetype');
    font-weight: 200;
    font-display: swap;
}
@font-face {
    font-family: Montserrat;
    src: url('/assets/fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: Montserrat;
    src: url('/assets/fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Montserrat;
    src: url('/assets/fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: Montserrat;
    src: url('/assets/fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}


body {
    color: #444444;
    font-weight: 400;
    font-family: Montserrat;
}
a {
    text-decoration: none;
}
h1 {
    line-height: 1;
    font-family: GillSansNova;
}
header {
    color: white;
}
.loft {
    border-bottom: 1px solid white;
}
.loft > .container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.logo {
    width: 280px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.logo > span {
    min-width: 96px;
    font-size: 36px;
    border-right: 1px solid white;
}
.logo > div {
    padding: 0 8px;
    font-size: 16px;
}
.logo span {
    font-family: GillSansNova;
}

.nav {
    display: flex;
    align-items: center;
}
.languages {
    padding: 0 8px;
    border-left: 1px solid white;
}
.languages > a {
    padding: 4px;
    color: white;
    display: block;
    font-size: 11px;
}
.languages > a.active {
    font-weight: bold;
}
.social {
    padding: 0 10px;
}
.social > a {
    display: inline-block;
}

.cover {
    color: white;
}


h1 {
    font-family: GillSansNova;
}
h2 {
    font-size: 20px;
}
h2::first-line {
    font-size: 26px;
}

main > article {
    box-sizing: border-box;
}

ol {
    counter-reset: list 0;
}
ol > li {
    margin: 16px 0;
    list-style-type: none;
}
ol > li::before {
    color: #888888;
    font-weight: bold;
    margin-right: 5px;
    content: counter(list) ". ";
    counter-increment: list;
}

.main-color {
    background-color: #0094fe;
}
.back-color {
    background-color: #f3f3f3;
}

.cloud > .container {
    min-height: 35vh;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
}
.cloud > .container > section {
    color: black;
    flex-grow: 1;
    display: flex;
    position: relative;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
}
.cloud > .container > section > span {
    transition: all 3s ease-in-out;
}

.cloud > .container > hr {
    border: none;
    left: -20%;
    width: 140%;
    height: 140%;
    position: absolute;
}

.container {
    margin: 0 auto;
    max-width: 960px;
}
.txt-container {
    margin: 0 auto;
    max-width: 780px;
}

.advantage {
    margin: 0 auto;
    position: relative;
    background-color: #FFFFFF88;
}
.advantage > img {
    border-radius: 50%;
    border: 5px solid #DDDDDD;
}


@media (max-width: 454px) {
    h1 {
        font-size: 24px;
    }
    h1::first-line {
        font-size: 30px;
    }
    .cover {
        padding-top: 20px;
        text-align: center;
    }
    .slider {
        width: 100%;
    }
    .advantage > img {
        z-index: -1;
        left: -10%;
        position: absolute;
    }
    .txt-container {
        padding: 10px;
    }
    .cloud {
        overflow: hidden;
    }

    .cloud > .container > hr:nth-child(1) {
        top: -20%;
        background-color: #0094fe;
        clip-path: polygon(10px 26px, calc(60% - 68px) 3px, 60% 80%, 10px 100%);
        transition: clip-path 2s ease-in;
    }
    .cloud > .container > hr:nth-child(2) {
        display: none;
    }
}
@media (min-width: 455px) and (max-width: 864px) {
    h1 {
        font-size: 38px;
    }
    h1::first-line {
        font-size: 32px;
    }
    .cover {
        padding-top: 20px;
        text-align: center;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 98%);
    }
    .slider {
        width: 100%;
    }
    .persons {
        min-height: 60vh;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }
    .advantage {
        max-width: 540px;
    }
    .advantage > img {
        z-index: -1;
        left: 0;
        position: absolute;
    }
    .txt-container {
        padding: 30px;
    }
    .cloud {
        overflow: hidden;
    }
    .cloud > .container > hr:nth-child(1) {
        top: -20%;
        background-color: #0094fe;
        clip-path: polygon(10px 26px, calc(60% - 68px) 3px, 60% 80%, 10px 100%);
        transition: clip-path 2s ease-in;
    }
    .cloud > .container > hr:nth-child(2) {
        display: none;
    }
}
@media (min-width: 865px) {
    h1 {
        font-size: 36px;
    }
    h1::first-line {
        font-size: 52px;
    }
    header {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
    }
    .cover {
        height: 80vh;

        display: flex;
        align-items: center;
        justify-content: space-evenly;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 calc(100% - 80px));
    }
    .persons {
        height: 80vh;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }
    .slider {
        width: 45vw;
    }
    .advantage {
        display: flex;
        align-items: center;
        justify-content:  flex-start;
    }
    .advantage > img {
        margin-left: -160px;
    }
    .txt-container {
        padding: 50px;
    }
    .cloud {
        min-height: 60vh;
    }
    .cloud > .container {
        width: 100%;
    }
    .cloud > .container > hr:nth-child(1) {
        top: -20%;
        background-color: #f5f5f5;
        clip-path: polygon(106px 26px, calc(60% - 68px) 3px, 60% 80%, 100px 100%);
        transition: clip-path 2s ease-in;
    }
    .cloud > .container > hr:nth-child(2) {
        top: -10%;
        background-color: #0094fe;
        clip-path: polygon(440px 120px, calc(90% - 61px) 0, 80% calc(100% - 25px), 400px 100%);
        transition: clip-path 2s ease-out;
    }
}
