:root {
    --main-white: rgb(249, 232, 255);
    --bright-white: white;
    --main-dark: rgb(31, 31, 36);
    --main-gray: rgb(47, 52, 67);
    --main-pink: rgb(255, 154, 184);
    --nav-blue: rgb(201, 226, 255);
    --orange: rgb(255, 201, 121);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    word-wrap: normal;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    font-family: 'Georgia';
    font-size: 28px;
    color: var(--main-white);
    text-shadow: 0.7px 0.7px black;
    background-color: var(--main-dark);
    line-height: 1.9;
}

a {
    color: var(--nav-blue);
    text-decoration: none;
}

small {
    font-size: 14px;
}

hr {
    width: 100%;
}

h2 {
    font-size: 35px;
    color: var(--bright-white);
    text-decoration: underline;
}


h3 {
    color: var(--orange);
}

ul {
    list-style-type: square;
}

/* header */
header {
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: row;
    background-color: var(--main-gray);
    align-items: center;
    justify-content: center;
}

/* .harp-png {
    margin-right: 10px;
} */

.img-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.harps-img {
    height: 300px;
    max-width: 100%;
    margin-right: 10px;
    margin-bottom: 10px;
}

.header-description {
    text-align: center;
    font-family: 'Georgia';
    font-size: 20px;
    font-style: italic;
    line-height: 1.3;
}

.header-description h2 {
    text-decoration: none;
    font-family: 'Tangerine';
    font-size: 45px;
}

/* navigation  */
.nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.nav-item {
    font-family: 'Tangerine';
    font-size: 35px;
    /* width: auto; */
    border-bottom: 3px solid transparent;
    margin-right: 10px;
}

.nav-item:after {
    content: '';
    display: block;
    margin: auto;
    height: 3px;
    width: 0px;
    background: transparent;
    transition: width .5s ease, background-color .5s ease;
}

.nav-item:hover:after {
    width: 100%;
    background: var(--main-pink);
}

/* advertisement */
.advert {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    background-image: url('moroccan-flower-dark.png');
    background-attachment: fixed;
    padding: 20px;
}

.advert h2 {
    line-height: 1.4;
    color: var(--orange);
    font-size: 37px;
    text-decoration: none;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;

}

#references {
    margin: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    align-content: center;
    /* background-color: white; */
    height: 300px;
    width: 100%;

    overflow: hidden;
    color: var(--bright-white);
    background-color: var(--main-gray);
    font-size: 24px;
    /* white-space: nowrap; */
}

/* slide */
.slide {
    max-width: 600px;
    display: none;
    animation-name: sliding;
    animation-duration: 9s;
    /* animation-iteration-count: infinite; */
}

/* footer */
footer {
    margin-top: 30px;
    text-align: center;
}

.phone-num {
    color: var(--main-pink);
    font-size: 35px;
    cursor: pointer;
}

/* media query */

@media screen and (min-width: 600px) {
    .nav {
        justify-content: center;
    }

    .nav-item {
        margin-left: 25px;
        margin-right: 25px;
    }
}

@media screen and (max-width: 600px) {
    h2 {
        font-size: 30px;
    }

    .slide {
        animation-name: sliding2;
        animation-duration: 9s;
    }
}

/* animation */
@keyframes sliding {
    0% {
        margin-left: 0px;
        opacity: 1;
    }

    50% {
        margin-left: 0px;
        opacity: 1;
    }

    100% {
        margin-left: 100px;
        opacity: 0;
    }
}

@keyframes sliding2 {
    0% {
        margin-left: 0px;
        opacity: 1;
    }

    50% {
        margin-left: 0px;
        opacity: 1;
    }

    100% {
        /* margin-left: 100px; */
        opacity: 0;
    }
}