@import url("./logo.css");
@import url("./navbar.css");

.hero-section {
    overflow: hidden;
    width: 100%;
    height: 100vh;
    min-height: 45em;
    position: relative;
}

.hero-section::after{
    content: "Recruitrite Loading...";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    place-content: center;
    font-size: clamp(2rem, 5vw, 3rem);
    z-index: 2;
    font-weight: 800;
    color: var(--theme-color-1);
    background-color: var(--theme-color-2);
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent),
        url("../../images/suit.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    transform: scale(1.2);
    transition: all ease 1500ms;
}

.cta-container {
    position: absolute;
    color: var(--white);
    top: 35%;
    left: 8%;
    width: 80%;
    max-width: 50em;
    z-index: 2;
    opacity: 0;
    transform: scale(0.9);
    transition: all ease 1500ms;
}

.animate-hero::before {
    transform: scale(1);
}

.animate-hero::after{
    display: none;
}

.animate-hero .cta-container {
    opacity: 1;
    transform: scale(1);
}

.down-arrow {
    position: absolute;
    bottom: 5%;
    right: 5%;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
    display: none;
}

.down-arrow:hover {
    background-color: var(--theme-color-1);
}

.mid-screen {
    display: none;
}

@media (min-width: 900px) {
    .cta-container .subtitle{
        width: 100%;
    }
    
    .mid-screen {
        display: inline;
    }

    .down-arrow {
        display: inline-block;
    }
}