* {
    box-sizing: border-box;
}

:root {
    --grey: #111111;
    --red: #EE1B24;
    --blue: #20419A;
}

body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
}

img {
    width: 100%;
}

section {
    background-color: var(--grey);
}

.colour-white {
    color: white;
}

.font-bold {
    font-weight: bold;
}

.font-italic {
    font-style: italic;
}

hr {
    margin: 0 25px;
}

.list-display {
    display: flex;
    justify-content: space-between;
    margin: 0 25px;
    font-size: 1.4rem;
}

ul li {
    padding: 0.15rem 0;
}

/* nav */

#nav-ghost {
    height: 60px;
}

nav {
    width: 100%;
    height: 60px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid black;
    position: fixed;
    z-index: 1;
}

nav img {
    width: 40px;
}

/* #page-links {
    width: 70%;
    min-width: 210px;
    max-width: 380px;
    display: flex;
    justify-content: space-between;
    margin-right: 10px;
} */

#page-links a{
    margin: 10px;
}

a {
    color: black;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}


/* header */

header {
    position: relative;
    padding-bottom: 1px;
    height: 80vh;
}

.scrolling-colours {
    width: 100%;
    height: 40px;
    background: url(img/shop-colours.svg) repeat-x;
    animation: scroll-bg 20s linear infinite;
    border-bottom: 2px solid black;
}

@keyframes scroll-bg {
    from {
        background-position-x: 0;
    }

    to {
        background-position-x: -150%;
    }
}

#hero {
    height: 100%;
    background-color: var(--grey);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero-gif {
    margin: 140px 0 0 -25px;
    width: 360px;
}

#titles {
    position: absolute;
    top: 10%;
}

#title-mr {
    color: var(--red);
    margin: 0;
    font-size: clamp(1rem, 10vw, 3rem);
    text-align: center;
}

#title-scissors {
    color: var(--red);
    margin: 0;
    font-size: clamp(1.5rem, 20vw, 5rem);
    margin-top: -20px;
}

#hero-subtitle {
    color: white;
    font-weight: 500;
    margin: 0 0 10px;
    font-size: 2rem;
}

#explainer {
    background-color: white;
}

#explainer p {
    margin: 180px 25px;
    line-height: 1.45rem;
}

/* details */

#details {
    padding-bottom: 50px;
}

.overlapping-img {
    position: relative;
    background-color: var(--grey);
}

.half-tone {
    position: absolute;
    background-color: var(--grey);
    width: 100%;
    height: 50%;
    z-index: -1;
}

.list-title {
    margin: 50px 25px 0;
    font-size: 2.5rem;
}

#appointments-container {
    text-align: center;
    padding: 150px 0;
}

#appointments-container h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
}

#appointments-container h2 {
    margin: 0;
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 400;
}

#shop-img {
    padding: 0 25px;
    width: 100%;
    max-width: 800px;
}

/* prices section */

#prices-section {
    background-color: white;
    padding: 80px 0 120px;
}

#owner-img {
    padding: 0 25px;
}

.half-tone-bottom {
    position: absolute;
    bottom: 0;
    background-color: var(--grey);
    width: 100%;
    height: 50%;
    z-index: -1;
}

/* footer */

footer {
    background-color: var(--grey);
    color: white;
    padding:  25px;
}


@media (min-width: 800px) {
    .scrolling-colours {
        animation: scroll-bg 50s linear infinite;
    }

    #explainer {
        max-width: 800px;
        margin: 0 auto;
    }

    #explainer p {
        font-size: 1.5rem;
        line-height: 1.8rem;
    }

    #details {
        padding-bottom: 100px;
    }

    #appointments-container h1 {
        font-size: 4.5rem;
    }

    #appointments-container h2 {
        font-size: 2.5rem;
    }

    .overlapping-img {
        display: none;
    }

    .list-container-desktop {
        display: flex;
        justify-content: space-around;
        width: 100%;
        max-width: 1800px;
        margin: 0 auto;
        padding-top: 50px;
    }

    #desktop-shop-img-container {
        margin-top: 55px;
        padding: 0 25px;
        width: 100%;
        display: flex !important;
        justify-content: center;
        align-items: center;
        max-width: 800px;
    }

    .desktop-list {
        width: 100%;
        max-width: 600px;
    }

    #prices-section {
        max-width: 600px;
        margin: 0 auto;
    }

    footer p {
        font-size: 1.2rem;
        margin: 0 auto;
    }

    #footer-info {
        margin: 0 auto;
    }

}