@font-face {
    font-family: Quicksand;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./Fonts/Quicksand-Light.woff2') format('woff2')
}

@font-face {
    font-family: Quicksand;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./Fonts/Quicksand-Regular.woff2') format('woff2')
}

@font-face {
    font-family: Quicksand;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./Fonts/Quicksand-Medium.woff2') format('woff2')
}

@font-face {
    font-family: Quicksand;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./Fonts/Quicksand-Bold.woff2') format('woff2')
}

* {
    box-sizing: border-box;
}

header > img {
    position: absolute;
    top: 2rem;
    z-index: 99;
    width: 40rem;
    max-width: 90%;
}

body, html {
    padding: 0;
    margin: 0;
    font-family: Quicksand, sans-serif !important;
    background-color: #f4f4f4;
    /* overflow: hidden; */
    height: 100%;
}

a {
    text-decoration: none;
    cursor: pointer;
}

header {
    height: 100vh;
    position: relative;
    min-height: 100vh;
    background-position: center;
    background-size: cover;
    /* display: flex; */
    /* align-items: center; */
}

header .container > img {
    position: absolute;
    top: 4rem;
    width: 90%;
    max-width: 50rem;
    left: 0;
    right: 0;
    margin: 0 auto;
}

header h1 {
    color: #fff;
    font-size: 2.66rem;
}

header h1 span {
    background-color: #000000a6;
    padding: 0.67rem 1.33rem;
    display: inline-table;
    white-space: break-spaces;
}

.container {
    /* max-width: 93.33rem; */
    /* margin: 0 auto; */
    /* padding: 0 1rem; */
    /* width: 100%; */
    position: relative;
    display: flex;
    align-items: center;
    /* bottom: 0; */
    /* left: 0; */
    /* right: 0; */
}

.buttons {
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin: 0 auto;
    margin-top: -11.8rem;
    width: 90%;
    background-color: #f4f4f4;
    flex-wrap: wrap;
    justify-content: center;
    border: 15px solid #f4f4f4;
    /* position: absolute; */
    left: 0;
    right: 0;
}

@media only screen and (min-width: 48em) {
    .buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 64em) {
    .buttons {
        grid-template-columns: repeat(6, 1fr);
    }

    .buttons > :nth-child(1),
    .buttons > :nth-child(2) {
        grid-column: span 3;
    }

    .buttons > :nth-child(3),
    .buttons > :nth-child(4),
    .buttons > :nth-child(5){
        grid-column: span 2;
    }
}

.buttons > :nth-child(1) {
    background-color: #d52d2d;
}
.buttons > :nth-child(1):hover {
    background-color: #ab2b2b;
}
.buttons > :nth-child(2) {
    background-color: #1d7d47;
}
.buttons > :nth-child(2):hover {
    background-color: #16743f;
}
.buttons > :nth-child(3) {
    background-color: #8ee1f6;
}
.buttons > :nth-child(3):hover {
    background-color: #a3ebf5;
}
.buttons > :nth-child(4) {
    background-color: #be49dd;
}
.buttons > :nth-child(4):hover {
    background-color: #9745ad;
}
.buttons > :nth-child(5) {
    background-color: #002379;
}
.buttons > :nth-child(5):hover {
    background-color: #001b5d;
}

.buttons a {
    padding: 3.33rem 0;
    font-size: 1.67rem;
    flex-basis: 25rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    transition: color .3s,background .3s,border .3s;
}

.buttons > :nth-child(3) {
    color: #000;
}

.buttons a img {
    height: 3rem;
}

.layer.layer-carousel .carousel {
    max-height: 90vh;
    position: absolute;
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity .6s
}

.layer.layer-carousel .layer-carousel-list>:first-child, .layer.layer-carousel .layer-carousel-texts>:first-child, .layer.layer-carousel h1.layer-carousel-text-active {
    opacity: 1;
}
.layer.layer-carousel .layer-carousel-body {
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    top: 0;
    width: 100%;
    max-height: 90vh;
}
.layer.layer-carousel .layer-carousel-content {
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
}
.layer-carousel-texts {
    position: relative;
    white-space: break-spaces;
    left: 0;
    margin-left: 1rem;
    width: 100%;
}
.layer.layer-carousel h1 {
    position: absolute;
    color: #fff;
    font-size: 2.66rem;
    padding: 0.67rem 1.33rem;
    max-width: 60rem;
    opacity: 0;
    transition: opacity .6s,transform .6s;
    top: 0;
    width: 100%;
    margin: 0;
}

.layer.layer-carousel .layer-carousel-arrow {
    color: #fff;
    font-size: 2.66rem;
    z-index: 99;
    display: block;
    padding-left: 1rem
}

.layer.layer-carousel .layer-carousel-arrow.layer-carousel-arrow-right {
    left: auto;
    padding-right: 1rem
}

header .logo.logo-left {
    left: 2rem;
}
header .logo.logo-center {
    left: 0;
    right: 0;
    margin: 0 auto;
}
header .logo.logo-right {
    right: 2rem;
}
