body {
    background-color: rgb(30, 30, 30);
}

nav {
    display: flex;
    justify-content: space-between;
}

button {
    font-family: "Montserrat", sans-serif;
    background-color: rgb(40, 40, 40);
    border-radius: 20px;
    border: none;
    cursor: pointer;
    color: rgb(240, 240, 240);
    padding: 8px;
    font-size: medium;
    padding-left: 18px;
    padding-right: 18px;
    transition: background-color 0.25s ease;
}

button:hover {
    background-color: rgb(45,45,45);
}

input {
    font-family: "Montserrat", sans-serif;
    background-color: rgb(40, 40, 40);
    border-radius: 20px;
    color: rgb(225, 225, 225);
    border: none;
    cursor: pointer;
    border: solid 1px rgb(70, 70, 70);
    transition: background-color 0.25s ease;
    padding: 12px;
    margin-top: 8px;
}

input:hover {
    background-color: rgb(45, 45, 45);
}

input:focus {
    background-color: rgb(45, 45, 45);
}

input::placeholder {
    font-style: italic;
}

input[type='checkbox'] {
    appearance: none;
    border-radius: 8px;
    background-color: rgb(20, 20, 20);
    outline: solid 1px rgb(70, 70, 70);
    transition: transform 0.05s ease;
    margin-bottom: 0px;
    padding: 12px;
}

input[type='checkbox']:checked {
    background-color: #3670f0;
}

textarea {
    font-family: "Montserrat", sans-serif;
    background-color: rgb(40, 40, 40);
    border-radius: 20px;
    color: rgb(225, 225, 225);
    border: none;
    cursor: pointer;
    border: solid 1px rgb(70, 70, 70);
    transition: background-color 0.25s ease;
    padding: 12px;
    margin-top: 8px;
    resize: vertical;
    width: 94%;
    max-height: 200px;
    height: 50px;
}

/** input[type='checkbox']:active {
    background-color: #3d7bff;
    transform: scale(1.1);
} **/

.required::after {
    color: #3670f0;
    content: " *"
}

h2 {
    font-weight: 500;
}

.checkcontainer {
    display: flex;
    align-items: center;
    width: 50%;
}

.checklabel {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
}

.topselected {
    background-color: rgb(24, 24, 24);
}

.topselected:hover {
    background-color: rgb(25, 25, 25);
}

.contact {
    background-color: rgb(20, 20, 20);
    color: rgb(240, 240, 240);
    font-family: "Montserrat", sans-serif;
    position: fixed;
    right: 0;
    top: 0;
    padding: 18px;
    padding-left: 40px;
    padding-right: 20px;
    height: 100vh;
    transform: translate(1000px, 0);
    opacity: 0;
    transition: transform 0.5s ease-in-out, opacity 0.2s ease-out;
}

.contacttop {
    display: flex;
    justify-content: space-between;
}

.contactrow {
    display: flex;
    justify-content: space-between;
}

.contacttop button {
    width: 50px;
    height: 50px;
    padding: 4px;
    border-radius: 40px;
    font-size: x-large;
    margin-top: 0.7em;
}

.contacttop h2 {
    width: 50%;
    font-size: larger;
    display: inline;
}

.contactitem {
    margin: 8px;
}

#topbar {
    text-align: right;
    display: inline;
    right: 0px;
}

#topdiv {
    display: inline;
    margin-right: 20px;
    background-color: rgb(40, 40, 40);
    padding: 12px;
    border-radius: 20px;
    padding-right: 2px;
    padding-left: 2px;
}

#contactbutton {
    background-color: rgb(230, 230, 230);
    color: rgb(40, 40, 40);
    padding: 10px;
    padding-right: 18px;
    padding-left: 18px;
}

#contactbutton:hover {
    background-color: white;
}

#title {
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-style: italic;
    color: white;
    font-size: xx-large;
    display: inline;
    vertical-align: middle;
    margin-top: auto;
    margin-left: 4px;
}

#email {
    width: 94%;
    margin-right: 8px;
}

