/* Estilos para tablets */
@media (max-width: 768px) {
    .hero-section, .headshot, .resume {
        height: auto;
        width: auto;
    }
    .navbar-custom .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        justify-content: flex-end;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer {
        position: fixed; 
        bottom: 0;
        width: 100%;
    }

    .card-img-top {
        height: auto; 
    }
    .navbar-custom .navbar-nav .nav-item {
        display: block;
    }

    .headshot-btn {
        display: flex; 
        justify-content: center; 
        align-items: center; 
        flex-direction: column;
        gap: 20px;
        padding-top: 50px;
    }

    .images-container {
        display: flex; 
        justify-content: center; 
        align-items: center; 
        padding-top: 30px; 
        gap: 50px; 
        padding-bottom: 20px;
        flex-direction: column;
    }
}

/* Estilos para smartphones */
@media (max-width: 576px) {
    .hero-section, .headshot, .resume {
        height: auto;
        width: auto;
    }

    .footer {
        position: fixed; 
        bottom: 0;
        width: 100%;
    }

    .hero-section img {
        max-width: 100%;
        height: auto;
        display: block;
        margin-left: auto; /* Centraliza horizontalmente */
        margin-right: auto; /* Centraliza horizontalmente */
    }
    .navbar-custom a {
        font-size: 1em; 
    }

    .text-center, .label {
        font-size: 20px; 
    }
    
    .bio-text p {
        font-size: 1em; 
    }
    
    .footer-paragraph {
        text-align: center; 
    }

    .footer-icons {
        justify-content: center; 
    }
}


html, body {
    height: 100%; 
    margin: 0; 
  }

body {
    font-family: 'Sofia Sans', sans-serif;
    background-color: #eeedea;
    opacity: 1;
    transition: opacity 2s ease-in-out;
    position: relative;
    margin: 0;
    padding: 0;
}
html {
    margin: 0;
    padding: 0;
}

.fade-out{
    opacity: 0;
    pointer-events: none;
    transition: opacity 2s ease-in-out;
}

.fade-in{
    opacity: 1;
    transition: opacity 2s ease-in-out;
}
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10; 
}

.hero-section {
    margin-top: 0;
    height: 100vh;
    width: 100vw;
    background-image: url('images/bruno_landing.JPG');
    background-size: cover;
    /* background-position: center; */
    background-position: center top;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
  .hero-section {
    height: 180vh;
    background-position: center 15%; /* move image UP on desktop */
  }
}

.images-container {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding-top: 30px; 
    gap: 50px; 
    padding-bottom: 20px;
}

.headshot-btn {
    display: flex; 
    justify-content: center; 
    /* align-items: center;  */
    /* flex-direction: column; */
    gap: 20px;
    padding-top: 50px;
}

.download-btn, .btn-primary {
    background-color: #fcfffd;
    color: #305151;
    font-weight: bolder;
    border: none;
    transform: translateY(-50%);
}

.download-btn:hover, .download-btn:focus, .btn-primary:hover, .btn-primary:focus {
    background-color: #e0e9e3; 
    color: #a3aca2; 
    border: none;
}

.headshot {
    flex: 1;
    width: calc(40% - 25px); 
    height: 100vh; 
    object-fit: cover; 
    object-position: center top; 
    margin-left: 50px;
}

.resume {
    flex: 1; 
    width: calc(40% - 25px);  
    height: 100vh; 
    margin-right: 50px;
}

.contact-container {
    justify-content: center;
    align-items: center;
    padding-top: 120px;
}

.text-center, label{
    color: #305151;
    font-size: 25px;
    transition: color 2s ease-in-out, font-size 2s ease-in-out;
}

.bio-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #305151;
    text-align: center;
    margin: 20px 0; 
}

.bio-text p{
    margin-bottom: 20px;
    font-size: 1.5em;
}

.highlight {
    background-color: rgb(193, 193, 191); 
    padding: 2px 2px; 
    border-radius: 3px; 
    font-weight: bold; 
}

.card{
    margin-bottom: 20px;
}

.card-img-top {
    height: 600px; 
    object-fit: cover; 
  }
  
.container.my-5 {
    text-align: center; 
}

footer {
    display: flex;
    background-color: #305151;
    height: 100px; 
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: absolute; 

    left: 0; 
  }
  
.footer-paragraph {
    margin: 0; 
    color: #a3aca2;
}
  
.footer-icons {
    display: flex;
    gap: 20px; 
}
.responsive-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* Proporção para vídeos do YouTube (16:9) */
    height: 0;
}
  
.responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper {
  max-width: 500px;      
  width: 100%;
  margin: 0 auto;        
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

