/* MAIN CONTENT */
.content {
    width: 100vw;
    overflow: hidden;
    background: white;
    height: fit-content;
}

/* WELCOME SECTION */
.carousel {
    top: var(--h);
    height: var(--tall);
    width: 100vw;
    z-index: -1;
    overflow: hidden;
}

.carousel img {
    height: var(--tall);
    object-fit: cover;
    opacity: 0.35;
}

.welcome {
    width: 100vw;
    height: var(--tall);
    display: grid;
    grid-template-rows: 10% 15% 20% 55%;
    justify-items: center;
    background-image: url('../img/carousel/home carousel fibre.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

.welcome > * {
    margin: 2vw 0 2vw 0;
    padding: 0px 20px 0px 20px;
}

.welcome h1 {
    text-align: center;
    font-size: 3ch;
}

.welcome h2 {
    font-size: 2.5ch;
    margin: 0;
}

.welcome h2, .welcome p {
    text-align: justify;
}

.welcome p {
    font-size: 2.2ch;
}

/* HERO SECTION */
.hero {
    width: 100vw;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-content: space-between;
    flex-wrap: wrap;
    gap: 5vh;
    padding: 4vh 0 4vh 0;
}

.hero_container {
    width: 40vh;
    height: 29vh;
    display: grid;
    grid-template-rows: 20vh 9vh;
    margin: 0 2vw 0 2vw;
    overflow: hidden;
    cursor: pointer;
    border-radius: 1vh;
    padding: 0;
    background-color: var(--green);
    gap: 1vh;
    margin-bottom: 6vh;
}

.hero_container:focus {
    outline: 5px solid var(--green);
}

.hero_container img {
    width: inherit;
    height: 100%;
}

.hero_text {
    background: #ebf4f6;
    height: 8vh;
}

.hero_text h1,
.hero_text h3 {
    width: inherit;
    text-align: center;
    margin: 0;
}

.hero_text h1 {
    color: var(--green);
    font-size: 4ch;
    padding: 10px 0 10px 0;
}

.hero_text h3 {
    color: black;
    font-size: 1.5ch;
}

/* MEDIA QUERIES */
@media screen and (min-width: 650px) and (max-width: 999px) {
    .welcome > * {
        padding: 0px 10vh 0px 10vh;
    }

    .welcome h2 {
        font-size: 3ch;
    }

    .welcome p {
        font-size: 2.5ch;
    }

    .welcome h5 {
        font-size: 2.5ch;
    }

    .hero_text h3 {
        font-size: 1.5ch;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1349px) {
    .welcome > * {
        padding: 0 15vh;
    }

    .welcome h2 {
        font-size: 3ch;
    }

    .welcome p {
        font-size: 2.5ch;
    }

    .welcome h5 {
        font-size: 2.5ch;
    }

    .hero_text h3 {
        font-size: 1.7ch;
    }

    .welcome {
        grid-template-rows: 20% 20% 20% 60%;
        max-height: 50vh;
    }

    .logo {
        margin: 5vh 0 5vh 0;
    }
}

@media screen and (min-width: 1350px) and (max-width: 1749px) {
    .welcome {
        height: 50vh;
    }

    .welcome > * {
        padding: 0 25vh;
    }

    .welcome h2 {
        font-size: 3ch;
    }

    .welcome p {
        font-size: 2.5ch;
        height: fit-content;
    }

    .welcome h5 {
        font-size: 2.5ch;
    }

    .hero_text h3 {
        font-size: 1.7ch;
    }

    .welcome {
        grid-template-rows: 20% 20% 20% 60%;
    }

    .logo {
        margin: 5vh 0 5vh 0;
    }

    #t_welcome_text {
        margin-top: 0vw;
    }
}

@media screen and (min-width: 1750px) {
    .welcome {
        height: 50vh;
    }

    .welcome > * {
        padding: 0 25vh;
    }

    .welcome h2 {
        font-size: 3ch;
    }

    .welcome p {
        font-size: 3ch;
        height: fit-content;
    }

    .welcome h5 {
        font-size: 2.5ch;
    }

    .hero_text h3 {
        font-size: 1.7ch;
    }

    .welcome {
        grid-template-rows: 20% 20% 20% 60%;
    }

    .logo {
        margin: 5vh 0 5vh 0;
    }

    .hero {
        padding: 5vh 0 5vh 0;
    }
}
