* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Lato', serif;
}

header {
    opacity: 1;
    background-color: #9ac1d9;
    color: white;
    text-align: center;
    padding: 5px;
    font-size: 30px;
    border-bottom: 3px solid black;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

header ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-start;
    padding: 10px;
    flex-direction: row;
    align-items: center;
}

header li {
    padding: 10px 20px;
    background: rgb(108, 110, 110);
    border: 2px solid black;
    border-right: 0;
    transition: 0.1s ease;
}

header #last_li {
    border-right: 2px solid black;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

header #first_li{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background: rgb(122, 132, 132);
}

header li:hover{
    transition: 0.2s ease;
    background: rgb(131, 134, 136);
}



.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 30px;
    margin-top: 100px;
}

.gallery img {
    width: 30%;
    margin: 20px auto;
    border: 3px solid black;
    border-radius: 15px;
    transition: all 0.7s ease;
}


.gallery img:hover{
    transform: scale(1.05);
    border: 3px solid rgb(58, 58, 58);
    transition: transform 0.3s ease;
}


.infos div {
    opacity: 1;
    position: fixed;
    top: 0;
    right: 0;
    padding: 20px;
    margin: 20px;
    background-color: rgb(110, 110, 110);
    color: black;
    border-radius: 20px;
    border: 2px solid black;
    transition: all 0.2s ease-in-out;
}

ul#painting_container {
    list-style-type: none;
    display: flex;
    justify-content: flex-start;
    padding: 20px;
    flex-direction: column;
    align-items: center;
}

ul#painting_container li {
    align-self: flex-start;
}


ul#painting_title_container {
    border: 3px solid black;
    border-radius: 15px;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-top: 20px;
    margin-left: 20px;
    flex-direction: row;
    align-items: center;
    width: 95vw;
    overflow-x: auto;
}

#painting {
    width: 95vw;
    border: 3px solid black;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

#painting:hover {
    transform: scale(1.01);
    border: 3px solid rgb(58, 58, 58);
    transition: transform 0.3s ease;
}

#painting_description{
    margin-top: 20px;
    padding: 20px;
    border: 3px solid black;
    border-radius: 15px;
    width: 95vw;
}

#presentation{
    margin-top: 150px;
    padding: 40px;
}


footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 100px;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
