.title{
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    font-size: 3rem;
    font-weight: 800;
}

.software{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 2rem 0 1rem 0;
}

.software img{
    width: 64px;
}

.list-arts{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 5rem 0 5rem;
}

.art-line{
    display: flex;
    width: 100%;
    min-height: 320px;
    margin: 3rem 5rem;
    border: 1px solid var(--bg-secondary);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: -10px 0px 13px -7px var(--bg-secondary), 10px 0px 13px -7px var(--bg-secondary);
    background-color: var(--project-box);
}
.art-line.left{
    flex-direction: row;
}
.art-line.right{
    flex-direction: row-reverse;
}

.art-line .visual{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.art-line .art-data{
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.visual video, .visual img{
    width: 100%;
    border: 4px solid var(--bg-secondary);
}


.art-data h2{
    width: 90%;
    text-align: center;
}

.trait {
    margin: 1rem auto;
    border: 1px solid rgba(38, 38, 38, 0.35);
    border-radius: 12px;
    width: 95%;
}

.art-data .desc{
    text-align: justify;
    width: 95%;
}

.art-data .icon{
    display: flex;
    width: 80%;
    justify-content: space-around;
    align-items: center;
    margin-top: 3rem;
}
.art-data .icon .software{
    width: 64px;
}
.art-data .icon .software img{
    width: 100%;
}

.type{
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--nav-primary);
    padding: 8px;
    min-width: 90px;
    min-height: 20px;
    border-radius: 20px;
}
.type.GameJam{
    background: rgba(0, 255, 0, .8);
}
.type.School{
    background: rgba(0, 0, 255, .8);
}
.type.Personnal{
    background: rgba(255, 0, 0, .8);
}
.type.Professional{
    background: rgba(215, 51, 114, 0.8);
}


/* Thumbnail */
.thumbnail-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 3rem;
    column-gap: 4rem;
}
.thumbnail {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20%;
    max-width: 20%;
    min-height: 20%;
    max-height: 20%;
    border: 4px solid var(--bg-secondary);
}
.thumbnail img{
    width: 100%;
    aspect-ratio: 1 / 1;
}
.thumbnail.no-interact{
    pointer-events: none;
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 1%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.modal::-webkit-scrollbar {
    display: none;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: var(--bg-primary);
    margin: 0 auto;
    padding: 0;
    width: 55%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

.modal-header {
    padding: 1rem;
    background-color: var(--nav-primary);
    color: white;
}

.modal-content .container{
    display: flex;
    align-items: center;
}

.modal-content .modal-header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.modal-content .modal-header .trait{
    border: 4px solid rgba(38, 38, 38, 0.6);
}

.modal-body {
    padding: 2rem;
}

.modal-body .text{
    margin-top: 1rem;
    min-height: 100px;
    border-width: 6px 1px;
    border-style: solid;
    border-color: #000000;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-body .text p{
    text-align: justify;
    padding: 1rem;
}

#modal-visuals.visual{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1rem;
    column-gap: 1rem;
    margin-top: 3%;
}

#modal-visuals.visual img{
    width: 40%;
}