/*  CSS file used to visit a 3D-virtual museum ACONIT
    Geoffrey DAVID M1 Informatique IM2AG - 2023         */

.modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: transparent;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}
.modal2 {
    position: fixed;
    width: 100%;
    height: 150%;
    background-color: transparent;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.modal-content {
    font-family: 'Exo 2', sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: antiquewhite;
    padding: 1rem 1.5rem;
    width: 24rem;
    border: solid;
    border-radius: 0.5rem;
}
.close-button {
    float: right;
    width: 1.5rem;
    height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid;
    border-radius: 50%;
    background-color: lightgrey;
}
.close-button:hover {
    background-color: #adadad;
}
.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: visibility 0s, linear 0s, opacity 1s, transform 0.25s;
}

#info {
    font-family: 'Exo 2', sans-serif;
    border: 1px dotted;
    position: absolute;
    top: 10px;
    width: 20%;
    left: 15px;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    background-color: antiquewhite;
}