body, html, * {
    margin: 0;
    padding: 0;
    font-family: "proxima-nova", sans-serif;
    
}

.name-container {
    font-weight: 500;
    margin: 1rem;
    font-size: 0.75rem;
    font-style: italic;
    
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: hidden;   
}

.email {
    font-size: 14px;
    position: absolute;
    top: 97%;
    right: 1%;
}

#media-container-wrapper {
    position: relative;
    width: auto; /* Adjust width based on media */
}

#media-container {
    display: flex;
    justify-content: center;
    align-items: center; /* Media height */
    width: 100%; /* Ensures container is 100% width */
    max-width: 80vw; /* Limit maximum width */
    cursor: pointer;
}

#media-container video,
#media-container img {
    max-height: 100%; /* Constrain media height */
    max-width: 100%; /* Constrain media width */
    object-fit: contain; /* Ensure proper scaling */
}

#label-container {
    white-space: nowrap;
    position: absolute;
    text-align: center;
    width: 100%; /* Match the width of the wrapper */
    pointer-events: none; /* Ensure the label doesn't interfere with hover events */
    opacity: 0; /* Start hidden */
    transition: opacity 0.2s ease-in-out; /* Smooth fade-in and fade-out */
}

#label-container.visible {
    opacity: 1; /* Fully visible when the class is added */
}


#bold-number {
    font-size: 16px;
    font-family: "proxima-nova", sans-serif;
    font-weight: 600;
    font-style: italic;
    margin-right: 4px;
}

#label {
   
    font-size: 14px;
    font-weight: 300;
}


#youtube-icon {
    position: absolute;
    top: 5px;
    right: 20px;
    width: 70px;
    height: 50px;
    cursor: pointer;
    opacity: 0; 
    z-index: 10;
    transition: 0.2s;
}

#youtube-icon.visible {
    opacity: 1; 
}

#youtube-icon:hover {
    scale: 1.075;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 900px) {

    body #label-container {  
      width: 100%;/* Match the width of the wrapper */
      white-space: wrap;
     
    }

   

    body .main-container {
        height: 75vh;
       
    }

    body #media-container {
        max-width: 90vw; /* Limit maximum width */
        margin-bottom: 3rem;
    }

    body .email {
        position: absolute;
        top: 95%;
        right: 5%;
    }


}