* {
    /* border: 1px solid red; */
    padding: 0px;
    margin: 0px;
    font-family: 'Gill', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    --main-colour: rgb(240, 240, 240);
    --aa-colour: #4675B8;
    --aa-colour-50light: #a2badc;
    --aa-colour-dark: #1c2f4a;
    list-style: none;
}

body {
    background-color: var(--aa-colour-50light);
}

.content {
    min-height: calc(100vh - 280px);
}

/* Title / Nav Bar */
.header-container{
    position: relative;
    margin-top: 2em;
    height: 980px;
}

.non-home-page {
    height: auto;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1024px;
    object-fit: cover;
    z-index: -1;
}

header-bar {
    background-color: var(--aa-colour);
    margin: 2em;
    border-radius: 20px;
    display: flex;
    align-items: center;
    border: 1px black solid;
    box-shadow: 1px 4px 5px rgba(0, 0, 0, 0.5);
}

header-bar h1 {
    margin-top: 0px;
    margin-bottom: 0px;
}

.left-section {
    display: flex;
    align-items: center;
    color: var(--main-colour);
}

.left-section img {
    width: 6em;
    height: 6em;
    margin: .25em;
}

.right-section {
    margin-left: auto;
    color: var(--main-colour);
    padding: 1.75em;
} 

.right-section ul {
    list-style: none;
    display: flex;
    font-size: 1.5em;
    margin-bottom: 0px;
}

.right-section li {
    margin-left: .75em;
}

.right-section a {
    color: var(--main-colour);
    text-decoration: none;
}

.right-section a:hover{
    text-decoration: underline;
}

.top-flavour-text {
    color: var(--main-colour);
    position: absolute;
    top: 625px;
}

.top-flavour-text h2 {
    font-size: 4em;
    font-weight: 700;
    -webkit-text-stroke: 1px black;
    text-stroke: 1px black;
}

.top-flavour-text .one {
    position: relative;
    left: 15%;
}

.top-flavour-text .two {
    position: relative;
    left: 25%;
}

.top-flavour-text .three {
    position: relative;
    left: 35%;
}

/* Services Section */
main {
    width: 100%;
    background-color: var(--aa-colour-50light);
    padding-bottom: 4em;
}

.services-container {
    position: relative;
    top: 2em;
    border: 1px black solid;
    border-radius: 8px;
    box-shadow: 1px 4px 5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    width: auto;
    margin-left: 2em;
    margin-right: 2em;
    background-color: var(--main-colour);
}

.row {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.card {
    display: flex;
    flex-direction: column;
    margin: 3em;
    border: 1px solid black;
    border-radius: 8px;
    box-shadow: 1px 4px 5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    width: 40%;
    max-width: 100%;
    align-items: center;
    position: relative;
}

.card-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    position: relative;
}

.card-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the overlay opacity as needed */
    z-index: 1;
  }
  
.card-image-img {
    opacity: 0.75;
    width: 100%;
    height: 120%;
    z-index: 2;
}

.card-content {
    width: 95%;
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-25%, -50%);
    overflow: auto;
    z-index: 3;
}

.card-content p {
    text-align: center;
    color: var(--main-colour);
    font-size: 1.5em;
    font-weight: 800;
}

.card-content h3 {
    text-align: center;
    color: var(--main-colour);
    font-size: 1.95em;
    font-weight: 800;http://127.0.0.1:5000/
}

.card-title {
    margin: 0 0 8px;
    text-align: center;
}

.card-description {
    margin: 0 0 16px;
    text-align: center;
}

/* Customers */

.customer-container {
    background-color: var(--aa-colour-50light);
}

.customer-container ul {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.customer-container img {
    width: 250px;
}

.customer-container h2 {
    text-align: center;
    margin: .75em;
}

/* Testimonials */
.testimonials h2 {
    text-align: center;
    margin: .75em;
}

.testim-carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
    margin-bottom: 5em;
    margin-left: auto;
    margin-right: auto;
}

 .prev-button, .next-button {
    width: 3em;
    height: 3em;
    font-weight: 900;
    font-size: large;
    background-color: rgba(0, 0, 0, 0.0);
    border: none;
    margin: 2em;
}

