.secDois {
    font-family: 'Poppins', sans-serif;
    color: gray;
    overflow-x: hidden;
}

.secDois p {
    padding: 10px 20px;
    text-align: justify;
    font-size: 13px;
}

.areaAnimadois {
    width: 90vw;
    height: 300px;
    margin: 10px auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.quadroRotator {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotatorInicial 8s infinite linear;
    position: relative;
    box-shadow: 3px 3px 5px gray;
}

.empresaCentral {
    width: 100px;
    height: 100px;
    background-image: url("imgs/logo-matinhostur.jpeg");
    background-size: contain;
    background-repeat: no-repeat;
    animation: rotatorInverso 8s infinite linear;
    position: absolute;
    z-index: 10;
    border-radius: 10px;
}

.quadro {
    position: absolute;
    animation: rotatorInverso 8s infinite linear;
    width: 100px;
    height: 50px;
    font-size: 12px;
    text-align: center;
    border: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: whitesmoke;
    border-radius: 15px;
    box-shadow: 3px 3px 3px gray;
    z-index: 10;
}

.quadro1 {
    top: -25px;
}

.quadro2 {
    left: -50px;
}

.quadro3 {
    right: -50px;
}

.quadro4 {
    bottom: -25px;
}

.linha1 {
    width: 100%;
    position: absolute;
    background-color: gray;
    height: 3px;
}

.linha2 {
    width: 3px;
    position: absolute;
    background-color: gray;
    height: 100%;
}

@keyframes rotatorInicial {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotatorInverso {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

.areaCardsApresent {
    width: 100vw;
    overflow-x: scroll;
}

.containerCards {
    width: 100vw;
    min-width: 1500px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
}

.card {
    width: 330px;
    margin: 10px auto;
    box-shadow: 3px 3px 10px gray;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 50px;
    position: relative;
}

.imgcard {
    width: 100%;
    height: 400px;
    background-image: url("imgs/imgLindaMatinhos.jpg");
    background-size: cover;
    background-position: 50%;
}

.card2 .imgcard {
    background-image: url("imgs/restaurantes.jfif");
}

.card3 .imgcard {
    background-image: url("imgs/ilha3.webp");
}

.card4 .imgcard {
    background-image: url("imgs/ilha2.jfif");
}

.vaiprolado {
    position: absolute;
    width: 100%;
    height: 60px;
    border-radius: 30px;
    bottom: 200px;
    left: 0;
    background-image: linear-gradient(rgba(255, 0, 0, 0) 10%, white 50%, rgba(255, 0, 0, 0) 90%);
    z-index: 30;
    font-size: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: animalado 10s linear infinite;
    transform: translateX(100%);
    overflow: hidden;
}



.vaiprolado p {
    width: 100%;
    position: absolute;
    text-align: center;
    animation: animaladoP 10s linear infinite;
    transform: translateX(-100%);
    text-transform: uppercase;
}

@keyframes animalado {
    0%{
        transform: translateX(100%);
    }
    50% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(-100%);
    }
}


@keyframes animaladoP {
    0%{
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(100%);
    }
}


@media (min-width: 900px) {

    .areaExibicao-secdois {
        margin: 100px auto;
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .areaText-secdois {
        width: 600px;
        margin: auto;
        height: 100%;
    }

    
    .areaAnimadois {
        max-width: 400px;
    }

    .areaText-secdois p {
        font-size: 20px;
    }

    .areaCardsApresent {
        margin-bottom: 100px;
    }
}

@media (min-width: 1300px) {
    .secDois .vaiprolado {
        display: none;
    }
}