/* CSS - Common */

:root {
    --header-h: 8vh;
    --footer-h: 4vh;
    --main-h: 88vh
}

/* Elements */
header, footer {
    z-index: 5;
}

html {
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0px;
    width: 100vw;
    height: 100vh;

    background-color: rgb(245, 246, 247);
}

main {
    width: 100%;
    height: var(--main-h);
    margin-top: var(--header-h);

    padding-top: 15px;
    padding-left: 33px;
    padding-right: 33px;
    padding-bottom: 15px;

    box-sizing: border-box;
    overflow: hidden;
}

a {
    color: rgb(173, 173, 173);
    transition: all 0.3s;
}

a:hover {
    color: rgb(255, 255, 255);
}

p, li {
    color: rgb(224, 224, 224);
}

h1, h2, h3, h4, p, a, input, textarea, label, button, span, strong {
    font-family: 'Manrope';
}

button {
    cursor: pointer;
}

/* Forms */
form.styled {
    background-color: rgba(209, 206, 206, 0.13);
    border-radius: 7px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.33);
    padding: 12px;
    gap: 14px;
    width: fit-content;
    margin-bottom: 8px;
}

form.styled::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(80, 80, 80, 0.22);
    border-radius: inherit;
    transition: all 0.3s ease-out;
}

form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

form .form-group label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 0 3px rgb(81, 81, 81);
    letter-spacing: 0.1px;
    transition: all 0.3s;
}

form .form-group:hover label {
    color: rgb(255, 255, 255);
    transform: translateX(4px);
}

form .form-group input,
form .form-group textarea {
    width: 100%;
    padding: 11px 12px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular';
    font-size: 14px;
    color: #ffffff;
    background: rgba(131, 128, 128, 0.24);
    border: 1px solid #e2e2e27a;
    border-radius: 5px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form .form-group input::placeholder,
form .form-group textarea::placeholder {
    color: #ffffff;
}

form .form-group input:focus,
form .form-group textarea:focus {
    border-color: #888;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.035);
}

form .form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

form .form-group input[type="date"] {
    cursor: pointer;
}

form button {
    color: #ffffff;
    height: 38px;
    width: 100%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    transition: all 0.3s ease-out;
}

form button:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Success Form */
form .success {
    display: block;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

form .success h2 {
    color: #e4e4e4cb;
    margin: 7px 0;
    font-family: 'Manrope';
}
form .success p {
    margin: 2px;
}
form .success .check {
    color: rgba(193, 216, 190, 0.7);
    font-size: 38px;
}

/* Classes */
.container {
    display: flex;
    z-index: 3;
    position: relative;
}

.container .item {
    display: flex;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Responsive */
@media screen and (max-width: 768px) {
    main {
        /* No footer = more space */
        height: 92vh;
        padding-bottom: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
}