/* style.css */

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

html {
    overflow-x: hidden;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;

    position: relative;
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-image: url('background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: -1;
}

main {
    flex: 1;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.logo-container {
    height: 200px;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
}

.logo {
    margin: auto;
    width: 90vw;
    max-width: 600px;
    height: auto;
}

.hero {
    background-color: white;
    padding: 30px 0;
    text-align: center;
}

.hero-band-white {
    width: 100%;
    height: 10px;
    background-color: white;
}

.hero-band-purple {
    width: 100%;
    height: 12px;
    background-color: #752768;
}

.hero h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #111827;
    line-height: 125%;    
}

.hero p {
    max-width: 9000px;
    margin: 0 auto;
}

.content {
    padding: 50px 0;
}

.content .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    backround-color: white;
}

.card {
    background-color: white;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.contacts {
    display: flex; 
    flex-wrap: wrap; 
}

.contact-details {
    width: 49%;
    align-self: flex-end;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly; 
}

nav .div {
    width: 20%;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    color: #752768;
}

@media (min-width: 644px) {
    .contact-details {
        width: 100%;
        align-self: auto;
    }    
}

.card h3 {
    margin-bottom: 15px;
    color: #111827;
}

footer {
    background-color: #1f2937;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

.map {
    width: 100%;
    height: 300px;
    margin-bottom: 40px;
}

.footer-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    width: 80vw;
    max-width: 1200px;
}

/* GALLERY */
.gallery {
    overflow: hidden;
    background: white;
    padding: 20px 0 0 0;
}

.gallery-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.gallery-item {
    flex: 0 0 auto;
    width: 400px;
    height: 300px;
    margin-right: 12px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* SCROLL ANIMATION */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}