﻿.opened {
    display: block;
}

.closed {
    display: none;
}

.modalRoot {
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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 */
}

.modalPopin {
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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 */
}

.modalContent {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 2rem;
    border: 2px solid black;
    border-radius: 5px;
    width: 650px;
}

.modalText {
    font-weight: bold;
    font-size: large;
    color: black;
}

.modal-buttons {
    text-align: right;
}
.close {
    background-color: #fefefe;
    color: black;
    float: right;
    font-size: 2.8rem;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 5px;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
        margin: auto;
    }
