/* Root */

@font-face {
    font-family: Avenir;
    src: url("/font/Avenir.otf") format("opentype");
}
@font-face {
    font-family: AvenirLight;
    src: url("/font/Avenir_Light.otf") format("opentype");
}
@font-face {
    font-family: AvenirBook;
    src: url("/font/Avenir_Book.otf") format("opentype");
}
@font-face {
    font-family: AvenirHeavy;
    src: url("/font/Avenir_Heavy.ttf") format("truetype");
}
body, html {
    margin: 0; 
    padding: 0;
    font-family: Avenir;
    line-height: 1.5;
    position: relative;
    overflow-x: hidden;
}

.flex { display: flex; align-items: center; width: 100%; }
.flex.flex-between { justify-content: space-between; }
.flex.flex-stretch { align-items: stretch; }
.btn { font-weight: bold; font-family: "AvenirHeavy"; border: 1px solid; padding: 15px 20px; border-radius: 15px; width: max-content; cursor: pointer; user-select: none; }



header { background-color: #0C2139; width: calc(100% - 10vw); height: 100px; padding: 0 5vw; color: white; } 
header .flex { height: 100%; }
header .head { width: 50%; }
header .head-1 img { height: 35px; }
header .head-1 .vertical-seperator { height: 35px; width: 1px; margin: auto 20px; background-color: white; }
header .head-1 h1 { font-family: "AvenirLight"; font-size: 1.4em; margin: 0; }
header .head-2 { justify-content: flex-end; }
header .head-2 b { font-family: "AvenirHeavy"; }

content { position: relative; }
content .content-1 { padding: 40px 7vw; width: calc(50% - 14vw); background-color: #F8F8F8; }
content .content-1 .content-header img { height: 30px; }
content .content-1 .content-header .vertical-seperator { height: 35px; width: 1px; margin: auto 20px; background-color: black; }
content .content-1 h2 { font-family: "AvenirHeavy"; margin-top: 30px; font-size: 1em; font-weight: normal; text-transform: uppercase; color: #3ACFC9;}
content .content-1 h3 { font-weight: bold; font-size: 1.7em; margin-top: 20px; font-family: "AvenirLight"; }
content .content-1 h3 b { font-family: "AvenirHeavy"; }
content .content-1 p { font-family: "AvenirBook"; font-weight: 700; margin-bottom: 25px; }
content .content-1 span { color: #0C2139; }
content .content-1 .btn { margin: 25px 0 0 3px; border-color: #0C2139; color: #0C2139; }
content .trial, content.demo .demo { display: none; }
content.demo .trial { display: block; }
content .content-2 { width: 50%; background-color: #3ACFC9; position: relative; }
content .content-2 img { position: absolute; height: 100%; }
content .popup { width: 350px; height: 400px; background-color: white; border: 2px solid #0C2139; border-radius: 30px; display: flex; flex-direction: column; padding: 20px; position: absolute; left: 45vw; top: 70px; justify-content: space-between; }
content .popup h2 { font-family: "AvenirHeavy"; font-size: 1em; margin: 0 auto; }
content .popup b { font-family: "AvenirLight";  font-weight: 600; font-size: 1em; display: block; text-align: center; }
content .popup input { padding: 15px; border: none; outline: none; box-sizing: content-box; background-color: #F7F7F7; width: calc(100% - 30px); border-radius: 50px;}
content .popup input::placeholder { opacity: 0.4; font-style: italic;}
content .popup .flex input { width: calc(50% - 40px); }
content .popup span { font-family: "AvenirHeavy"; font-size: 0.8em; text-align: center; }
content .popup .btn { margin: 0 auto; border-color: #3ACFC9; color: white; background-color: #3ACFC9; } 
content .number { position: absolute; right: 0; top: 0; width: auto; background-color: #0C2139; cursor: pointer; padding: 20px; color: white; font-family: "AvenirHeavy"; }
content .number img { height: 25px; margin-left: 10px; }

section { padding: 0 10vw; width: calc(100% - 20vw); margin-bottom: 100px; }
section h2 { color: #3ACFC9; text-align: center; margin: 60px auto 50px; width: 100%; }
section .section { display: flex; width: 50%; justify-content: center; }
section .section-1 h3 { margin-top: auto; color: black; text-align: left; font-family: "AvenirHeavy"; font-size: 1.3em; }
section .section-1 p { font-family: "AvenirBook"; }
section .section-1 ul { padding-left: 25px; }
section .section-1 li { list-style-type: "✔  "; }
section .section-2 { position: relative; }
section .section-2 iframe { height: 100%; width: 75%; position: absolute; top: 0; left: 50%; transform: translateX(-50%); }

footer { justify-content: center; width: 100%; padding: 30px 0;  background-color: #0C2139; color: white; }
footer img { height: 15px; }
footer .vertical-seperator { height: 15px; width: 1px; margin: auto 20px; background-color: white; }
footer h1 { font-family: "AvenirLight"; font-size: 0.8em; margin: 0; }

@media screen and (max-width: 740px) {
    header { height: 120px; }
    header > div { flex-direction: column; }
    header .head { width: 100%; justify-content: center; }

    content.flex { flex-direction: column; justify-content: center; }
    content .content-1 { padding: 80px 5vw 30px; width: calc(100% - 10vw); }
    content .content-1 .content-header { justify-content: center; }
    content .content-1 .btn { margin: 25px auto 0; }
    content .content-2 { display: none; }
    content .popup { position: relative; margin: auto; width: 80vw; left: auto; top: auto; }
    content .number { width: calc(100% - 40px); padding: 10px 20px 20px; justify-content: center; }

    section { padding: 0 5vw; width: calc(100% - 10vw); margin-bottom: 60px; }
    section > div.flex { flex-direction: column; }
    section .section { width: 100%; }

    section .section-2 iframe { height: 250px; width: 90vw; position: relative; top: auto; left: auto; transform: none; margin-top: 40px; }
}