@font-face {
    font-family: montserrat;
    src: url(./montserrat.ttf);
}

#latin-sentence,
#selection-chapter,
#reference {
    font-family: montserrat;
    font-size: 1.75vw;
}

#reference {
    font-size: 1vw !important;
}

.button-inline {
    margin-right: 2%;
}

#english-translation {
    font-size: 1.75vw;
    font-family: montserrat;
    color: rgb(251, 104, 104);
}

.flex-container {
    display: flex;
}

.popup {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 5px;
    font-size: 14px;
    border-radius: 4px;
}

.popup::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.1) transparent transparent transparent;
    z-index: 9999 !important;
}




.flex-child {
    font-family: montserrat;
    text-align: center;
    flex: 1;
}

#answer-mark {
    visibility: hidden;
    font-size: 1vw;
    font-family: montserrat;
    color: rgb(251, 104, 104);
}

#header {
    font-size: 1.7vw;
    text-decoration: underline;
    text-underline-offset: 4px;
}

#note-section,
#question-section {
    text-decoration: none !important;
    font-size: 1vw !important;
}

.parent {
    width: 100%;
    height: 100%;
    display: table;
    text-align: center;
}

.parent>.child {
    display: table-cell;
    vertical-align: middle;
}

button:hover {
    background-color: rgb(71, 71, 71) !important;
    transition: 0.25s;
    border-color: rgb(71, 71, 71) !important;
    box-shadow: none;
}

button {
    color: white;
    font-family: montserrat;
    font-weight: bold;
    cursor: pointer;
    background-color: black;
    border-radius: 9px;
    font-size: 1.1vw;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 13px;
    padding-right: 13px;
}

#testing-section {
    display: none;
}

#footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}

#link {
    color: rgb(24, 124, 254);
}

@media screen and (max-width: 1200px) {
    button {
        border-radius: 12px;
        font-size: 1.1vh;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    center {
        margin-top: -40vh;
    }

    #reference {
        font-size: 1.5vh !important;
    }

    #latin-sentence,
    #english-translation,
    #selection-chapter {
        font-size: 2vh;
    }

    #header {
        font-size: 1.85vh;
    }

    #question-section,
    #note-section,
    #answer-mark {
        font-size: 1.35vh !important;
    }
}