/* hero */
.hero {
    color: var(--dark-main);
    padding-top: 140px;
    height: 100vh;
    max-width: none;
}
.hero > * {
    position: relative;
    z-index: 1;
}
.hero h1 {
    position: absolute;
    left: 50%;
    top: 25px;
    transform: translateX(-50%);
    width: max-content;
    max-width: 100vw;
    margin-bottom: 25px;
}
.hero .ButtonLink {
    color: var(--dark-main);
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
    padding: 20px 35px;
    border-radius: 10px;
    background-color: white;
    transition: 0.5s;
}
.hero .ButtonLink:hover {
    border-radius: 100px;
}
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.hero .imgGradient {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 50%, #000000 100%), no-repeat;
}

/* robot */
.robot {
    display: flex;
    flex-direction: row;
    margin-top: 40px;
}
.robot div {
    width: 50%;
    max-width: 405px;
    margin-inline: auto;
}
.robot h3 {
    color: var(--pop);
    font-size: 32px;
    line-height: 32px;
    margin: 0;
    text-align: center;
}
.robot img {
    width: calc(50vw - 50px);
    max-width: 405px;
}

/* Mobile */
@media screen and (max-width: 750px) {
    .robot {
        flex-direction: column;
    }
    .robot div {
        width: 100%;
    }
    .robot img {
        width: calc(100vw - 25px);
        max-width: min(405px, 100%) !important;
    }
    .sponsors > div, .outreach > div {
        flex-direction: column;
        padding: 30px;
    }
    .sponsors > div img, .outreach > div img {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* sponsors */
#sponsors-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#sponsors-title > a {
    padding: 10px;
    border-radius: 15px;
    border: transparent 1px solid;
    transition: .125s;
}
#sponsors-title > a:hover {
    border-color: white;
}
.sponsors, .outreach {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sponsors > div, .outreach > div {
    margin-bottom: 40px;
    border-radius: 15px;
    display: flex;
    color: black;
    position: relative;
    padding-right: 20px;
}

.sponsors > div:last-child, .outreach > div:last-child {
    margin-bottom: 0px !important;
}

.sponsors > div img, .outreach > div img {
    width: 230px;
    margin: 10px;
}

.sponsors > div h3, .outreach > div h3 {
    font-size: 30px;
    margin: 20px 0 5px 0;
}

.sponsors > div h4, .outreach > div h4 {
    position: absolute;
    margin: 0;
    right: 20px;
    bottom: 20px;
    font-size: 24px;
}

.red {
    background-color: var(--light);
}

.red h4 {
    color: var(--pop);
    text-shadow: 4px 4px 4px rgba(255, 46, 46, 0.25);
}

.silver {
    background-color: var(--light-gray);
}

.silver h4 {
    background: var(--silver-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 4px 4px 4px rgba(102, 102, 102, 0.25);
}

.bronze {
    background-color: var(--bronze);
}

.bronze h4 {
    background: var(--bronze);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 4px 4px 4px rgba(205, 127, 50, 0.25);
}

/* contact */
form {
    z-index: 1;
    transition: 0.5s;
    border-radius: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-top: 40px;
    width: 80%;
    padding-bottom: 20px;
}
form input, form textarea {
    border: transparent 2px solid;
    border-radius: 10px;
    background-color: white;
    color: black;
    font-family: "Lato", sans-serif;
    margin: 10px 0 30px 0;
    padding: 12px;
    font-size: 16px;
    width: 100%;
    resize: none;
    transition: .25s;
}
form textarea {
    height: calc(100vh - 493px);
    min-height: 125px;
    line-height: 1.5;
}
form label {
    color: var(--pop);
}
form input.invalid, form textarea.invalid {
    border-color: red;
}
form input:focus-visible, form textarea:focus-visible {
    border-width: 2px;
    border-color: var(--pop);
}
form input:focus-visible.invalid, form textarea:focus-visible.invalid {
    outline: red 2px solid;
    border-color: transparent;
}
form button {
    background-color: var(--pop);
    border: white 2px solid;
    color: white;
    border-radius: 10px;
    font-size: 16px;
    padding: 12px 20px;
    cursor: pointer;
    transition: 0.25s;
    width: 100%;
    font-weight: 600;
}
form button:disabled {
    background-color: transparent;
    border-color: var(--pop);
    color: var(--pop);
    cursor: not-allowed;
}
form button:not(:disabled):hover {
    color: white;
    border-color: white;
    background-color: var(--pop);
    border-radius: 5px;
}
.formCompleted {
    z-index: 0;
    transition: 0.5s;
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    overflow: hidden;
}
.formCompleted .message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.formCompleted h1 {
    font-size: min(5vw, 40px);
}
.formCompleted h3 {
    font-size: min(3vw, 20px);
}
.formCompleted h1, .formCompleted h3 {
    color: var(white) !important;
    font-weight: 400;
    margin-block: 0.25em;
    white-space: nowrap;
}
.formCompleted img {
    width: 50%;
    margin: 35px 25%;
}