*
{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: garet;
}

html
{
    scroll-behavior: smooth;
}

@font-face 
{
    font-family: garet;
    src: url(../res/fonts/Garet-Book.otf);
}

@font-face 
{
    font-family: varela;
    src: url(../res/fonts/VarelaRound-Regular.ttf);
}

body
{
    font-family: garet;
    color: var(--main-text-color);
    display: flex;
    flex-direction: column;
}

a
{
    text-decoration: none;
    font-size: 2.25vh;
    color: white;
    font-weight: bold;
}
a.simple:hover
{
    text-decoration: underline;
}

h1,h2
{
    font-size: 4.5vh;
    font-family: varela;
}

p
{
    z-index: 1;
    font-size: 2.25vh;
}

strong
{
    color: var(--main-color);
}

:root 
{
    --main-color: #1F9CDE;
    --sync-color: #00b694;
    --main-text-color: #0E3151;
}


/* COMPONENTS */

.divider
{
    width: 100%;
    transform: rotate(180deg);
    top: -1%;
    position: relative;
    z-index: -1;
}
.divider.inverted
{
    width: 100%;
    transform: rotate(0deg);
    top: unset;
    /* bottom: -1%; */
}
.divider.mirror
{
    transform: rotate(180deg) scaleX(-1);
}

.button
{
    background-color: white;
    color: var(--main-color);
    padding: 2vh;
    font-weight: bolder;
    border-radius: 1vh;
    font-size: 2vh;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.button.min
{
    padding: 2vh;
    padding-top: 0.5vh;
    padding-bottom: 0.5vh;
    color: var(--main-color);
    font-size: 2vh;
}

.button:hover
{
    scale: 1.1;
    box-shadow: 0px 0px 0.4vh 0.4vh white;
}

.button:active
{
    background-color: #cecece;
    box-shadow: none;
    scale: 1;
}



/* SECTIONS */

.container
{
    /* scroll-snap-type: y mandatory; */
    overflow-y: scroll;
    height: 100vh;
}

.container 
{
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.container::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

.container section
{
    /* margin-top: 15vh; */
    display: flex;
    scroll-snap-align: center;
    padding-left: 5%;
    padding-right: 5%;
    gap: 5vh;
    
}



.container section .ilus
{
    height: 100%;
    width: 100%;
    /* max-width: 40vh; */
    object-fit: contain;
    border-radius: 2.5vh;
}

.container section .block
{
    /* width: 100%; */
    /* height: 100%; */
    padding: 5vh;
    display: flex;
    position: relative;
    justify-content: center;
    flex-direction: column;
    overflow: visible;
    flex: 1;
}
.container section.inverted
{
    flex-direction: row-reverse;
}

#header
{
    background-color: var(--main-color);
    height: 75vh;
    margin-top: 0;
    padding-top: 5vh;
    padding-left: 0%;
    padding-right: 0%;
    scroll-snap-align: start;
    gap: 0;
}

#header .block:nth-of-type(1)
{
    padding: 10%;
}


#header strong
{
    color: unset;
}

#header .ilus
{
    position: absolute;
    height: 140%;
    /* bottom: -25%; */
}

#header:first-child
{
    padding-left: 10%;
}

#header p,
#header h1
{
    color: white;
}

.container section .block
{
    gap: 3vh;
}

#why
{
    height: 40vh;
    scroll-snap-align: center;
    text-align: center;
    padding-left: 20%;
    padding-right: 20%;
    margin-bottom: 15vh;
}

#bento
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2vh;
}

#visual
{
    padding-left: 10%;
    padding-right: 10%;
    border-radius: 2vh;    
    margin-left: 2vh;
    margin-right: 2vh;

    
    /* flex: 1 1; */

}

#visual h2
{
    color: #b8bb57;
}

#design
{
    background-color: #e6ecf0;

}

#design h2
{
    color: var(--main-color);
}


#control
{
    border-radius: 2vh;
    margin-left: 2vh;
    margin-right: 2vh;


}

#control h2
{
    color: #f3a227
}

#limits h2
{
    color: var(--main-color);
}

#limits img
{
    border-radius: 100%;
}

#sync
{
    padding-top: 5vh;
    height: 80vh;
    margin-top: 0;
    background-color: var(--sync-color);
    color: white;
}

#sync img
{
    width: 80%;
    height: unset;
}

#download {
    background-color: var(--main-color);
    color: white;
    text-align: center;
    padding: 5vh 10%;
    display: flex;
    flex-direction: column;
    gap: 3vh;
}

