
.img-display {
    display: flex;
    justify-content: center;
   
}

.img-display a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
   
}

.img-display a:hover {
    background-color: #575757;
}

.myCV {
    display: flex;
    align-items: center;
    margin: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-left: 240px;
    padding: 20px;
    
}

.myCV img {
    margin: 0 10px;
    max-width: 100px;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.myCV img:hover {
    transform: scale(1.05);
}



h1 {
    text-align: center;
}



.modal img {
    max-width: 100%;
    max-height: 100%;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black with opacity */
    display: flex; /* Center modal content */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.next-btn {
    display: none; 
    position: absolute;
    margin-top: 50px;
    right: 30px;
    background-color: white;
    color: black;
    border: none;
    padding: 10px;
    cursor: pointer;
    background: none;
    background-size: cover;
    cursor: pointer;
}
@media (max-width: 1000px) {
   
    
    .next-btn {
        font-size: 14px; /* Slightly smaller button text */
        padding: 8px; /* Reduced padding */
    }
    
    h1 {
        font-size: 1.2em; /* Smaller font size */
    }
    
    .img-display img {
        max-width: 50%; /* Make images larger on mobile */
    }
    .myCV img {
        flex-direction: row;
        max-width: 50px;
       
    }
}
.prev-btn{
   background: none;
    background-size: cover;
    cursor: pointer;
    padding: 10px;
    margin-top: 50px;
    position: absolute;
    left: 50px;

    

}

