/* ----------------------------------------------------------------------------------------------- Logo Font imported from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Monoton&family=Montserrat&display=swap');

/* ----------------------------------------------------------------------------------------------- Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* ----------------------------------------------------------------------------------------------- Return to Top Button */
.return-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #343a40;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

.return-top i {
    font-size: 1.2rem;
}

.return-top:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background-color: #000;
}

/* Make sure sections that have the return button are positioned relatively */
#about, #gallery, #contact {
    position: relative;
}

.return-top:hover {
    color: #ffffff;
    text-decoration: none;
    opacity: 1;
    transform: translateY(-5px);
}

/* ----------------------------------------------------------------------------------------------- Navbar Styles */
.logo-font {
    font-family: 'Monoton', cursive;
    font-weight: 100;
}

.navbar-center {
    display: flex;
    justify-content: space-around;
}

/* ----------------------------------------------------------------------------------------------- Hero Styles */

.hero-image {
    background-image: url("https://fabiodearaujo.github.io/studiovictoria_mp1/assets/img/silvestre-leon-unsplash.jpg"); 
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 100%;
    width: 100%;
    color: #ffffff;
    font-family: "Monoton", cursive;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation-name: hero-zoom;
    animation-duration: 5s;
    animation-fill-mode: forwards;

}


#hero-animation {
    height: 50em;
    width: 100%;
    overflow: hidden;

}

.hero-image h1 {
    padding: 20px;
    letter-spacing: 7px;
    font-size: 3em;
}

.hero-image p {
    font-family: "Montserrat", cursive;
    padding: 20px;
    font-size: 1em;
}

.logo-wrapper {
    background-color: rgba(157, 157, 157, 0.7);
}


.alert {
    z-index: 5;
    text-align: center;
    margin: 0;
}

/* ----------------------------------------------------------------------------------------------- Zoom effect idea taken from Love Run website on the course */
@keyframes hero-zoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}



/* ----------------------------------------------------------------------------------------------- Footer Styles */

.footer-container {
    display: flex;
    flex-wrap: wrap;
   
}

.footer-contact {
    background-color: rgb(54, 54, 54);
    color: #ffffff;
    height: 60px;
    width: 100%;
    border-right-color: #fff;
    border-right-width: 20px;
    text-align: center;
}

.footer-contact a {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: small;
    text-decoration: none;
    color: #ffffff;
    margin-bottom: 0;
    margin-left: 10px;
    padding-top: 4px;
    
}

.footer-contact a:hover, .social-element a:hover {
   color: #696969;
   text-decoration: none;
}

.footer-social {
    background-color: rgb(54, 54, 54);
    color: #ffffff;
    height: 60px;
    width: 100%;
    border-left-color: #fff;
    border-left-width: 20px;
    text-align: center;
    display: inline-flex;
    justify-content: space-evenly;
}

.social-element {
    font-family: "Montserrat", sans-serif;
    font-size: 7px;
    text-decoration: none;
    margin-bottom: 0;
    margin-right: 10px;
    padding-top: 16px;
}

.social-element i {
    font-size: large;
    color: #ffffff;
}

.social-element a {
    color: #ffffff;
}

.footer-copyright {
    margin-bottom: 0;
    padding: 3px;
    height: 100%;
    width: 100%;
    background-color: black;
    color: #8d8b8b;
    text-align: center;
    font-size: 10px;
}

.footer-copyright p {
    margin-bottom: 0;
}



/* ----------------------------------------------------------------------------------------------- About Styles */

#about {
    height: 100%;
    width: 100%;
    background-color: rgb(111, 111, 111);
    font-family: "Montserrat", sans-serif;
}

.about-history {
    padding: 20px;
    color: #ffffff;
    text-align: center;
}

.about-history p {
    margin-bottom: 0;
}

.my-card-container {
    margin: 0;
}

.card {
    margin: 10px;
}

.card-img-top {
    height: 60%;
    width: 100%;
}

.divisor {
    height: 1em;
    width: 100%;
}


/* ----------------------------------------------------------------------------------------------- Gallery Styles */

#gallery {
    height: 100%;
    width: 100%;
    background-color: rgb(157, 157, 157);
    font-family: "Montserrat", sans-serif;
}

.gallery-title {
    text-align: center;
    padding: 20px;
}

.gallery-container {
    text-align: center;
    color: #ffffff;
    padding-bottom: 20px;
}




/* ----------------------------------------------------------------------------------------------- Contact Styles */

#contact {
    height: 50em;
    width: 100%;
    background-color: rgb(111, 111, 111);
    font-family: "Montserrat", sans-serif;
    color: #ffffff;
    text-align: center;
    display: flex;
    background-image: url("./assets/img/keagan-henman-unsplash.jpg"); 
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
}


/* Background overlay */
.contact-container {
    text-align: center;
    width: 100%;
    padding: 50px 15px;
    background-color: rgba(187, 187, 187, 0.8);
    
}

.contact-container h6 {
    padding-bottom: 50px;
    padding-top: 20px;
}

.center-form {
    position: relative;
    display: flex;
    justify-content: center;
}

.form-container {
    width: 80%;
    padding-top: 50px;
    
}

.form-container input {
    margin-bottom: 15px;
}

.form-container textarea {
    margin-bottom: 50px;
}


/* ----------------------------------------------------------------------------------------------- Responsive design - Mobile first  */

@media screen and (min-width: 580px) {
    .hero-image h1 {
        font-size: 4.5em;
    }
    
    .hero-image p {
        font-size: 1.5em;
    }

    .footer-contact {
        width: 50%;
    }

    .footer-contact a {
        font-size: 12px;
              
    }

    .footer-social {
        width: 50%;
    }

    .social-element{
        font-size: 12px;
        margin-left: 10px;
    }
    
    .social-element i {
        font-size: large;
    }
    
    #about {
        height: 100%;
        
    }
    .about-history {
        padding: 50px;
    }

    .my-card-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;

    }

    .card {
        max-width: 500px;
    }

    .carousel-item {
        display: flex!important;
        justify-content: center;
        
    }

    .carousel-item img {
        height: 50em;
        width: 60%!important;
    }

    .form-container {
        width: 60%;
                
    }


}

@media screen and (min-width: 900px) {
    
    .footer-contact a {
        font-size: 15px;
              
    }

    .social-element{
        font-size: 15px;
        margin-left: 10px;
    }
    
    .social-element i {
        font-size: x-large;
    }

    .about-history {
        padding: 50px 150px 50px 150px;
    }

    .carousel-item img {
        width: 45%!important;
    }

    .form-container {
        width: 50%;
                
    }

}

@media screen and (min-width: 1500px) {
    
    .about-history {
        padding: 50px 250px 50px 250px;
    }

    .divisor {
        height: 2.85em;
    }

    .carousel-item img {
        width: 30%!important;
    }
}

