.bgTangier {
    width: 100%;
    height: 400px; /* Default height for smaller screens */
    position: relative;
    overflow: hidden;
}

@media screen and (min-width: 500px) {
    .bgTangier {
        height: 500px; /* Height for tablets and larger screens */
    }
}

@media screen and (min-width: 900px) {
    .bgTangier {
        height: 850px; /* Height for desktops and larger screens */
    }
}

.bgTangier img {
    filter: brightness(.95);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bgT {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 40%;
    left: 25%;
    right: 25%;
    filter: drop-shadow(-.4rem .3rem .3rem #000000b4);
    color: #fff;
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: 600;
}

@media screen and (min-width: 500px) {
    .bgT {
        font-size: 5rem;
    }
}

@media screen and (min-width: 900px) {
    .bgT {
        font-size: 7rem;
    }
}

.contCity {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 1rem 0;
}

@media screen and (min-width: 900px) {
    .contCity {
        flex-direction: row;
    }
}

.cityCard {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 80%;
    height: 6rem;
    margin-top: .5rem;
    position: relative;
    z-index: 2;
    border-radius: .5rem;
    overflow: hidden;
}

@media screen and (min-width: 500px) {
    .cityCard {
        height: 9rem;
    }
}

@media screen and (min-width: 900px) {
    .cityCard {
        width: 40%;
        height: 10rem;
        margin: 0;
        position: static;
    }
}

.cityCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (min-width: 500px) {
    .cityCard img {
        height: 9rem;
    }
}

@media screen and (min-width: 900px) {
    .cityCard img {
        height: 10rem;
    }
}

.cityTitl {
    position: absolute;
    margin: 0 2rem 0 1rem;
    color: #742e16;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
}

@media screen and (min-width: 500px) {
    .cityTitl {
        font-size: 1.5rem;
    }
}

.hidden {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #742e16;
    width: 70%;
    height: 5rem;
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
    padding-top: .3rem;
}

@media screen and (min-width: 500px) {
    .hidden {
        height: 8rem;
    }
}

@media screen and (min-width: 900px) {
    .hidden {
        justify-content: space-evenly;
        width: 40%;
        height: 10rem;
        border-radius: .5rem;
        margin-left: 1rem;
        position: static;
    }
}

.hidden div span {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    font-size: .8rem;
}

@media screen and (min-width: 500px) {
    .hidden div span {
        font-size: 1.5rem;
    }
}

.hidden a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: auto;
    text-decoration: none;
}

.hidden img {
    width: 40%;
    height: auto;
}

@media screen and (min-width: 500px) {
    .hidden img {
        width: 55%;
    }
}

.vertical-line {
    width: .1rem;
    height: 1.5rem;
    margin: 0 .6rem;
    background-color: #fff;
}

@media screen and (min-width: 500px) {
    .vertical-line {
        height: 2.5rem;
        margin: 0 1.2rem;
    }
}

.cityCardCS {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 80%;
    height: 6rem;
    position: relative;
    z-index: 2;
    border-radius: .5rem;
    overflow: hidden;
}

@media screen and (min-width: 500px) {
    .cityCardCS {
        height: 9rem;
    }
}

@media screen and (min-width: 900px) {
    .cityCardCS {
        width: 40%;
        height: 9rem;
        margin: 0;
        position: static;
    }
}

.cityCardCS img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

@media screen and (min-width: 500px) {
    .cityCardCS img {
        height: 9rem;
    }
}

.hiddenCS {
    display: none;
}

@media screen and (min-width: 900px) {
    .hiddenCS {
        background-color: #742e16;
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: space-around;
        color: #fff;
        font-size: 2rem;
        width: 40%;
        height: 9rem;
        border-radius: .5rem;
        margin-left: 1rem;
        position: static;
        opacity: 1;
        visibility: visible;
    }
}

.cityTitlCS {
    position: absolute;
    margin: 0 2rem 0 1rem;
    color: #742e16;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
}

@media screen and (min-width: 500px) {
    .cityTitlCS {
        font-size: 1.5rem;
    }
}