* {
    scrollbar-width: none;
}

.spacer {
    background: rgba(0, 125, 250, 0)
}

h2 {
    color: blueviolet
}

h3 {
    color: rgb(64, 182, 255);
    text-align: center;
}

p {
    margin: 2%;
}

#sec1-placeholder,
#security-ul-mobile-subtitle {
    display: none;
}

#security-ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
}




#content {
    position: absolute;
    left: calc(5vh - 24px);
    top: 0;
    height: 205vh;
    width: 100vw;
    gap: 8px;
    display: grid;
    justify-content: center;
    overflow-x: visible;
    overflow-y: visible;
    grid-template-rows: calc(55vh - 16px) calc(65vh - 32px) calc(55vh - 32px);
}


#pipes {
    position: absolute;
    pointer-events: none;
    top: 0;
    left: calc(50vw - 32px);
    transform: translateX(-50%);
    width: calc(75vw + 32px + 10vh);
    height: 205vh;
    overflow-x: visible;
    overflow-y: visible;
    display: flex;
    justify-content: flex-end;
}

.mobile-spare {
    display: none;
}




.big-pipe-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 8px;
    height: 70vh;
    background: white;
}

.little-pipe-right {
    height: 8px;
    width: 5vh;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    background: white;
}

.little-pipe-bottom {
    width: 8px;
    height: 5vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: white;
}

.big-pipe-right {
    height: 8px;
    width: calc(75vw - 24px);
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    background: white;
}

.little-pipe-left {
    height: 8px;
    width: 5vh;
    margin-left: calc(-5vh + 8px);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    background: white;
}

.big-pipe-left {
    height: 8px;
    width: calc(75vw - 32px);
    margin-left: calc(-75vw + 32px);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    background: white;
}

.pipe {
    box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.5);
}



#section1 {
    width: 60vw;
    height: calc(55vh - 16px);
    display: grid;
    grid-template-columns: 70fr 30fr;
}

#section2 {
    height: calc(65vh - 32px);
}

#section3 {
    height: calc(55vh - 32px);
}

#sec1-left {
    height: 50vh;
    display: grid;
    justify-content: left;
    grid-template-rows: 10fr 30fr 20fr 50fr;
}

.sec1-title {
    font-size: 7rem;
    color: rgb(168, 1, 168);
    text-shadow: 0 3px 3px rgba(255, 255, 255, 0.7);
}

#sec1-slogan {
    justify-self: right;
}

#sec1-right {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    height: 20vh;
    padding-top: 15vh;
    padding-bottom: 15vh;
    justify-content: right;
}

.nav-button {
    height: 4.5vh;
    width: 8vw;
    background: white;
    color: rgb(0, 0, 0);

    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;

    border: solid 5px;
    border-radius: 8px;
    border-image: linear-gradient(to bottom right,
            purple,
            blue) 1;
    transition: 0.4s;
    font-weight: 470;
}

.nav-button:hover {
    scale: 1.15;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5);
    font-weight: 470;
}


.info-block {
    height: 60%;
    margin: 10%;
    display: grid;
    justify-content: center;
    grid-template-rows: 1fr 4fr;
}

.info-block-title {
    font-size: 3rem;
    text-decoration: underline;
    text-align: center;
}

.info-block-subtitle {
    font-size: 1.7rem;
    text-decoration: underline;
    margin: 1vh;
}

@media (max-width: 1024px) {
    .info-block {
        width: 60vw;
    }
}

@media (min-width: 1024px) {
    .info-block {
        width: 30vw;
    }
}


#control-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

#privacy-info {
    display: grid;
    grid-template-rows: 1fr 2fr;
}

#info-block1 {
    grid-template-rows: 1fr 4.5fr 3fr;
}


#info-block2 {
    grid-template-rows: 1fr 4.5fr 3fr;
}

#section4 {
    height: calc(25vh - 32px);
    display: grid;
    justify-content: center;
    align-items: center;
}

.design-points {
    text-align: center;
}

#bottom-signup {
    scale: 1.35;
    box-shadow: 0 0 10px 2px goldenrod;
    transition: 0.8s;
    font-size: 0.95rem;
}

