@import "./style.css";

#sec1 {
    height: 300%;
    justify-content: flex-start;
}
#sec1 .content.centered {
    height: 100% !important;
    justify-content: flex-start;
    height: fit-content;
}
#main-content {
    position: relative;
    top: 5%;
    height: 45%;
    justify-content: flex-start;
    text-align: center;
}
#main-content h1, #main-content p {
    height: fit-content;
}
.buttons-wrap.flex.row {
    flex-flow: row !important;
}
#slideshow-wrapper {
    position: relative;
    top: 0px;
    width: 100%;
    height: 300px;
    justify-content: flex-start;
}
#slideshow {
    width: 90%;
    height: 300px;
    padding: 5%;
}
.slideshow-view {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: none;
}
.slideshow-element {
    position: absolute;
    display: none;
    width: 70%;
    padding: 10%;
    background-color: rgb(241, 241, 241);
    border-radius: 10px;
}
.slideshow-element.selected {
    display: block;
}
.slideshow-view-image-wrapper {
    position: relative;
    width: 90%;
    height: fit-content;
    padding: 5%;
    border: 1px solid blue;
    border-radius: 20px;
}
.slideshow-view-heading {
    text-align: center;
}
.slideshow-image-wrapper {
    width: 50px;
}
.slideshow-view-image {
    left: 0px;
    width: 100% !important;
    aspect-ratio: 7/5;
}
.slideshow-heading.flex.row {
    width: 100% !important;
    height: 50px !important;
    flex-flow: row !important;
    justify-content: flex-start;
    align-items: center !important;
    color: black !important;
    text-align: left;
}
.slideshow-heading.flex.row h2.title {
    width: 50px;
    margin: 0;
    margin-left: 25px;
    text-align: left !important;
}
.slideshow-image {
    width: 100%;
    aspect-ratio: 7/5;
}
#domain-image {
    height: 25px;
}
.bottom {
    top: 0px;
    bottom: unset;
    width: 100%;
    height: 100% !important;
    position: relative;
}
.bottom .flex.row {
    width: 100%;
    height: 100%;
    flex-flow: column;
}
.bottom .rect {
    height: 20%;
    border-bottom: 1px solid lightgrey;
    justify-content: center;
    align-items: center;
}
#sec2 {
    height: 325%;
}
#sec2 .content.centered.flex.col {
    justify-content: flex-start;
}
.section .title {
    position: relative;
    top: 0px;
    height: 15%;
    text-align: center;
    margin: 0 auto;
}
#sec2 .flex.row {
    position: relative;
    top: 10%;
    width: 100%;
    height: 60%;
    justify-content: space-between;
    align-items: center;
}
#sec2 .flex.row .col {
    width: 75%;
    height: 20%;
    border-bottom: 1px solid lightgrey;
}
#sec2 .flex.row .col:nth-child(4) {
    border-bottom: none;
}
#fourth-col {
    border: none !important;
}
#sec2 .flex.row .col .subtitle {
    top: 0px;
    color: blue;
}
#sec2 .link-wrap {
    top: 15%;
}
#sec2 .link-wrap .link {
    width: 100%;
    height: 100%;
    line-height: 27.5px;
    padding: 25px !important;
}

#sec3 {
    height: 200%;
}
#sec3 #line-points {
    top: 20%;
    width: 100%;
    height: 80%;
    justify-content: space-between;
    align-items: center;
}
#sec3 .line-point {
    width: 200px;
    height: fit-content;
    background-color: white;
}
.line-point .subtitle {
    top: 0px;
}

#sec4 {
    height: 100%;
}
#sec4 .content.centered {
    justify-content: space-evenly;
}

#sec5 {
    height: 150%;
}
#sec5 .content.centered {
    justify-content: space-around;
}
#sec5 .title {
    height: fit-content;
    text-align: center;
}
#sec5 .text {
    text-align: center;
}
#sec5 .horizontal-line {
    width: 100%;
}