#download h2 {
    font-size: 4vh;
    margin-bottom: 1vh;
}

#download p {
    font-size: 2.5vh;
    margin-bottom: 2vh;
}

.download-options 
{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 3vh;
    margin-top: 3vh;
}

.download-box {
    background-color: white;
    color: var(--main-text-color);
    border-radius: 1vh;
    padding: 3vh;
    flex: 1 1 45%;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.download-box h3 {
    font-size: 3vh;
    color: var(--main-color);
    margin-bottom: 1vh;
}

.download-box p {
    font-size: 2vh;
    margin-bottom: 2vh;
}

.download-box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2vh;
}

.download-box ul li {
    font-size: 1.8vh;
    margin-bottom: 0.5vh;
}

.download-box .button {
    display: inline-block;
    background-color: var(--main-color);
    color: white;
    padding: 1vh 2vh;
    border-radius: 1vh;
    font-size: 2vh;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s;
    align-self: flex-end;
}

.download-box .button:hover {
    transform: scale(1.05);
}

#legal
{
    height: 10vh;     
    padding-top: 4vh;
    padding-left: 8vh;
    margin-top: 0;   
}

.pro-background
{
    background: linear-gradient(to bottom right, #004d40, #0d47a1, #4a148c);
    animation: gradient-animation 10s linear infinite;
    background-size: 200% 200%;
    
}

#pro-version 
{
    height: unset;
    min-height: 100%;
    padding: 5vh 10%;
    text-align: center;
    color: white;
}

#pro-version .block:nth-of-type(1)
{
    text-align: start;
    align-items: start;
}

#pro-version .block:nth-of-type(1) strong
{
    text-align: start;
    font-weight: bolder;
    color: #7ec9ff;
}
#pro-version .block:nth-of-type(1) a
{
    width: unset;
}
/* 
#pro-version .block:nth-of-type(2) .ilus
{
    height: 30vh;
} */

@keyframes gradient-animation {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

#pro-version h2 
{
    font-size: 4vh;
}

.pro-container 
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2vh;
}

.pro-feature 
{
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1vh;
    /* padding: 2vh; */
    flex: 1 1 calc(30% - 2vh);
    text-align: left;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 2vh;
    flex-direction: column;
}

.pro-feature h3 
{
    font-size: 2.2vh;
    font-weight: bolder;
    margin-bottom: 0.6vh;
}

.pro-feature p {
    font-size: 1.6vh;
}

.pro-plan {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 1vh;
    padding: 3vh;
    margin-top: 3vh;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.pro-plan h3 {
    font-size: 3vh;
    margin-bottom: 1vh;
}

.pro-plan p {
    font-size: 2.5vh;
    margin-bottom: 2vh;
}

.pro-plan ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2vh;
}

.pro-plan ul li {
    font-size: 2vh;
    margin-bottom: 1vh;
}

.pro-plan .button {
    background-color: white;
    color: #1F9CDE;
    font-size: 2vh;
    padding: 1vh 2vh;
    border-radius: 1vh;
    text-transform: uppercase;
    font-weight: bold;
}

/* Sticky Header */
.header-icon
{
    width: 4vh;
}

.sticky-header .logo
{
    display: flex;
    align-items: center;
    gap: 1vh;
}

.sticky-header 
{
    position: sticky;
    top: 0;
    background-color: var(--main-color);
    color: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8vh 10%;
    z-index: 9999;
    font-size: 1.8;
}

.sticky-header nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    gap: 4vh;
}

.sticky-header nav ul li {
    margin: 0;
}

.sticky-header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 2vh;
    font-weight: bold;
    transition: color 0.2s;
}

