*{
    margin: 0;
    box-sizing: border-box;
    padding: 0;
}
/* BODY CSS */
body h1{
    color: #31326F;
}
body h1, h2, h3{
    font-family: Futura, “Helvetica Neue”, sans-serif;
    text-align: center;
}
body p{
    font-size: calc(2px + 1.2vw);
    font-family: Tahoma, "Trebuchet MS", monospace;
}

/* HEADER CSS */
header{
    background-color: #E69DB8;
    padding: 1%;
    text-align: center;
}
header h1{
    font-size: calc(2px + 4vw);
}


/* NAVIGATION CSS */
nav{
    text-align: center;
    padding: 1% 0;
    background-color: #E6B2BA;
}
nav ul{
    list-style: none;
    display: flex;
    justify-content: center;
}
nav ul li{
    display: inline;
    border-left: solid black 2px;
    padding: 1%;
    font-size: calc(2px + 1.2vw);
}
nav a{
    text-decoration: none;
    color: black;
    border-radius: 4%;
    transition: background-color 0.3s;
}
nav a:hover{
    background-color: rgba(205, 110, 199, 0.5);
    padding: 6% 0;
}


/* MAIN CSS */
main{
        background-color: #DCD6B9;
}
main h1{
    padding: 1.5% 0;
    font-size: calc(2px + 2vw);
}
main h3 a{
    color: #31326F;
}
main h3{
    padding-top: 3%;
}
#bc{
    text-align: center;
    color: #31326F;
}
#bc p, #bc h3{
    padding-top: 1%;
}
#barcelo{
    height: 50vh;
    width: 50vw;
    padding: 15% 4% 0;
}
#pc{
    width: 80vw;
    border: solid rgba(205, 110, 199, 0.7) 5px;
    margin: 2% 0;
}

/* FOOTER CSS */
footer{
    background-color: #E69DB8;
    padding: 1% 0;
    text-align: center;
}

/*DAYS LAYOUT -- GRID LAYOUT FROM FLEXIBLE IMAGE GALLERY PRESENTATION S&T BY YUHUI ZHANG*/
.all-days{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
    padding: 2%;
}
.days{
    width: 100%;
    height: 100%;
    background-color: #E6B2BA;
    border-radius: 6%;
    border: dotted #31326F 3px;
}
.time{
    padding: 3.5% 0 2%;
    font-weight: bold;
    text-align: center;
    font-style: italic;
}
.activities{
    font-size: calc(2px + 0.80vw);
    list-style-position: inside;
    padding: 0 4%;
}

/* BARCELO AND CAROUSEL */
#resort-carousel{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/* CAROUSEL CSS - CREDITS TO NOORA SALO AND EMRE KUSMIN */
#wrapper{
    width: 100vw;
    height: 75vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 80vw;
}
#carousel{
    width: 30vw;
    height: 30vw;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s;
}
#carousel img{
    position: absolute;
    width: 60%;
    height: 60%;
    object-fit: cover;
    border-radius: 5%;
}
#carousel img:hover{
    box-shadow: 0 0 10px rgba(205, 110, 199, 0.5);
}
button{
    font-size: calc(2px + 2vw);
    border: none;
    background-color: #E69DB8;
    padding: 2vh 3vw;
    border-radius: 2vh;
    cursor: pointer;
    margin: 0 2vw;
    transition: background-color 0.3s;
}
button:hover{
    background-color: rgba(205, 110, 199, 0.5);
}

@media screen and (max-width: 1000px) {
    #barcelo {
        height: 30vh;
        width: 50vw;
        padding: 15% 4% 0;
    }

    #wrapper {
        height: 40vh;
        padding-top: 5%;
    }

    #carousel {
        width: 30vw;
        height: 20vw;
    }
}
@media screen and (max-width: 850px) {
    #barcelo {
        height: 30vh;
        width: 50vw;
        padding: 15% 4% 0;
        }

    #wrapper {
        height: 40vh;
        padding-top: 5%;
        }

    #carousel {
        width: 30vw;
        height: 20vw;
        }
    }