@font-face {
    font-family: "Blippo";
    src: url("../assets/Blippo_Blk_BT.ttf");
}

html {
    margin-top: 1vh;
    font-family: 'Raleway', sans-serif;
}

#logo {
    height: 10vh;
}

.navbar {
    margin-left: 3vw;
    margin-right: 3vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right_nav {
    float: right;
    display: flex;
}

.nav_button {
    display: flex;
    align-items: center;
    margin-right: 3vw;
}

#nav_icon {
    height: 5vh;
    margin-right: 0.5vw;
}

#nav_text {
    font-size: 16px;
    display: inline-block;
    position: relative;
}

#nav_text:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: #6089C1;
    transform-origin: bottom right;
    transition: transform 0.30s ease-out;
}

#nav_text:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

#nav_divider {
    height: 0.1vh;
    width: 90%;
    margin-top: 2vh;
    margin-left: auto;
    margin-right: auto;
    background-color: #1A1A1A;
    opacity: 15%;
}

a {
    text-decoration: none;
    color: black;
}

.website_body {
    height: fit-content;
    margin-left: 10vw;
    margin-right: 10vw;
    margin-top: 6vh;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.form_section {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    justify-content: space-between;
    margin-top: 6vh;
    margin-bottom: 10vh;
}

#form_heading {
    font-family: "Blippo";
    font-size: 64px;
    margin-left: auto;
    margin-right: auto;
}

#form_dots {
    width: 9vw;
}

#contact_form {
    height: 180vh;
    width: 62vw;
    background-color: white;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding-top: 3vh;
    padding-left: 2vw;
    padding-right: 2vw;
    position: relative;
}

#form_section_title {
    font-size: 32px;
    margin-top: 2vh;
    margin-bottom: 2vh;
}

@keyframes scale {
    to {
        transform: scale(1.1);
    }
}

.contact_form_button {
    height: 6vh;
    width: 8vw;
    background-color: #6089C1;
    border: none;
    position: absolute;
    bottom: -2.5vh;
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    color: white;
    left: 42%;
}

.contact_form_button:hover {
    transform-origin: bottom top;
    animation: scale 400ms ease-in-out forwards;
    background-color: #b4caca;
}

#contact_form label {
    font-size: 24px;
    margin-bottom: 0.5vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#contact_form input {
    width: 23vw;
    height: 4vh;
    opacity: 0.50;
    margin-bottom: 2vh;
    background: white;
    box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
    border-radius: 10px;
    border: 1px rgba(30, 30, 30, 0.25) solid
}

#contact_form #colourblind {
    width: 23vw;
    height: 4.4vh;
    opacity: 0.50;
    margin-bottom: 1vh;
    background: white;
    padding: 0.2vh;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
    border-radius: 10px;
    border: 1px rgba(30, 30, 30, 0.25) solid;
    margin-right: 0.7vw;
}

#contact_form #age {
    width: 14.3vw;
    height: 4.4vh;
    opacity: 0.50;
    margin-bottom: 1vh;
    background: white;
    padding: 0.2vh;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
    border-radius: 10px;
    border: 1px rgba(30, 30, 30, 0.25) solid
}

#contact_form #educational_background {
    width: 100%;
    height: 4.4vh;
    opacity: 0.50;
    margin-bottom: 1vh;
    background: white;
    padding: 0.2vh;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
    border-radius: 10px;
    border: 1px rgba(30, 30, 30, 0.25) solid;
    margin-right: 0.7vw;
}

#contact_form #option {
    width: 100%;
    height: 4.4vh;
    opacity: 0.50;
    margin-bottom: 1vh;
    background: white;
    padding: 0.2vh;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
    border-radius: 10px;
    border: 1px rgba(30, 30, 30, 0.25) solid;
    margin-right: 0.7vw;
}


#contact_form #yescolourblind {
    width: 37.6vw;
    height: 4.4vh;
    opacity: 0.50;
    margin-bottom: 1vh;
    background: white;
    padding: 0.2vh;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
    border-radius: 10px;
    border: 1px rgba(30, 30, 30, 0.25) solid;
}

