.carousel-side-text {
    margin-top: 125px;
    max-width: fit-content;
}

.carousel-solar {
    background-image: url("imgs//solar.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-project {
    background-image: url("imgs//projetos.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel {
    margin-bottom: 4rem;
}

.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

.carousel-item {
    height: 25rem;
    background-color: #777;
    color: #ffffff;
}

.carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 32rem;
}

.yellow-button, .yellow-button:hover {
    margin-top: 5%;
    margin-right: 20%;
    width: 50%;
    height: 65%;
    max-height: 65%;
    background-color: #fcb040;
    border: #fcb040;
    color: #ffffff;
    font-size: 1.85rem;
}

.yellow-button a {
    color: #ffffff;
    font-size: 1.85rem;
    font-weight: bold;
    text-decoration: none;
}

.courses-section {
    visibility: visible;
}

.courses-section-mobile {
    visibility: hidden;
}

@media (max-width: 767px) {
    html, body {
        height: 110% !important;
    }

    .carousel-item {
        height: 20rem;
    }

    .carousel-side-text {
        margin-top: 50px;
    }

    .yellow-button {
        width: 80%;
        font-size: 1.5rem;
    }

    .courses-section {
        display: none !important;
    }

    .courses-section-mobile {
        visibility: visible !important;
    }
}

@media (min-width: 768px) {
    .carousel-item {
        height: 25rem;
    }
    
    .yellow-button {
        width: 50%; 
        font-size: 1.85rem;
    }
}
