* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #7a3e60;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 459px;
}

.carousel-container {
    display: flex;
    margin-top: 10px;
}

.carousel-container img {
    width: 100%;
    height: 459px;
    object-fit: cover;
    object-position: center;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 30px 0 0 30px;
}

/* Our Team */
.card {
    position: relative;
    height: 200px;
    width: 200px;
    place-self: center;
    margin: 10px;
}

.avatar {
    height: 200px;
    width: 200px;
    border-radius: 50%;
}

.desc {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    background: rgba(193, 166, 183, 0.82);
    color: #fff;
    visibility: hidden;
    opacity: 0;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    padding-top: 150px;
    /* transition effect */
    transition: opacity .2s, visibility .2s;
}

.card:hover .desc {
    visibility: visible;
    opacity: 1;
}

/* Contacts */
.contact {
    & img {
        width: 40px;
        height: 40px;
        vertical-align: middle;
    }

    & span {
        color: #c1a6b7;
        font-size: 18px;
        
    }

    a:link {
        text-decoration: none;
    }

    a:visited {
        text-decoration: none;
    }

    a:hover {
        text-decoration: none;
    }

    a:active {
        text-decoration: none;
    }
}

/* Figure */
figure {
    transition: all 200ms;
    display: inline-block;
    margin: 10px;
    background: black;
    width: 360px;
    height: 459px;
    overflow: hidden;
    position: relative;
    border: 6px solid rgb(193, 166, 183);

    &:hover {
        border-width: 9px;

        .title {
            transform: translate(0, 100px)
        }

        img {
            transform: scale(1.5)
        }

        .description {
            opacity: 1;
            transform: translateY(-60px);
            color: #fff;
            height: 200px;
            font-size: 16px;
            font-weight: bolder;
            text-align: start;
        }
    }

    & .title {
        position: absolute;
        bottom: 0px;
        padding: 10px;
        width: 100%;
        text-align: center;
        color: #fff;
        font-size: 25px;
        transition: all 400ms;
        background: rgba(193, 166, 183, 0.9);

    }

    & img {
        width: 100%;
        position: absolute;
        transition: all 500ms;
    }
}

.description {
    width: 80%;
    opacity: 0;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 10%;
    font-size: 14px;
    background: rgba(193, 166, 183, 0.5);
    transition: all 300ms;
    text-align: center;
    padding: 14px
}

/* Massage Packages */
.package {
    width: auto;
    height: 200px;
    border-radius: 10%;
}

h3 {
    text-align: center;
}

.about {
    font-size: 18px;
}

#desc1,
#desc2,
#desc3,
#desc4 {
    display: none;
    padding: 30px;
    max-width: 300px;
}

/* Style the header */
.header {
    grid-area: header;
    background-color: #c1a6b7;
    background-image: url('../img/header-logo.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    font-family: "Times New Roman", Times, serif;
    padding: 100px;
    text-align: center;
    font-size: 35px;
    min-width: 360px;
}

/* The grid container */
.grid-container {
    display: grid;
    grid-template-areas:
        'header header header header header header'
        'left middle middle middle middle right'
        'footer footer footer footer footer footer';
    /* grid-column-gap: 10px; gap between the columns */
}

/* Style the left column */
.left {
    grid-area: left;
    display: grid;
    justify-self: center;
    align-self: start;
    background-color: #7a3e60;
    color: #c1a6b7;
    min-width: 360px;
}

/* Style the middle column */
.middle {
    grid-area: middle;
    display: grid;
    justify-self: center;
    align-self: start;
    background-color: #7a3e60;
    color: #c1a6b7;
    min-width: 300px;
}

/* Style the right column */
.right {
    grid-area: right;
    display: grid;
    justify-self: center;
    align-self: start;
    background-color: #7a3e60;
    color: #c1a6b7;
    min-width: 300px;
}

/* Style the footer */
.footer {
    grid-area: footer;
    background-color: #c1a6b7;
    color: #7a3e60;
    padding: 10px;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 1000px) {
    .grid-container {
        grid-template-areas:
            'header header header header header header'
            'left left left left left left'
            'middle middle middle middle middle middle'
            'right right right right right right'
            'footer footer footer footer footer footer';
    }

    /*
    .left {
        display: initial;
        justify-self: start;
    }
    */
}