
@font-face {
    font-family: 'Alex Brush';
    src: url('../fonts/AlexBrush-Regular.ttf') format('truetype');
}


html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: hsl(0, 7%, 17%);
    font-family: Arial, sans-serif;
    line-height: 1.7;

    background-color: #f8e8ee;
    background-image: url("../images/latinaslogo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

/* overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.55);
    z-index: -1;
}


#wrapper {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
}


.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 9999;
}
.logo img {
    width: 160px;
    height: auto;
}


h1, h2, h3 {
    font-family: 'Alex Brush', cursive;
    text-align: center;
}

h1 {
    font-size: 3rem;
}

/* vavigation */
.nav-box {
    border: 2px solid black;
    padding: 10px 15px;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
    z-index: 9999;
}

nav a {
    text-decoration: none;
    color: #333;
    padding: 0 10px;
}

nav a:hover {
    color: #994c0d;
}


.dropdown {
    position: relative;
    display: inline-block;
    z-index: 10000;
}

.dropbtn {
    color: #333;
    padding: 0 10px;
    text-decoration: none;
    cursor: pointer;
}

.dropbtn:hover {
    color: #994c0d;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 160px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 99999;
    border-radius: 6px;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
}

.dropdown:hover .dropdown-content {
    display: block;
}


.hero {
    width: 940px;
    margin: 0 auto;
    height: 680px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
}

.wrapper {
    display: flex;
    gap: 20px;
}

main {
    flex: 2;
    background: rgba(255,255,255,0.75);
    padding: 20px;
    border-radius: 10px;
    min-width: 0;
}

aside {
    flex: 1;
    background: rgba(255,255,255,0.75);
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
    min-width: 0px;
}

aside:hover {
    transform: translateY(-5px);
}


.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;
    color: purple;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}


.icon {
    width: 18px;
    height: 18px;
}

/* gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery img {
    width: 100px;
    height: auto;
}


footer {
    text-align: center;
    padding: 25px;
    background: rgba(255,255,255,0.85);
    margin-top: 30px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
/* back to top */
.back-to-top {
    display: block;
    text-align: center;
    margin: 30px auto;
    padding: 10px;
    width: 150px;

    background: #994c0d;
    color: white;
    text-decoration: none;
    border-radius: 8px;

    transition: 0.3s;
}

.back-to-top:hover {
    background: #c06a1a;
    transform: scale(1.05);
}


@media (max-width: 600px) {

    .header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .wrapper {
        flex-direction: column;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        width: 100%;
        height: auto;
    }
}

/* CONTACT FORM */

.contact-page form {
    max-width: 580px;
    margin-bottom: 15px;
}

.contact-page fieldset {
    padding: 10px;
    border-radius: 5px;
    border: 1px dotted #800;
}

.contact-page legend {
    font-size: 1.3em;
    font-style: italic;
    padding: 0 5px;
}

.contact-page label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1.1em;
}

.contact-page input {
    margin-bottom: 10px;
    height: 30px;
    width: 100%;
}

.contact-page input[type="radio"],
.contact-page input[type="checkbox"] {
    height: auto;
    width: auto;
    margin-right: 3px;
    margin-bottom: 3px;
}

.contact-page input[type="submit"] {
    width: auto;
    padding: 8px 15px;
}

.contact-page ul {
    margin-left: 15px;
    margin-bottom: 10px;
}

.contact-page li {
    list-style: none;
}

.contact-page select {
    margin-bottom: 10px;
    width: 100%;
    height: 30px;
}

.contact-page textarea {
    width: 100%;
    height: 110px;
    margin-bottom: 10px;
}

/* Thank You Page */

.thank-you {
    text-align: center;
    padding: 80px 20px;
}


