* {
    box-sizing: border-box;
}

body {

    background-color: white;
    font-size: 18px;

    font-family: Figtree, sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    margin: 0;


}


.banner {
    position: fixed;
    width: 100vw;
    top: -6em;
    margin: auto;
    background-color: black;
    align-content: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    height: 6em;
    overflow: hidden;
    transition: top ease-in .3s;
    z-index: 100;
    gap: 0.5em;

    h1 {
        font-weight: normal;
        font-size: 1em;
        margin: 0;
    }
}


.show {
    top: 0;
}

.logo {
    margin: 0;
    position: relative;
    width: 9em;
    align-items: center;
}

.logoImg {
    margin: 0;
    position: relative;
    width: 7em;
    align-items: center;
}


.intro {
    position: relative;
    width: 100vw;
    aspect-ratio: 1 / 1;
    background-color: #FF5747;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2em;
    gap: 1.5em;
    max-height:20em;


    h2 {
        font-weight: normal;
        font-size: 1em;
        margin: 0;
        max-width:28em;
    }

}

header {
    position: relative
}

main {
    position: relative;
    /*width: 100vw;*/
    display: flex;
    flex-direction: column;
    gap: 0;
    /*grid-template-columns: 1fr;  Mobile: 1 column */
    margin: auto;
    justify-content: center;
}

.pair {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.reverse{
    flex-wrap: wrap-reverse;
}


/* Desktop: 3 columns */
@media (min-width: 768px) {
    main {
        /*grid-template-columns: repeat(2, 1fr);*/
        flex-direction: row;
        flex-wrap: wrap;

        section:nth-child(2n+1) {
            clear: left;
            /* forces new row */
        }
    }
}

section {
    position: relative;


    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100vw;



    p {
        
        max-width: 16em;
        margin: 1em 0;
    }
}


@media (min-width: 768px) {
    section {
        max-width: 28em;
    }
}


.greenborder {
    margin: auto;
    align-items: center;
    width: 85%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    border-radius: 2em;
    border: 0.5em solid #c2e0ca;
    text-align: center;
    background-color: #eaf4ec;
    display: flex;
    flex-direction: column;
    justify-content: space-between;


    img {
        position: relative;
        width: 80%;
    }
}

.green {
    background-color: #c2e0ca;


}
.red{
    background-color: #FF5747;
}


.science {
    border-radius: 1.5em;
    border: 0.1em solid white;
    padding: 1em;
    box-sizing: content-box;
    display: flex;
    flex-direction: row;

    em {
        font-style: normal;
    }

    img {
        position: relative;
        width: 2.5em;
    }

}

.boom {
    background-image: url(images/SVG/boom.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 95%;
}

.appStore,
.playStore {
    width: 12em;
}

footer {
    width: 100vw
}

.availableAt {
        text-align: center;
    color: white;
    font-weight: bold;
    max-width:12em;
}

.footer {
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5em;
    align-items: center;
    padding: 2em;
    color: white;

    .credit {

        display: flex;
        flex-direction: column;
        justify-content: center;

        p {
            text-align: center
        }
    }

    .contacts {
        width: 100vw;
        padding: 0 1em;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap:1em;

        a {
            display: flex;
            color: white;
            align-items: center;
            gap: 0.5em;
        }

    }
}



.instagram:before {
    content: '';
    width: 2em;
    height: 2em;
    background-image: url(images/SVG/instagram.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;

}

.slideWrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%; /* 3 slides */
  transition: transform 0.5s ease;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn {
  position: absolute;
  background-image: url('/images/SVG/Arrow.svg');
  width: 2em;height:2.5em;
 border:none;
  top: calc(50% - 1.25em);
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
}

.prev {left:0 }
.next { transform: rotate(180deg); right:0}