@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Roboto", sans-serif;
}

a {
    color: black;
    text-decoration: none;
    user-select: none;
}

h3 {
    font-weight: 300;
    font-size: large;
}

h4 {
    font-size: x-small;
    font-weight: 200;
}
.contentwrapper {
    animation: appear 0.5s ease forwards;
}

.contentwrapper .workpage {
    min-height: 100vh;
    height: fit-content;
}

.contentwrapper h1 {
    font-weight: 300;
    text-shadow: 1px 1px 1px rgb(201, 200, 200);
}

.contentwrapper h2 {
    font-weight: 300;
    font-size: x-large;
}

.contentwrapper p {
    font-weight: 200;
    font-size: larger;
}

.institution {
    font-weight: 500;
    color: rgb(88, 87, 87);
    font-size: smaller;
}

.navbarwrapper {
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
}

.navbarcontainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-weight: 300;
    border-bottom: 0.5px solid rgb(0, 0, 0);
}

.navbar {
    display: flex;
    justify-content: end;
    gap: 20px;
    padding: 30px;
}

.navbar p {
    transition: scale 0.3s ease;
}

.navbar p:hover {
    scale: 1.05;
}

.navbutton {
    border-bottom: 0px solid black;
}

.active {
    border-bottom: 1px solid black;
}

.sysmessage {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 90vh;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.contentwrapper .aboutimg img {
    width: auto;
    max-height: 100vh;
}

.aboutimg {
    height: 100%;
}

.aboutcontent {
    display: flex;
    height: fit-content;
}

.abouttext {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: justify;
    text-justify: distribute;
    padding-inline: 3em;
}

.aboutcontent .para {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aboutcontent .para * {
    padding-bottom: 0.5em;
}

@media (width < 1020px) and (orientation:portrait) {

    .aboutimg {
        width: 100%;
        height: auto;
        margin-bottom: 2vh;
    }
    .contentwrapper .aboutimg img {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .aboutcontent {
        flex-direction: column;
    }

    .abouttext {
        padding-inline: 0;
        margin: 1em 2em 1em 2em;
        gap: 1em;
    }
}

.formwrapper {
    display: flex;
    justify-content: center;
}

.nellform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vh;
    padding-top: 5vh;
    font-weight: 200;
}

.nellform * {
    font-family: "Robato", sans-serif
} 

.block {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    max-width: 38vw;
}

.nameemailblock {
    display: flex;
    gap: 1vw; 
    flex-wrap: wrap;
    width: 100%;
}

.ideasblock {
    max-width: 100%;
}

.placementblock {
    max-width: 100%;
}

.nellform input[type=text], input[type=email], textarea {
    height: 3em;
    border: 0.5px solid black;
    border-radius: 5px;
    padding-left: 0.5rem;
}

.nellform textarea {
    width: 36vw;
    height: 6rem;
    resize: vertical;
}

.nellform input[type=date] {
    height: 1.5em;
}

.nellform input[type=submit] {
    padding: 10px;
}

.nameblock {
    flex-grow: 1;
}

.emailblock {
    flex-grow: 6;
    
}

.skinblock input {
    width: 36vw;
}

.daysblock, .sizeblock input {
    width: 36vw;
}

.required::after {
    content:"(required)";
    color: grey;
    font-size: small;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    height: 5vh;
    padding: 3rem;
}

.socials {
    display: flex;
    gap: 2em;
    font-weight: 200;
    text-decoration: underline;
    text-decoration-thickness: 5%;
}

.placement {
    display: flex;
    flex-direction: column;
    gap: 1vh;
}

.locationsection {
    display: flex;
    gap: 1vw;
}

.locoptions {
    display: flex;
    flex-direction: column;
}

.otherloc {
    width: 15vw;
    border: none;
    border-bottom: 0.5px solid black;
    outline: none;
}

.subbutton {
    align-self: center;
}

@media (width < 800px) and (orientation: portrait) {

    .nellform {
        width: 80vw;
    }
    .block {
        max-width: 80vw;
    }
    .nellform input[type=text], input[type=email], textarea {
        height: 3em;
        border: 0.5px solid black;
        border-radius: 5px;
        padding-left: 0.5rem;
        width: 80vw;
    }
    .nellform textarea {
        width: 80vw;
    }

    .daysblock {
        width: 80vw;
    }
}

.gallerywrapper {
    display: flex;
    flex-direction: column;
    gap: 1vh;
    height: fit-content;
}

.gallerywrapper h1 {
    align-self: center;
}

.gallery {
    display: flex;
    width: 100vw;
    height: max-content;
    scrollbar-width: none;
    justify-content: center;
    animation: appear 0.5s ease forwards;
    opacity: 0;
}

@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 100;
    }
}

.colswrapper {
    display: flex;
    margin: 5vh 0 0 0;
    height: fit-content;
    flex-wrap: wrap;
    justify-content: center;
}

.galleft {
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.leftbottom {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30%;
}

.gallerytext h3 {
    font-weight: 100;
}

.imgwrapper {
    height: 15vh;
    width: 15vh;
    overflow: hidden;
    border: 1px solid black;
    margin: 2vw 2vw 2vw 0;
    transition: scale ease 0.2s;
}

.gallerytext {
    height: 15vh;
    width: 15vh;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2vw;
}

.gallerytext h3 {
    font-size: 100%
}

.imgwrapper img {
    height: 20vh;
    object-fit: cover;
}

.imgwrapper:hover {
    scale: 1.10;
}

.displaywrapper {
    height: 80vh;
    width: fit-content;
    min-width: 40vw;
    max-width: 40vw;
    margin: 5vh 5vh 5vh 0;
    overflow: hidden;
}

.displaywrapper img {
    height: 100%;
    width: auto;
}

@media (790px < width < 1440px) and (orientation: portrait) {

    .colswrapper {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .displaywrapper img {
        height: 100%;
        width: auto;
    }

    .imgwrapper {
        height: 10vh;
        width: 10vh;
        margin: 1.5vw 1.5vw 1.5vw 0;
    }

    .imgwrapper img {
        height: 15vh;
        object-fit: cover;
    }


}

@media (width < 790px) and (orientation: portrait) {

    .navbarcontainer {
        gap: 0;
    }

    .navbar {
        padding: 0;
        font-size: smaller;
        gap: 1em;
        margin-right: 1em;
    }

    .navbarcontainer img {
        height: 40px;
        width: 40px;
    }

    .gallery {
        flex-direction: column;
    }

    .gallright {
        display: flex;
        justify-content: center;
    }

    .colswrapper {
        flex-direction: row-reverse;
        justify-content: center;
    }

    .displaywrapper {
        min-width: 80vw;
        height: fit-content;
        max-height: 60vh;
        margin: 0;
    }

    .displaywrapper img {
        width: 115%;
        height: auto;

    }
}

.selected::after {
    content:"";
    background-color: grey;
    height: 15vh;
    width: 15vh;
}

.viewing {
   opacity: 50%;
}