﻿body {
    background: url(/img/home-bg2.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: bottom;
}

#contact-div {
    height: 100%;
    width: 100%;
    user-select: none;
    overflow-y: hidden;
    touch-action: none;
    overscroll-behavior-y: contain;
    position: relative;
    padding: 0;
}


#wholepage {
    background-color: rgba(0,0,0,0.6);
    color: white;
    display: block;
    width: calc(100% - 40px);
    height: 100%;
    position: fixed;
    overflow: hidden;
    position: absolute;
    margin: 20px;
}

section, .section {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: translate(0, 0);
    transition: transform 0.4s ease-out;
    margin: 0;
    padding: 0;
}


.page {
    flex: 1 0 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: start;
    align-items: start;
    transform: translate(0, 0);
    transition: transform 0.4s ease-out;
    padding: 30px;
    overflow-y: scroll;
    -ms-overflow-style: none; /* Internet Explorer and Edge */
    scrollbar-width: none; /* Firefox */
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.sectionButtonContainer {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 50%;
    right: 3vw;
    color: rgb(30, 30, 30);
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

    .sectionButtonContainer label, .page_selection label {
        display: inline-flex;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: rgb(255, 255, 255, 0.8);
        transition: transform 0.2s;
        margin: 12px 12px;
        padding: 0px;
        box-shadow: 0px 0px 8px rgba(0, 27, 160, 0.8);
        cursor: pointer;
    }

        .sectionButtonContainer label::after, .page_selection label::after {
            content: '';
            display: inline-flex;
            position: relative;
            top: -10px;
            left: -10px;
            padding: 12px;
        }

    .sectionButtonContainer input[type=radio]:checked + label::after, .page_selection input[type=radio]:checked + label::after {
        display: none;
    }


    .sectionButtonContainer input[type=radio]:checked + label, .page_selection input[type=radio]:checked + label {
        transform: scale(2.2);
        transition: transform 0.2s;
    }



.page_selection {
    position: absolute;
    display: flex;
    flex-direction: row;
    bottom: 2vh;
    left: 40%;
    color: rgb(30, 30, 30);
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    z-index: 999999;
}

.form-floating > label {
    color: black;
}

.page.form-page {
    justify-content: center;
    align-items: center;
}

    .page.form-page form {
        width: 100%;
    }
