body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1d1f21, #3a3d40);
    color: #f5f5f5;
}

body.portfolio {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1d1f21, #3a3d40);
    color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

body.portfolio  .marco {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

body.portfolio  .marco h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

body.portfolio .profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    margin-bottom: 20px;
    object-fit: cover;
}

body.portfolio  ul {
    list-style: none;
    padding: 0;
}

body.portfolio  ul li {
    margin: 10px 0;
}

body.portfolio  ul li a {
    color: #ffcc00;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

body.portfolio  ul li a:hover {
    color: #ffd54f;
    text-shadow: 0 0 5px #ffd54f;
}

body.portfolio  footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #b0bec5;
}

body.portfolio  footer a {
    color: #82b1ff;
    text-decoration: none;
}

body.portfolio footer a:hover {
    text-decoration: underline;
}

/* UPLOAD */

body.upload {
    text-align: center;
    font-family: Arial, sans-serif;
}

body.upload .forms {
    display: flex;
    justify-content: center;
    gap: 20px;
}

body.upload .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

body.upload .gallery img {
    width: 200px;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ERRORS*/

body.error {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    color: #333;
  }
  
body.error  .error-container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

body.error .error-container h1 {
    font-size: 4rem;
    color: #ff4b4b;
    margin-bottom: 10px;
}

body.error .error-container p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

body.error .go-home-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #007BFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

body.error .go-home-btn:hover {
    background-color: #0056b3;
}
/* 
// M9 */
div.errors {
    background: lightsalmon;
    border: 1px solid red;
}    

footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #b0bec5;
}

footer a {
    color: #82b1ff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

#cookie_banner {

    display: none;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background-color: #333;
    color: #fff;

    padding: 15px 20px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

#cookie_banner p {
    margin: 0;
    font-size: 14px;
}

#cookie_banner input[type="submit"], #cookie_banner button {
    background-color: #f1c40f;
    color: #333;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#cookie_banner button {
    display: none;
}

#cookie_banner input[type="submit"]:hover {
    background-color: #d4ac0d;
}