body {
    margin: 0;
    font-family: Roboto, Arial, sans-serif;
    text-align: center;
    font-size: clamp(13px, -0.2143rem + 2.8571vw, 20px);
}

.light {
    background-color: rgba(191,95,255,1);
    background-image: -webkit-linear-gradient(45deg, rgba(191,95,255,1), rgba(127,0,255,1));
    background-image: -moz-linear-gradient(45deg, rgba(191,95,255,1), rgba(127,0,255,1));
    background-image: -o-linear-gradient(45deg, rgba(191,95,255,1), rgba(127,0,255,1));
    background-image: linear-gradient(45deg, rgba(191,95,255,1), rgba(127,0,255,1));
    color: #FFFFFF;
}

.dark {
    background-color: rgba(74,26,145,1);
    background-image: -webkit-linear-gradient(45deg, rgba(74,26,145,1), rgba(24,4,54,1));
    background-image: -moz-linear-gradient(45deg, rgba(74,26,145,1), rgba(24,4,54,1));
    background-image: -o-linear-gradient(45deg, rgba(74,26,145,1), rgba(24,4,54,1));
    background-image: linear-gradient(45deg, rgba(74,26,145,1), rgba(24,4,54,1));
    color: #D9D9D9;
}

.centre {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

a {
    color: inherit;
    text-decoration: none;
}

.title {
    font-size: clamp(35px, -0.2143rem + 2.8571vw, 75px);
    padding: 5px;
}

.image {
    width: 200px;
    height: 200px;
    display: inline-block;
    margin: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.light .image {
    background-image: url("./logo-white.png");
}

.dark .image {
    background-image: url("./logo-grey.png");
}

.buttons {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    gap: 5px;
    flex-wrap: wrap;
}

.buttons > button {
    all: unset;
}

.buttons > a,
.buttons > button {
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    flex-basis: -moz-calc(33.33% - 18px);
    flex-basis: -webkit-calc(33.33% - 18px);
    flex-basis: -o-calc(33.33% - 18px);
    flex-basis: calc(33.33% - 18px);
}

.light .buttons > a,
.light .buttons > button {
    border: 2px solid #FFFFFF;
}

.dark .buttons > a,
.dark .buttons > button {
    border: 2px solid #D9D9D9;
}

.popupForm {
    display: none;
    opacity: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    margin: none;
    transition: opacity 0.2s ease-in-out;
    position: relative;
    z-index: 200;
}

.popupContent {
    padding: 75px;
    border-radius: 10px;
    box-shadow: -7px 7px rgba(0, 0, 0, 0.3);
}

.light .popupContent {
    background-color: #323232;
}

.dark .popupContent {
    background-color: #323232;
}

.popupContent > form {
    display: flex;
    flex-direction: column;
    gap: 3.5px;
    flex-wrap: nowrap;
    justify-content: center;
}

.popupContent > form > input {
    display: flexbox;
    border-radius: 10px;
    background: none;
    font-size: 20px;
    padding: 5px 10px;
    box-sizing: border-box;
    margin: 2.5px 0;
}

.light .popupContent > form > input {
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

.dark .popupContent > form > input {
    border: 2px solid #D9D9D9;
    color: #D9D9D9;
}

.popupContent > form > input[type="submit"] {
    cursor: pointer;
    border: none;
    text-align: center;
    margin: 10px 0;
}

.light .popupContent > form > input[type="submit"] {
    background-color: rgba(127,0,255,1);
}

.dark .popupContent > form > input[type="submit"] {
    background-color: rgba(74,26,145,1);
}

.popupContent > form > input:not([type="submit"]):not([type="checkbox"]):focus {
    all: unset;
    text-align: left;
    display: flexbox;
    border-radius: 10px;
    background: none;
    font-size: 20px;
    padding: 5px 10px;
    box-sizing: border-box;
}

.switch > input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 28px;
    margin: 5px 0;
}

.blip {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    transition: 0.4s;
    border-radius: 34px;
}

.blip::before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.light .blip::before {
    background-color: #FFFFFF;
}

.dark .blip::before {
    background-color: #D9D9D9;
}

input:checked + .blip::before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

.light input:checked + .blip {
    background-color: rgba(127,0,255,1);
}

.dark input:checked + .blip {
    background-color: rgba(74,26,145,1);
}

.light .popupContent > form > input:not([type="submit"]):not([type="checkbox"]):focus {
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

.dark .popupContent > form > input:not([type="submit"]):not([type="checkbox"]):focus {
    border: 2px solid #D9D9D9;
    color: #D9D9D9;
}

.popupContent > form > input::before,
.popupContent > form > input::after {
    box-sizing: border-box;
}

.popupTitle {
    font-size: 50px;
    font-weight: bold;
    padding-bottom: 35px;
    padding-top: 20px;
}

.close {
    position: fixed;
    top: 5%;
    right: 5%;
    transform: translate(0, -50%);
    font-size: 30px;
    color: #F04747;
    cursor: pointer;
}

.inlineLink {
    cursor: pointer;
    font-weight: bold;
}

.light .inlineLink {
    color: rgb(206, 174, 238);
}

.dark .inlineLink {
    color: rgb(144, 114, 235);
}

.popupHeader {
    height: 10px;
    width: 100%;
}

.light .popupHeader {
    background-color: rgba(127,0,255,1);
}

.dark .popupHeader {
    background-color: rgba(74,26,145,1);
}

.password {
    padding-bottom: 5px;
}

#usernameResponse,
#passwordResponse {
    font-size: 15px;
}

#themeChanger {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 35px;
    cursor: pointer;
    z-index: 100;
}

.g-recaptcha {
    width: 100%;
    text-align: center;
}

.g-recaptcha > div {
    display: inline-block;
}


@media screen and (max-width:1399px) {
    .popupContent {
        padding: 75px 40px;
    }
}

@media screen and (max-width:430px) {
    .popupContent {
        width: 80%;
        height: 70%;
    }
    .main {
        min-width: 300px;
    }
    .image {
        width: 125px;
        height: 125px;
    }
    .title {
        font-size: 1.6rem
    }
}