#bottom-signup:hover {
    scale: 1.475;
    font-size: 0.95rem;
    box-shadow: 0 0 12px 2.5px goldenrod;
}








footer {
    position: absolute;
    top: 195vh;
    left: 0;
    width: 100vw;

    display: grid;
    justify-content: center;
}

#footer-heading {
    text-align: center;
    margin-bottom: 8px;
}

.footer-link {
    text-align: center;
    font-size: 0.9rem;
}




@media (min-width: 1024px) {
    #pipe1 {
        height: 50vh;
    }

    #pipe7 {
        height: 55vh;
    }

    #pipe13 {
        height: 45vh;
    }

    #pipe19 {
        height: 15vh;
    }

    #pipe25 {
        height: 10vh;
    }
}


@media (max-width: 1024px) {
    #content {
        grid-template-rows: calc(35vh - 16px) calc(55vh - 32px) calc(60vh - 32px);
    }

    #section1 {
        height: calc(35vh - 16px);
    }

    #section2 {
        height: calc(55vh - 32px);
    }

    #section3 {
        height: calc(60vh - 32px);
    }

    #mobile-spare1 {
        height: calc(60vh - 32px);
    }

    #mobile-spare2 {
        height: calc(60vh - 32px);
    }

    #info-block1 {
        height: calc(35vh - 32px);
    }

    #sec1-left {
        height: calc(35vh - 16px);
        grid-template-rows: 10fr 15fr 10fr;
    }

    #sec1-right {
        height: calc(35vh - 16px);
        padding: 0;
        align-items: center;
    }

    .sec1-title {
        font-size: 3rem;
    }

    #pipe1 {
        height: 30vh;
    }

    #pipe7 {
        height: 45vh;
    }

    #pipe13 {
        height: 50vh;
    }

    #pipe19 {
        height: 50vh;
    }

    #pipe25 {
        height: 50vh;
    }

    #pipe31 {
        height: 15vh;
    }

    #pipe37 {
        height: 10vh;
    }

    footer {
        top: 295vh;
    }

    .nav-button {
        width: 15vw;
    }

    footer {
        top: 285vh;
    }

    #security-subtitle {
        display: block;
    }

    #security-mobile-subtitle {
        display: none;
    }

    #security-ul-mobile-subtitle {
        display: none;
    }
}

@media (max-width: 650px) {
    #content {
        grid-template-rows: calc(35vh - 16px) calc(80vh - 16px) calc(80vh - 16px) calc(70vh - 16px);
    }

    #section1 {
        position: absolute;
        width: 100vw;
        left: 0;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        height: calc(35vh - 16px);
        align-items: center;
    }

    #sec1-placeholder {
        display: grid;
        background: transparent;
        height: calc(35vh - 16px);
    }

    #sec1-left {
        grid-template-columns: 0.01fr 1fr 2fr 1fr;
        margin-top: 2vh;
        grid-template-rows: 1fr;
        height: 100%;
        align-self: center;
    }

    #sec1-logo {
        height: 70%;
    }

    .sec1-title {
        font-size: 2.5rem;
    }

    #sec1-right {
        margin-left: 10vw;
        margin-right: 15vw;
        width: 75vw;
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 1fr 1fr;
        height: 100%;

    }

    .nav-button {
        width: 15vw;
        margin: 2vw;
        height: 7.5vw;
        font-size: 1rem;
    }

    #pipe1 {
        height: calc(30vh);
    }

    #pipe7 {
        height: calc(75vh - 32px);
    }

    #pipe13 {
        height: calc(75vh - 32px);
    }

    #pipe19 {
        height: calc(65vh - 32px);
    }

    #pipes {
        left: calc(50vw - 32px);
        transform: translateX(-50%);
        width: calc(75vw + 32px + 10vh);
    }

    #section2 {
        height: calc(70vh - 32px);
    }

    #section3 {
        height: calc(85vh - 32px);
    }

    #info-block1 {
        height: calc(75vh - 32px);
    }

    #control-info {
        grid-template-rows: 1fr 1fr 1fr 1fr;
        grid-template-columns: 1fr;
    }

    #privacy-info {
        grid-template-columns: 1fr;
    }

    #info-block2 {
        height: calc(80vh - 32px);
    }

    footer {
        top: 345vh;
    }

    .mobile-spare,
    #mobile-spare1,
    #mobile-spare2 {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: left;
    }

    #footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    #security-ul-mobile-subtitle {
        display: block;
    }

    #security-ul {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        height: calc(30vh - 32px);
    }

    #security-subtitle {
        display: none;
    }

    #security-mobile-subtitle {
        display: block;
    }
}


