:root{
    --text-color: rgb(255, 255, 255);
    --text-color-hover: rgb(20, 20, 20);
}

*{
    margin: 0;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background-color: rgb(20, 20, 20);
    
}

#header{
    background-color: rgb(43, 0, 0);
    text-align: center;
    /*padding-top: 10px;
    padding-bottom: 10px;*/
    padding: 10px 0;

}

#header>img{
    height: 100px;

}

#navbar{
    background-color: rgb(27, 27, 27);
    padding: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    border-radius: 10px;
    gap: 7px;

    /*
    width: 80vw;
    height: 80vh;
    */
}

#navbar>a{
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    background-color: rgb(46, 46, 46);
    border-radius: 7px;
    border: 2px solid rgb(46, 46, 46);
    opacity: 0.75;
    flex: 1;
    
}

#navbar>a:hover{
    font-weight: bold;
    border: 2px solid rgb(70, 70, 70);

}

.container{
    margin-top: 10px;
    background-color: rgb(36, 36, 36);
    display: flex;
    justify-content: space-evenly;
    padding: 10px;
    gap: 20px;
}

.card{
    width: calc(100%/3);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card img{
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    border: 1px solid #555;
}

.card .caption,
.modal .caption{
    padding: 10px;
    background-color: rgb(100, 100, 100);
    border-radius: 10px;
    font-size: large;
}

.modal-wrapper{
    display: none;
    background-color: #0000009a; /* 0.6 de opacidade (em hexa) */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
}

.modal-wrapper.is-active{
    display: flex;
}

.modal{
    background-color: rgb(46, 46, 46);
    padding: 10px;
    width: 60%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal img{
    width: 100%;
}

.container-galery{
    margin-top: 10px;
    background-color: rgb(36, 36, 36);
    display: flex;
    align-items:center;
    justify-content: space-between;
    padding: 10px;
    gap: 20px;
}

.card-galery{
    width: calc(100%/3);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-galery img{
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    border: 1px solid #555;
}

.card-galery .caption-galery,
.modal-galery .caption-galery{
    padding: 10px;
    background-color: rgb(100, 100, 100);
    border-radius: 10px;
    font-size: large;
}

.modal-wrapper-galery{
    display: none;
    background-color: #0000009a; /* 0.6 de opacidade (em hexa) */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
}

.modal-wrapper-galery.is-active{
    display: flex;
}

.modal-galery{
    background-color: rgb(46, 46, 46);
    padding: 10px;
    width: 60%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal-galery img{
    width: 100%;
}

/*

hexadecimal: f 0   (15x16 + 0x1)   240
rgb: 0-255

*/