/* Colors */
:root {
    --background-color: #353336;
    --accent-color: #d8002f;
    --secondary-color: #d496ab;
    --highlight-color: #546c95;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "MuseoModerno", sans-serif;
}



body {
    background-color: var(--background-color);
    font-family: Arial, sans-serif;
    color: #ffffff;
    display: flex;
    align-items: flex-start; 
    justify-content: center;
    height: 100vh;
    width:100%;
}

.container {
    text-align: center;
    margin-top: 10px;
    width:100%;
}

.centered-image {

    width: 300px;
}

/* Top Menu Styles */
.top-menu {
    position:relative;
    top: 0;
    left:0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 15px 0;

}

.top-menu ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.top-menu ul li a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    transition: color 0.3s ease;
}

.top-menu ul li a:hover {
    color: var(--secondary-color);
}

.top-menu ul li .selected {
    color: var(--highlight-color);
}

.top-menu  .language {
    color: var(--highlight-color);
    position:absolute;
    right:0px;

}

.top-menu  .language img {
    width: 24px;
    height: 23px;
    margin-right: 10px;
}

h1, h2, h3, h4 {
    font-size: 2.5em;
    color: var(--highlight-color);
    margin-bottom: 0.5em;
    margin-top:0;
}

.description {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin-bottom: 2em;
}

.portfolio {
    width:80%;
    margin:0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-items: center;
    align-items: center;
    gap: 30px;
}




@media only screen and (min-width: 768px) {
    .portfolio {
        width:90%;
        display: flex;
        flex-wrap: wrap;
        margin:0 auto;
        
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        justify-items: center;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .portfolio-item {
        max-width: 90%;
        align-items: center;
        justify-items: center;
        flex-shrink: 0;
    }

}

.portfolio-item {
    max-width: 90%;
    align-items: center;
    justify-items: center;
    margin-left:20px;
}



.portfolio-item img {
    margin:0 auto;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}


.modal {
    
    display: none; /* Initially hidden */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;  
    justify-items: center;
  
  }
  
  .modal img {
    margin:0 auto;

    height:100%
    max-height: 100%;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out; /* Add transition */
    transform: scale(0); 
  }

  .modal.show img {
    transform: scale(1); /* Final scale */
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12pt;
    color: #fff;
    cursor: pointer;

  }

.portfolio-item a { color:white; text-decoration:none; }

.portfolio-item a:hover {
    color: white;
    text-decoration: none;
}
.portfolio-item a:visited {
    color: white;
}   