#contact_form #report_card {
    width: 37.6vw;
    height: 3.7vh;
    opacity: 0.50;
    margin-bottom: 1vh;
    background: white;
    padding: 0.2vh;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
    border-radius: 10px;
    border: 1px rgba(30, 30, 30, 0.25) solid;
}

#contact_form option {
    color: black;
}

#contact_form #name {
    margin-right: 0.7vw;
}

#contact_form #surname {
    margin-right: 0.7vw;
}

#contact_form #full {
    width: 100%;
}

#contact_form #name {
    width: 23vw;
}

#contact_form #surname {
    width: 23vw;
}

#contact_form #age {
    width: 14.2vw;
}

#contact_form #message {
    width: 28vw;
    height: 20vh;
}

#contact_form #half_first {
    margin-right: 0.7vw;
    width: 30.5vw;
}

#contact_form #half_second {
    margin-right: 0.7vw;
    width: 30.5vw;
}

#info{
    display: flex; flex-direction: row;
}

#footer_divider {
    height: 0.1vh;
    width: 90%;
    margin-top: 2vh;
    margin-bottom: 4vh;
    margin-left: auto;
    margin-right: auto;
    background-color: #1A1A1A;
    opacity: 15%;
}

.footer_section {
    height: 25vh;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#footer_about {
    height: 100%;
    width: 17vw;
}

#footer_products {
    height: 100%;
    width: 17vw;
}

#footer_workshops {
    height: 100%;
    width: 17vw;
}

#footer_socials {
    height: 100%;
    width: 17vw;
}

#footer_heading {
    font-size: 24px;
    margin-bottom: 2vh;
}

#footer_subheading {
    font-size: 16px;
    line-height: 174%;
    text-align: justify;
}

#footer_list {
    font-size: 16px;
    line-height: 174%;
    list-style: none;
}

#footer_list ul {
    list-style: none;
    padding-left: 0;
}

#footer_list li {
    margin-bottom: 3vh;
}

#footer_list li:hover {
    font-weight: bold;
}

#uploadedImage {
    height: 100px;
    width: 100px;
}



/* TOGGLE STYLING */
.toggle {
    box-sizing: border-box;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
    justify-content: space-between
}

#other_subject_label {
    position: relative;
    left: -18.2vw !important;
    top: 0.7vh !important;
}


#other_subject {
    width: 36vw !important;
    height: 4.4vh;
    opacity: 0.50;
    margin-bottom: 1vh;
    background: white;
    padding: 0.2vh;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
    border-radius: 10px;
    border: 1px rgba(30, 30, 30, 0.25) solid;
    left: 27vw !important;
}

.toggle input {
    width: 0;
    height: 0;
    position: absolute;
    left: -9999px;
}

.toggle input+label {
    width: 19.2vw;
    height: 4.4vh;
    opacity: 0.50;
    margin-bottom: 1vh;
    background: white;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
    border-radius: 10px;
    border: 1px rgba(30, 30, 30, 0.25) solid;
}

.toggle input+label:first-of-type {
    border-radius: 10px;
    border-right: none;
}

.toggle input+label:last-of-type {
    border-radius: 10px;
    border-left: none;
}

.toggle input:checked+label {
    background-color: #6089C1;
    z-index: 1;
}