.sticky-header nav ul li a:hover {
    color: #feb954;
}

/* Footer */
footer {
    background-color: var(--main-color);
    color: white;
    text-align: center;
    padding: 2vh 5%;
    font-size: 1.8vh;
}

footer a {
    color: #feb954;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* TOOLS */

.wave
{
    width: 120%;
    height: 100%;
    position: absolute;
    bottom: 0;
    background-color: var(--main-blue);
    display: flex;
    justify-content: center;
    overflow: hidden;
    animation: wave_magnitude 6s linear infinite;
    transition: all 0.3s;
}

.wave img
{
    position: absolute;
    bottom: 2.5vh;
    filter: invert(100%) sepia(0%) saturate(0%);
    z-index: 1;
}
.wave::before
{
    position: absolute;
    content: '';
    background-color: var(--main-blue);
    background-image: url('../res/svg/wave');
    background-size: cover;
    background-repeat: repeat-x;
    width: 100%;
    height: 2vh;
    top: 0;
    animation: wave 240000s linear infinite;
}
.wave::after
{
    position: absolute;
    content: '';
    background-color: var(--main-blue);
    background-image: url('../src/img/wave');
    background-size: cover;
    background-repeat: repeat-x;
    width: 100%;
    height: 2vh;
    top: 0;
    animation: wave 260000s linear infinite;
    opacity: 0.4;
}

@keyframes wave {
    from { background-position-x: 0; }
    to { background-position-x: 100000000%; }
    }

.align_end
{
    align-items: end;
}
.align_start
{
    align-items: start;
}
.align_center
{
    align-items: center;
}

.decoration
{
    position: absolute;
    height: 110%;
    display: none;
}

/* ANIMATIONS */


@keyframes floating_animation 
{
    0%
    {
        transform: translateY(0%);
    }

    50% 
    {
        transform: translateY(-5%);
    }

    100%
    {
        transform: translateY(0%);
    }
}

/* Mobile Adaptation */

@media (max-width: 800px) 
{
    .container section
    {
        flex-direction: column-reverse;
        text-align: center;
        gap: unset;
        padding-left: 0%;
        padding-right: 0%;
    }
    .container section.inverted
    {
        flex-direction: column-reverse;
    }

    h1,h2
    {
        font-size: 3.25vh;
    }

    #header
    {
        height: 90vh;
    }

    #header .ilus
    {
        position: absolute;
        bottom: -15%;
        left: unset;
        height: 140%;
        width: unset;
    }

    .container section .ilus
    {
        max-width: 40vh;
    }
    .decoration
    {
        position: absolute;
        width: 100%;
        height: 180%;
    }

    #header .block
    {
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    #header .block:nth-of-type(1)
    {
        padding: 5vh;
    }
    #header:first-child
    {
        padding-left: 0%;
    }

    #why
    {
        padding-left: 0;
        padding-right: 0;
    }
    #visual
    {
        padding-left: unset;
        padding-right: unset;
    }

    #sync img
    {
        width: 45%;
        height: unset;
    }

    .align_end
    {
        align-items: center;
    }
    .align_start
    {
        align-items: center;
    }
    .align_center
    {
        align-items: center;
    }

    #download {
        height: auto;
        padding: 5vh 5%;
    }

    .download-buttons {
        flex-direction: column;
        gap: 2vh;
    }

    .download-buttons a {
        width: 100%;
    }

    #pro-version .block:nth-of-type(1)
    {
        text-align: center;
        width: unset;
        align-items: center;
    }
    

    #download
    {
        padding-bottom: 10vh;
        gap: 0;
    }

    #download .block
    {
        justify-content: start;
    }

    #pro-version
    {
        flex-direction: column;
        margin-top: unset;
    }

    /* .pro-container 
    {
        flex-direction: column;
    } */

    /* .pro-feature {
        flex: 1 1 100%;
    } */

    .download-options 
    {
        flex-direction: column;
        gap: 2vh;
    }

    .download-box 
    {
        flex: 1 1 100%;
    }

    .sticky-header nav ul {
        display: none;
    }

    footer 
    {
        font-size: 1.6vh;
    }
}