* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* 1rem = 16px */
    font-family: sans-serif;
}

header {
    height: 100vh;
    background-color: var(--color-1);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-horizontal);
}

.hero-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* pseudoclass for gradient overlay */
.hero-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 170, 170, 0.2) 0%,
        rgba(34, 113, 22, 0.3) 100%
    );
    z-index: 1;
}

#heroImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#heroLogo {
    width: 50%;
}

@media (max-width: 768px) {
    #heroLogo {
        width: 100%;
    }
}

.overlay-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    max-width: 800px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3; /* logo above the gradient overlay */
    flex-direction: column;
}

.rounded-button {
    background-color: red;
    border: 0.3rem solid white;
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}

.mail {
    background-color: white;
    color: #232323ff;
    /*mix-blend-mode: screen;*/
}
.mail:hover {
    background-color: transparent;
    color: white;
}