@media screen and (min-width: 568px) and (max-width: 853px) and (max-height: 393px) {
    #sec1, #sec2, #sec5 {
        height: 300%;
    }
}
@media screen and (min-width: 1100px) {
    #sec1 {
        position: relative;
        display: block;
        width: 100%;
        height: calc(100% - 75px) !important;
        z-index: unset !important;
        background-color: blue !important;
        z-index: 2;
    }
    .bottom.rect {
        background-color: lightgray;
    }
    #sec1 .content.centered {
        width: 80%;
        height: calc(100% - 75px) !important;
        z-index: 1;
    }
    #index-background {
        position: static;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
    }
    .cloud-wrapper {
        position: relative;
        height: 200px;
        width: 170px;
        height: fit-content;
        z-index: 0;
    }
    .background-cloud {
        position: relative;
        display: block;
        width: 150px;
    }
    #cloud1 {
        top: 0px;
        left: 0px;
    }
    #cloud1 .background-cloud {
        position: relative;
        animation: cloudHover1 2s infinite;
    }
    #cloud2 {
        top: 400px;
        left: 400px;
    }
    #cloud2 .background-cloud {
        animation: cloudHover2 2s infinite;
    }
    #cloud3 {
        top: 600px;
        left: 600px;
    }
    #cloud3 .background-cloud {
        animation: cloudHover1 2s infinite;
    }

    .clouds-wrapper {
        display: inline;
    }
    #sec1 .content.centered {
        position: relative;
        height: 80% !important;
        justify-content: space-between;
        align-items: center;
        color: white;
    }
    #sec1 #main-content {
        position: relative;
        width: 45%;
        height: 50%;
        justify-content: space-evenly;
    }
    #main-content .title, #main-content .textbox {
        width: fit-content !important;
        text-align: left !important;
        margin: 0;
    }
    .slideshow-view-image-wrapper {
        height: fit-content;
        border: none;
    }
    #slideshow-wrapper {
        width: fit-content;
        height: 450px;
    }
    #slideshow {
        width: 400px;
        height: 300px;
        padding: 25px;
        background-color: white;
        border-radius: 10px;
    }
    .dots-wrap {
        top: 25px;
        width: 200px;
        height: 50px !important;
        padding: 0 !important;
    }
    .slideshow-element {
        position: absolute !important;
        top: 0px;
        left: 0px;
        width:calc(100% - 100px);
        height: 100% !important;
        background-color: transparent !important;
        justify-content: space-between;
        display: none;
    }
    .slideshow-element.selected {
        display: block;
    }
    .slideshow-image-wrapper {
        width: 100px;
        height: auto;
    }
    
    #slideshow .textbox {
        color: black !important;
    }
    #slideshow .textbox, #slideshow a {
        position: relative;
        top: 50px;
    }
    #sec1 .bottom {
        top: 0px;
        width: 100% !important;
        height: 20% !important;
        background-color: lightgrey;
    }
    #sec1 .flex.row {
        width: 80%;
        height: 100%;
        flex-flow: row;
    }
    #sec1 .rect {
        width: 20%;
        height: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: white;
    }
    #sec1 .rect:hover {
        background-color: white;
        color: black;
        cursor: pointer;
    }
    #sec1 .buttons-wrap {
        height: fit-content !important;
    }
    #sec1 .buttons-wrap .link {
        color: white !important;
    }
    #sec1 .buttons-wrap .link:hover {
        color: lightgrey;
    }
    #sec1 .buttons-wrap .rounded-button {
        background-color: white;
        color: blue;
    }
    #sec2 {
        height: 100%;
    }
    #sec2 .content.centered.flex.col {
        justify-content: space-evenly;
        align-items: center;
    }
    #sec2 .title {
        height: fit-content;
    }

    #second-textbox {
        width: 700px;
    }
    #sec2 .textbox-wrapper {
        padding: 25px;
        border: 1px solid lightgrey;
        border-radius: 10px;
    }
    #sec2 .flex.row {
        width: 100%;
        height: fit-content;
        justify-content: space-between;
    }
    #sec2 .flex.row .col {
        height: 100% !important;
        width: 20%;
        height: fit-content;
        padding: 0 5%;
        border-right: 1px solid lightgrey;
        border-bottom: none;
    }
    #sec2 .flex.row .col .horizontal-line {
        width: 100%;
    }
    #sec2 .link-wrap {
        top: 0px;
    }
    .link-wrap .link {
        line-height: 25px !important;
        height: fit-content;
    }

    #sec3 {
        height: 50%;
    }

    #sec4 {
        height: 50%;
        justify-content: center;
    }
    #sec4 .content.centered {
        width: 90%;
        height: 75%;
        padding: 5%;
        justify-content: space-around;
        align-items: center;
        border: 1px solid lightgrey;
        border-radius: 10px;
    }
    #sec4 .title {
        margin-top: 0px
    }
    #sec5 .content.centered {
        justify-content: space-around;
    }
    #onboarding {
        justify-content: space-between;
    }

    #sec5 {
        height: 100%;
    }
    #sec5 .text {
        width: 30%;
    }
    #sec5 .textbox {
        width: 700px;
    }
}