@import url("//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css");
.login-block {
    background: #de6262; /* fallback for old browsers */
    background: -webkit-linear-gradient(
        to bottom,
        #ffb88c,
        #de6262
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
        to bottom,
        #ffb88c,
        #de6262
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    float: left;
    width: 100%;
    padding: 50px 0;
}
.banner-sec {
    /* background: url(https://static.pexels.com/photos/33972/pexels-photo.jpg) no-repeat left bottom; */
    background-size: cover;
    min-height: 500px;
    border-radius: 0 10px 10px 0;
    padding: 0;
}
.container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 15px 20px 0px rgba(0, 0, 0, 0.1);
}
.carousel-inner {
    border-radius: 0 10px 10px 0;
}
.carousel-caption {
    text-align: left;
    left: 5%;
}
.login-sec {
    padding: 50px 30px;
    position: relative;
}
.login-sec .copy-text {
    position: absolute;
    width: 80%;
    bottom: 20px;
    font-size: 13px;
    text-align: center;
}
.login-sec .copy-text i {
    color: #feb58a;
}
.login-sec .copy-text a {
    color: #e36262;
}
.login-sec h2 {
    margin-bottom: 30px;
    font-weight: 800;
    font-size: 30px;
    color: #de6262;
}
.login-sec h2:after {
    content: " ";
    width: 100px;
    height: 5px;
    background: #feb58a;
    display: block;
    margin-top: 20px;
    border-radius: 3px;
    margin-left: auto;
    margin-right: auto;
}
.btn-login {
    background: #de6262;
    color: #fff;
    font-weight: 600;
}
.banner-text {
    width: 70%;
    position: absolute;
    bottom: 40px;
    padding-left: 20px;
}
.banner-text h2 {
    color: #fff;
    font-weight: 600;
}
.banner-text h2:after {
    content: " ";
    width: 100px;
    height: 5px;
    background: #fff;
    display: block;
    margin-top: 20px;
    border-radius: 3px;
}
.banner-text p {
    color: #fff;
}
.form-check {
    display: flex;
    justify-content: center;
}


/* Torna a imagem levemente transparente */
.carousel-image {
    opacity: 0.6; /* Ajuste para controlar a transparência */
}

/* Centraliza o texto no meio da imagem */
.carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    text-align: center; /* Centraliza o texto dentro do contêiner */
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.3); /* Fundo translúcido opcional */
    padding: 20px;
}

/* Ajuste do tamanho e estilo do texto */
.banner-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.banner-text p {
    font-size: 1.2rem;
}

/* Design responsivo */
@media (max-width: 768px) {
    /* Ajuste o tamanho da fonte do texto do banner */
    .banner-text h2 {
        font-size: 1.8rem; /* Reduz tamanho em telas menores */
    }

    .banner-text p {
        font-size: 1rem; /* Texto menor para parágrafos */
    }

    .carousel-caption {
        padding: 10px; /* Reduz o espaço ao redor do texto */
    }

    /* Certifique-se de que o texto e o conteúdo do formulário ocupem toda a largura */
    .login-sec, .banner-sec {
        min-height: auto;
        padding: 20px;
    }

    /* Centraliza o texto do formulário */
    .login-sec h2 {
        font-size: 24px; /* Ajusta o título do formulário */
        text-align: center;
    }

    .form-check {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    /* Estilos para telas muito pequenas, como smartphones */
    .banner-text {
        width: 90%; /* Reduz largura do texto no banner */
        bottom: auto; /* Remove posicionamento fixo */
        padding: 10px 20px;
    }

    .banner-text h2 {
        font-size: 1.5rem;
    }

    .banner-text p {
        font-size: 0.9rem;
    }

    .login-sec {
        padding: 20px 15px; /* Ajusta espaçamento do formulário */
    }

    .carousel-caption {
        flex-direction: column; /* Texto empilhado */
    }

    .carousel-image {
        opacity: 0.7; /* Ajusta leve transparência para melhor legibilidade */
    }
}

.text-center a {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .text-center {
        flex-direction: column;
    }
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}
