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

header {
    background-image: url('/Users/ailsonferreira/Desktop/BSDT/pics/mountain.jpeg');
    background-size: cover;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;

}

.header-container {
    display: flex;
    justify-content: space-between;
    height: 100%;

}

body {
    font-family: Arial, sans-serif;
    background-image: linear-gradient(to top, #bcd4e8, #5b82bc);
    color: #333;
    margin: 1.5rem;
}

.logo {
    height: 7.8rem;
    border-radius: 50%;
}

@media (max-width: 410px) {
    .logo {
        height: 5rem;
    }
}

.logo:hover {
    transform: rotate(360deg) scale(1.1);
    transition: transform 2s ease-in-out;
}

.nav {
    display: block;
    gap: 1rem;
    text-transform: uppercase;


}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

@media (max-width: 580px) {
    .nav-link {
        font-size: 0.8rem;
        padding: 0.1rem;
    }
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

h1 {
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 3rem;
}

.about {
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-image: linear-gradient(to bottom, #90CAF9, #E3F2FD);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    padding: 1rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}




.abt-content {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #0c2f63;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
}

.styles {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
    justify-content: space-around;
}

@media (max-width: 880px) {
    .styles {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .styles {
        grid-template-columns: 1fr;
    }
}

.style-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.style-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.style-img:hover {
    transform: scale(2.1);
}

.style-card {
    background-color: #64B5F6;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease,
        box-shadow 0.3s ease;
}

.style-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.gal-title {
    text-align: center;
    font-size: 2rem;
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}



.carousel-body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 50vh;
    margin-bottom: 2rem;
    border-radius: 1rem;
    background-image: linear-gradient(to bottom, #90CAF9, #E3F2FD);

}



.carousel {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    height: 300px;
    width: 900px;
    overflow: hidden;
}

@media (max-width: 880px) {
    .carousel {
        width: 100%;
    }
}

.image-container {
    display: flex;
    transform: translateX(0);
    transition: transform 0.5s ease-in-out;
}

.carousel-img {
    width: 400px;
    height: 400px;
    object-fit: cover;
}

.bottons-container {
    display: flex;
    /* justify-content: space-between; */
    gap: 10rem;
    margin-top: 1rem;

}

@media (max-width: 880px) {
    .bottons-container {
        gap: 1rem;
    }
}

.carousel-btn {
    background-color: #90CAF9;
    border-radius: 5px;
    border-color: #64B5F6;
    padding: 10px 40px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease-in-out;
}

.carousel-btn:hover {
    background-color: #64B5F6;
}

.gallery-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background-image: linear-gradient(to bottom, #90CAF9, #E3F2FD);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.gallery-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-image: linear-gradient(to bottom, #90CAF9, #E3F2FD);
    padding: 0rem;
    border-radius: 10px;


}

@media (max-width: 880px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
}






.gallery-img {
    width: 12rem;
    height: 12rem;
    object-fit: cover;
    gap: 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.5);
}

.gallery-ymca {
    max-width: 50rem;
    border-radius: 5px;
    margin-right: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 1.2);
}

@media (max-width: 880px) {
    .gallery-ymca {
        margin-right: 0;
    }
}

.gallery-bcyf {
    max-width: 50rem;
    border-radius: 5px;
    /* margin-right: 5px; */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 1.2);
}




.ymca-info {
    width: 10rem;
    height: 10rem;
    margin-left: 50px;

}

@media (max-width: 880px) {
    .ymca-info {
        margin-left: 1rem;
    }
}

.bcyf-info {
    width: 10rem;
    height: 10rem;
    margin-left: 150px;
}

@media (max-width: 880px) {
    .bcyf-info {
        margin-left: 1rem;
    }
}

.btn-sign-up-bcyf {
    margin: 10rem;
    margin-bottom: 10px;
    background-color: #90CAF9;
    border-radius: 5px;
    border-color: #64B5F6;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease-in-out;
}

@media (max-width: 880px) {
    .btn-sign-up-bcyf {
        margin: 1rem;
    }
}

.btn-sign-up-ymca {
    margin: 10rem;
    margin-bottom: 10px;
    background-color: #90CAF9;
    border-radius: 5px;
    border-color: #64B5F6;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease-in-out;
}

@media (max-width: 880px) {
    .btn-sign-up-ymca {
        margin: 1rem;
    }
}

.btn-sign-up-ymca:hover {
    background-color: #64b5f6;

}

.btn-sign-up-bcyf:hover {
    background-color: #64b5f6;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: 40rem;
    background-image: linear-gradient(to bottom, #90CAF9, #E3F2FD);
}

@media (max-width: 880px) {
    .form-container {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.contact-form {
    /* border: solid 5px #7e9def; */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;

}

.cta-form {
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    align-items: center;

}

.input-box {
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    font-size: 1rem;
}

.message-box {
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    height: 10rem;
    font-size: 1rem;
    resize: none;
}

.contact-info {
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    /* text-align: center; */
    align-content: space-between;
}

.social-media {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 650px) {
    .social-media {
        flex-direction: column;
        align-items: center;
    }
}

.questions {
    text-align: start;
    font-size: 1.5rem;
    line-height: 3rem;
    margin-bottom: 1rem;
    padding: 1rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    list-style: none;
}

@media (max-width: 650px) {
    .questions {
        font-size: 1.2rem;
        line-height: 2rem;
    }
}



.cta-btn {
    background-color: #90CAF9;
    border-radius: 5px;
    border-color: #64B5F6;
    padding: 1rem;
    width: 10rem;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease-in-out;
}

.cta-btn:hover {
    background-color: #64B5F6;
}