@media (max-width: 800px) {
    .toggle input+label {
        padding: 0.75rem 0.25rem;
        flex: 0 0 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* STYLING FOR THE STATUS HELPER TEXT FOR THE DEMO */
.status {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

.status span {
    font-weight: 600;
    color: #b6985a;
}

.status span:first-of-type {
    display: inline;
}

.status span:last-of-type {
    display: none;
}

@media (max-width: 800px) {
    .status span:first-of-type {
        display: none;
    }

    .status span:last-of-type {
        display: inline;
    }
}

















/* Media query for smaller screens */
@media screen and (max-width: 932px) {
    html {
        font-size: 14px;
        /* Adjust font size for better readability */
        font-family: 'Raleway', sans-serif;
        overflow-x: hidden;
    }

    #logo {
        height: 4vh;
    }

    .navbar {
        margin-left: 5vw;
        margin-right: 5vw;
        display: flex;
        align-items: center;
    }

    .right_nav {
        float: none;
        justify-content: center;
        align-items: center;
    }

    .nav_button {
        margin-right: 3vw;
    }

    #nav_icon {
        height: 2vh;
    }

    #nav_text {
        font-size: 14px;
    }

    #profile {
        height: 60vh;
        animation: fadeIn 2s;
    }

    @keyframes fadeIn {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    .website_body {
        margin-left: 5vw;
        margin-right: 5vw;
        margin-top: 2vh;
    }

    .form_section {
        min-height: calc(100% - 5vh); /* Adjust the value as needed */
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    justify-content: space-between;
    margin-top: 3vh;
    margin-bottom: 5vh;
    position: relative;
    overflow-y: auto;
    background-color: white;
        box-shadow: 10px -10px 10px rgba(0, 0, 0, 0.05);
    }
    
    #form_heading {
        font-family: "Blippo";
        font-size: 40px;
        margin-left: auto;
        margin-right: auto;
    }
    
    #form_dots {
        display: none;
    }

    

    #info{
        display: flex;
        flex-direction: column;
    }
    
    #contact_form {
        min-height: fit-content + 5vh;
        height: 225vh;
        width: 100%;
        background-color: white;
        display: flex;
        flex-direction: column;
        padding-top: 3vh;
        padding-left: 2vw;
        padding-right: 2vw;
        position: relative;
        overflow-y: auto;
    }
    
    #form_section_title {
        font-size: 30px;
        margin-top: 2vh;
        margin-bottom: 2vh;
    }
    
    @keyframes scale {
        to {
            transform: scale(1.1);
        }
    }
    
    .contact_form_button {
        height: 8vh;
        width: 25vw;
        background-color: #6089C1;
        position: relative;
        border: none; /* Adjust the distance from the bottom as needed */
        font-family: 'Raleway', sans-serif;
        font-size: 24px;
        color: white;
        left: 50%; /* Position the button horizontally in the center */
        transform: translateX(-50%);
        padding: 5px;
    }
    
    .contact_form_button:hover {
        transform-origin: bottom top;
        animation: scale 400ms ease-in-out forwards;
        background-color: #b4caca;
    }
    
    #contact_form label {
        font-size: 24px;
        margin-bottom: 0.5vh;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    
    #contact_form input {
        width: 23vw;
        height: 4vh;
        opacity: 0.50;
        margin-bottom: 2vh;
        background: white;
        box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
        border-radius: 10px;
        border: 1px rgba(30, 30, 30, 0.25) solid
    }
    
    #contact_form #colourblind {
        width: 100%;
        height: 4.4vh;
        opacity: 0.50;
        margin-bottom: 1vh;
        background: white;
        padding: 0.2vh;
        padding-left: 0.5vw;
        padding-right: 0.5vw;
        box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
        border-radius: 10px;
        border: 1px rgba(30, 30, 30, 0.25) solid;
        margin-right: 0.7vw;
    }
    
    #contact_form #age {
        width: 100%;
        height: 4.4vh;
        opacity: 0.50;
        margin-bottom: 1vh;
        background: white;
        padding: 0.2vh;
        padding-left: 0.5vw;
        padding-right: 0.5vw;
        box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
        border-radius: 10px;
        border: 1px rgba(30, 30, 30, 0.25) solid
    }
    
    #contact_form #educational_background {
        width: 100%;
        height: 4.4vh;
        opacity: 0.50;
        margin-bottom: 1vh;
        background: white;
        padding: 0.2vh;
        padding-left: 0.5vw;
        padding-right: 0.5vw;
        box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
        border-radius: 10px;
        border: 1px rgba(30, 30, 30, 0.25) solid;
        margin-right: 0.7vw;
    }
    
    #contact_form #option {
        width: 100%;
        height: 4.4vh;
        opacity: 0.50;
        margin-bottom: 1vh;
        background: white;
        padding: 0.2vh;
        padding-left: 0.5vw;
        padding-right: 0.5vw;
        box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
        border-radius: 10px;
        border: 1px rgba(30, 30, 30, 0.25) solid;
        margin-right: 0.7vw;
    }
    
    
    #contact_form #yescolourblind {
        width: 98%;
        height: 4.4vh;
        opacity: 0.50;
        margin-bottom: 1vh;
        background: white;
        padding: 0.2vh;
        padding-left: 0.5vw;
        padding-right: 0.5vw;
        box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
        border-radius: 10px;
        border: 1px rgba(30, 30, 30, 0.25) solid;
    }
    
    #contact_form #report_card {
        width: 98%;
        height: 3.7vh;
        opacity: 0.50;
        margin-bottom: 1vh;
        background: white;
        padding: 0.2vh;
        padding-left: 0.5vw;
        padding-right: 0.5vw;
        box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
        border-radius: 10px;
        border: 1px rgba(30, 30, 30, 0.25) solid;
    }
    
    #contact_form option {
        color: black;
    }
    
    #contact_form #name {
        margin-right: 0.7vw;
    }

    #contact_form #name {
        width: 98%;
    }
    
    #contact_form #surname {
        margin-right: 0.7vw;
        width: 98%;
    }
    
    #contact_form #full {
        width: 98%;
    }
    
    #contact_form #message {
        width: 28vw;
        height: 20vh;
    }
    
    #contact_form #half_first {
        margin-right: 0.7vw;
        width: 98%;
    }
    
    #contact_form #half_second {
        margin-right: 0.7vw;
        width: 98%;
    }

    #footer_divider {
        margin-top: 5vh;
        margin-bottom: 3vh;
    }

    .footer_section {
        height: 25vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 2vh;
    }

    #footer_about {
        height: 100%;
        width: 100%;
        margin-bottom: 3vh;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        text-align: justify;
    }

    #footer_products {
        height: 100%;
        width: 100%;
        margin-bottom: 3vh;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        text-align: justify;
    }

    #footer_list {
        font-size: 16px;
        line-height: 174%;
        list-style: none;
    }

    #footer_list ul {
        text-align: justify;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
    }
    
    #footer_list li {
        text-align: justify;
    }

    #footer_workshops {
        height: 100%;
        width: 100%;
        margin-bottom: 3vh;
    }

    #footer_socials {
        height: 100%;
        width: 100%;
        margin-bottom: 3vh;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        text-align: justify;
    }

    .toggle {
        box-sizing: border-box;
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-start;
        align-items: stretch;
        justify-content: space-between;
        flex-direction: column;
    }
    
    #other_subject_label {
        position: relative;
        left: 1vw !important;
        top: 0.7vh !important;
    }

    #other_subject {
        width: 62vw !important;
        height: 4.4vh;
        opacity: 0.50;
        margin-top: -3.5vh;
        margin-bottom: 1vh;
        background: white;
        padding: 0.2vh;
        padding-left: 0.5vw;
        padding-right: 0.5vw;
        box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
        border-radius: 10px;
        border: 1px rgba(30, 30, 30, 0.25) solid;
        left: 20vw !important;
    }
    

    .toggle input+label {
        width: 98%;
        height: 4.4vh;
        opacity: 0.50;
        margin-bottom: 1vh;
        background: white;
        padding-left: 0.5vw;
        padding-right: 0.5vw;
        box-shadow: 2px 2px 6px rgba(30, 30, 30, 0.12) inset;
        border-radius: 10px;
        border: 1px rgba(30, 30, 30, 0.25) solid;
    }
}

/* Media query for screens that are 375px wide */
 /* @media screen and (max-width: 375px) { */
    /* .form_section {
        height: 305vh; /* Adjust the height as needed */
     /* }  */ */

    /* #contact_form {
        height: 305vh; /* Adjust the height as needed */
    /* } */ */
 /* } */ */

/* Media query for screens that are 414px wide */
@media screen and (max-width: 414px) {
    #contact_form {
        height: 230vh; /* Adjust the height as needed */
    }
}


@media screen and (max-width: 400px) {
    #contact_form {
        height: 305vh; /* Adjust the height as needed */
    }
}

/* Media query for screens that are 390px wide */
@media screen and (max-width: 390px) {
    #contact_form {
        height: 305vh; /* Adjust the height as needed */
    }
} 