@media (max-width: 400px) {
    #content {
        height: 300vh;
        grid-template-rows: calc(35vh - 16px) calc(85vh - 16px) calc(90vh - 16px) calc(80vh - 16px);
    }

    #section1 {
        position: absolute;
        width: 100vw;
        left: 0;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        height: calc(35vh - 16px);
        align-items: center;
    }

    #sec1-placeholder {
        display: grid;
        background: transparent;
        height: calc(35vh - 16px);
    }

    #sec1-left {
        grid-template-columns: 0.01fr 1fr 2fr 1fr;
        margin-top: 2vh;
        grid-template-rows: 1fr;
        height: 100%;
        align-self: center;
    }

    #sec1-logo {
        height: 70%;
    }

    .sec1-title {
        font-size: 2.5rem;
    }

    #sec1-right {
        margin-left: 10vw;
        margin-right: 15vw;
        width: 75vw;
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 1fr 1fr;
        height: 100%;

    }

    .nav-button {
        width: 15vw;
        margin: 2vw;
        height: 7.5vw;
        font-size: 1rem;
    }

    #pipe1 {
        height: calc(30vh);
    }

    #pipe7 {
        height: calc(75vh - 32px);
    }

    #pipe13 {
        height: calc(85vh - 32px);
    }

    #pipe19 {
        height: calc(75vh - 32px);
    }

    #pipes {
        left: calc(50vw - 32px);
        transform: translateX(-50%);
        width: calc(75vw + 32px + 10vh);
    }

    #section2 {
        height: calc(75vh - 32px);
    }

    #section3 {
        height: calc(85vh - 32px);
    }

    #info-block1 {
        height: calc(75vh - 32px);
    }

    #control-info {
        grid-template-rows: 1fr 1fr 1fr 1fr;
        grid-template-columns: 1fr;
    }

    #privacy-info {
        grid-template-columns: 1fr;
    }

    #info-block2 {
        height: calc(80vh - 32px);
    }

    #bottom-signup {
        height: 10vw;
        width: 20vw;
    }

    footer {
        top: 365vh;
    }

    .mobile-spare,
    #mobile-spare1,
    #mobile-spare2 {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: left;
    }

    #mobile-spare1 {
        height: calc(60vh - 32px);
    }

    #control-info {
        display: grid;
        grid-template-rows: 1fr 0.8fr 1fr 1fr;
    }

    #footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    #security-ul-div {
        height: 40vh;
    }

    @media (min-height: 600px) {
        #content {
            height: 300vh;
            grid-template-rows: calc(40vh - 16px) calc(120vh - 32px) calc(130vh - 32px) calc(110vh - 32px) calc(90vh - 32px);
        }

        .sec1-title {
            font-size: 2.3rem;
        }

        .nav-button {
            font-size: 1.1rem;
            width: 20vw;
            height: 10vw;
        }

        .info-block-title {
            font-size: 2.6rem;
        }

        #pipe1 {
            height: calc(35vh);
        }

        #pipe7 {
            height: calc(115vh - 32px);
        }

        #pipe13 {
            height: calc(125vh - 32px);
        }

        #pipe19 {
            height: calc(105vh - 32px);
        }

        #pipe25 {
            height: calc(85vh - 32px);
        }

        #pipes {
            left: calc(50vw - 32px);
            transform: translateX(-50%);
            width: calc(75vw + 32px + 10vh);
        }

        #security-info {
            display: grid;
            grid-template-rows: 2.8fr 1fr;
        }

        #security-ul-div {
            height: fit-content;
        }

        footer {
            top: 498vh;
        }
    }
}