.prev-button:hover, .next-button:hover {
    background-color: rgba(28, 47, 74, 0.5);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
  
.testim-card {
    width: 90%;
    background-color: #f5f5f5;
    border: 1px black solid;
    border-radius: 8px;
    box-shadow: 1px 4px 5px rgba(0, 0, 0, 0.5);
    padding: 20px;
    margin-bottom: 1em;
}
  
.show {
    opacity: 1;
}

.testim-text {
    font-size: 16px;
    margin-bottom: 10px;
}

.testim-author {
    font-size: 14px;
    color: #888;
}

/* About us Page */
.about-us-container {
    background-color: var(--main-colour);
    border: black 1px solid;
    margin: 2em;
    border-radius: 20px;
    position: relative;
    box-shadow: 1px 4px 5px rgba(0, 0, 0, 0.5);
    padding: 2em;
}

.about-us-container li {
    list-style: circle;
    margin-left: 2em;
}




/* Contact Page  */
.email_container {
    background-color: var(--main-colour);
    border: black 1px solid;
    margin: 2em;
    border-radius: 20px;
    position: relative;
    box-shadow: 1px 4px 5px rgba(0, 0, 0, 0.5);
    padding: 2em;
}


.email_container p {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

form {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

textarea {
    width: 100%;
}

.send-btn {
    padding: .75em 2em;
    border-radius: 25px;
    background-color: var(--aa-colour);
    color: var(--main-colour);
    font-size: larger;
    font-weight: 700;
}


/* PopUp */

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}
  
.popup:target {
    display: block;
}
  
.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
  
.popup-content {
    text-align: center;
}

.popup-content h1 {
    margin: .8em;
}
  
.popup-content p {
    margin: .8em;
}




/* Footer */

footer {
    border-top: 1px black solid;
    text-align: center;
    background-color: var(--aa-colour-dark);
    color: var(--main-colour);
    height: 250px;
}

footer li {
    padding: 1.25em;
}

footer a {
    color: var(--main-colour);
    text-decoration: none;
}

footer a::hover {
    text-decoration: underline;
}

.copyright {
    padding-bottom: 1em;
}

.copyright p {
    padding-top: .75em;
}

.internal-links-container ul {
    display: flex;
    justify-content:center;
}

.social-links-container ul {
    display: flex;
    justify-content: space-evenly;
    font-size: 2em;
}

/* Count Down Promos */
.countdown-container {
    background-color: #304858;
    padding: .5em;
    width: 100%;
    text-align: center;
    color: var(--main-colour);
    text-transform: uppercase;
}

.countdown-container a {
    color: var(--main-colour);
}

.countdown-container img {
    vertical-align: middle;
}

.time {
    color: rgb(10, 238, 10);
}



/* Mobile sizing */
@media screen and (max-width: 1000px) {
    .top-flavour-text h2 {
        font-size: 3em;
        font-weight: 500;
    }
    
    .top-flavour-text .one {
        left: 10%;
    }
    
    .top-flavour-text .two {
        left: 15%;
    }
    
    .top-flavour-text .three {
        left: 20%;
    }
}

@media screen and (max-width: 900px) {
    /* Header */
    .header-container {
        margin-top: 0px;
    }

    header-bar {
        margin: .75em;
        flex-direction: column;
    }

    .left-section {
        flex-direction: column;
    }

    .right-section {
        margin-left: 0px;
    }

    .right-section li {
        margin-left: 0px;
        margin-right: 0.75em;
    }

    /* Services Section */

    .row {
        flex-direction: column;
    }

    .card {
        margin-top: 1.5em;
        margin-bottom: 1.5em;
        margin-right: auto;
        margin-left: auto;
        width: 90%;
    }

    /* About */
    .about-us-container {
        margin: 0.75em;
    }


    /* contact  */
    .email_container {
        margin: 0.75em;
    }

    .email_container p {
        width: 100%;
    }
    
    form {
        width: 100%;
    }

    /* testimonials */
    .prev-button, .next-button {
        margin-right: 0;
        margin-left: 0;
    }


}

@media screen and (max-width: 650px) {
    .top-flavour-text h2 {
        font-size: 1.5em;
        font-weight: 500;
    }
    
    .top-flavour-text .one {
        left: 10%;
    }
    
    .top-flavour-text .two {
        left: 15%;
    }
    
    .top-flavour-text .three {
        left: 20%;
    }

    .customer-container img {
        width: 100px;
    }

.social-links-container ul {
    justify-content:space-evenly;
    font-size: 1.1em;
}

}




@media screen and (max-width: 450px) {
    /* Header */
    .header-container {
        margin-top: 0px;
    }

    header-bar {
        margin: 0px;
        border-radius: 0px;
        flex-direction: column;
    }

    .left-section {
        flex-direction: column;
    }

    .right-section {
        margin-left: 0px;
    }



    /*  Services */
    .services-container {
        top: .25em;
        margin-left: .25em;
        margin-right: .25em;
    }

    .row {
        flex-direction: column;
    }

    .card {
        margin-top: .5em;
        margin-bottom: .5em;
        margin-right: auto;
        margin-left: auto;
        width: 95%;
    }

    .card-content p {
        font-size: 0.95em;
    }

    .card-content h3 {
        font-size: 1.55em;
    }
}


