@font-face {
    font-family: "AF Diwa";
    src: url("/static/fonts/AFDiwaOTExtraBold.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: "AF Diwa";
    src: url("/static/fonts/AFDiwaOTBold.otf") format("opentype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "AF Diwa";
    src: url("/static/fonts/AFDiwaOTRegular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

html, body {
    min-width: 500px;
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    position: absolute;
}

/* Header */

.header {
    position: absolute;
    top: 20px;
    width: 100%;
    height: 86px;
    background: #3aaa35;
    padding: 0 20px;
    box-sizing: border-box;
    border: 3px solid white;
    border-left: 0;
    border-right: 0;
    display: flex;
    justify-content: space-between;
}

.header {
    user-select: none;
}

.header .links {
    padding-top: 5px;
    height: 24px;
    display: flex;
    gap: 5px;
    font-family: "AF Diwa";
    font-weight: bold;
    color: white;
}

.header .logo {
    width: 200px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header .logo img {
    width: 100%;
}

.header .hamburger {
    width: 80px;
    height: 80px;
}

.header .hamburger img {
    width: 80%;
    padding: 10%;
}

.section-1, .section-2, .section-3, .footer {
    width: calc(100% - 40px);
    max-width: 875px;
    padding: 0 max(calc((100% - 875px) / 2), 20px);
}

/* Section 1 */

.section-1 {
    min-height: 500px;
    background: #383838;
    background-image: url("/static/assets/fender_circuit_board.png");
    background-size: 100vh;
    padding-top: 120px;
    padding-bottom: 90px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.section-1 .left,
.section-1 .right {
    flex: 1;
    min-width: 350px;
}

.section-1 .left {
    max-height: 100%;
    font-family: "AF Diwa";
    font-weight: 900;
    font-size: 85px;
    text-transform: uppercase;
    color: white;
    text-shadow: 3px 3px 5px black;
    position: relative;
}

.section-1 .left .arrow {
    position: absolute;
    width: 160px;
    left: 0;
    bottom: -120px;
    user-select: none;
}

.section-1 .left .demo-button {
    width: 60%;
    font-size: 32px;
    position: absolute;
    right: -15px;
    bottom: -70px;
    user-select: none;
}

.section-1 .right .video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: black;
    margin-top: 70px;
    margin-bottom: 10px;
}

.section-1 .right .video iframe {
    border: 0px #ffffff none;
}

.section-1 .right .video-caption {
    width: 100%;
    font-family: "AF Diwa";
    font-weight: bold;
    font-size: 16px;
    color: white;
    text-shadow: 1.5px 1.5px 2px black;
    text-align: center;
}

@media (max-width: 776px) {
    .section-1 .left {
        text-align: center;
        font-size: 54px;

    }
    
    .section-1 .left .demo-button {
        margin-top: 25px;
        font-size: 35px;
        position: inherit;
    }

    .section-1 .left .arrow {
        display: none;
        opacity: 0;
    }

    .section-1 .right .video {
        margin-top: 20px;
    }
}

/* Section 2 */

.section-2 {
    height: 230px;
    background: url("/static/assets/honeycomb.png");
    background-size: 15vh;
    border: 8px solid white;
    border-left: 0;
    border-right: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.section-2 * {
    user-select: none;
}

@media (max-width: 760px) {
    .section-2 {
        flex-direction: column;
        flex-wrap: unset;
        height: initial;
    }
}

.section-2 .left,
.section-2 .middle,
.section-2 .right {
    flex: 1;
    width: 380px;
    aspect-ratio: 515 / 390;
    min-width: 220px;
    margin: auto;
}

.section-2 .left img,
.section-2 .right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section-2 .middle .logo {
    height: 60%;
    aspect-ratio: 1;
    margin: auto;
}

.section-2 .middle .logo img {
    width: 100%;
}

.section-2 .middle .demo-button {
    height: 25%;
    margin-top: 10px;
    font-size: 32px;
}

/* Section 3 */

.section-3 {
    padding-top: 100px;
    padding-bottom: 200px;
    background: #383838;
    background-image: url("/static/assets/fender_circuit_board.png");
    background-size: 100vh;
}

.section-3 .title {
    width: 100%;
    margin-bottom: 100px;
    font-family: "AF Diwa";
    font-weight: bold;
    font-size: 36px;
    text-transform: uppercase;
    color: white;
    text-shadow: 1.5px 1.5px 2px black;
    text-align: center;
}

.section-3 .cards {
    width: 100%;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 100px;
}

.section-3 .cards > div {
    width: 200px;
    height: 300px;
    background: #3aaa35b2;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
}

.section-3 .cards .wide {
    width: 425px;
    background: none;
}

.section-3 .cards .wide img {
    width: 100%;
    user-select: none;
}

.section-3 .cards > div .icon {
    width: 60px;
    height: 60px;
    margin: auto;
    margin-bottom: 10px;
}

.section-3 .cards > div .icon img {
    width: 100%;
    user-select: none;
}

.section-3 .cards > div .name {
    width: 100%;
    margin-bottom: 10px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    font-family: Arial;
}

.section-3 .cards > div .description {
    width: 100%;
    color: #cde3bb;
    text-align: center;
    font-family: Arial;
}

.section-3 .demo-button {
    width: 50%;
    font-size: 54px;
    user-select: none;
}

@media (max-width: 776px) {
    .section-3 .demo-button {
        font-size: 32px;
    }
}

/* Footer */

.footer {
    background: #131315;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: "Source Sans Pro", Calibri, "Arial Unicode MS", "DejaVu Sans", FreeSans, "Lucida Sans Unicode", Arial;
    color: white;
    padding-top: 7px;
    padding-bottom: 7px;
}

.footer > a:first-child {
    color: #40cf38;
    font-weight: bold;
}

/* Shared */

.demo-button {
    aspect-ratio: 300 / 60;
    margin: auto;
    text-transform: uppercase;
    background: #3aaa35;
    box-shadow: 0px 0px 0px 10px #3aaa35;
    border: 2px solid white;
    border-radius: 1000px;
    font-family: "AF Diwa";
    font-weight: normal;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: white;
    text-shadow: 1.5px 1.5px 2px black;
}

.demo-button:hover {
    background: #40cf38;
    box-shadow: 0px 0px 0px 10px #40cf38;
}

a {
    text-decoration: none;
    color: inherit;
}