body {
    border-style: none;
    background-color: #fff;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body, input, textarea, select, p, td, th, a, span {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
}

form, p, li {
    margin-top: 0px;
    margin-bottom: 0px;
}

ul {
    margin-top: 5px;
    margin-bottom: 15px;
}

h1 {
    font-family: 'El Messiri', sans-serif;
    font-weight: 500;
    font-size: 36px;
    margin: 0.5em 0 1rem;
    color: #b9ae92;
    text-transform: uppercase;
}

h2 {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    margin-top: 0px;
    margin-bottom: 10px;
    color: #333;
}

a {
    color: #003aa7;
    text-decoration: none;
}

a:hover {
    color: #002d80;
}

.separator {
    color: #999;
}

.form {
    border: 1px solid #ccc;
    background: #f0f0f0;
}

.form td {
    padding: 4px;
    vertical-align: top;
}

.test {
    margin-top: 20px;
}

.test a {
    font-weight: 500;
}

@media (max-width: 579px) {
    .testsContainer {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 20px;
        margin: 20px 100px;
    }
}

@media (min-width: 580px) {
    .testsContainer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
        margin: 20px 100px;
    }
}

@media (min-width: 780px) {
    .testsContainer {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 20px;
        margin: 20px 100px;
    }
}

@media (min-width: 970px) {
    .testsContainer {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 20px;
        margin: 20px 100px;
    }
}

.thumbnail {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.thumbnail img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: auto;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.thumbnail img.portrait {
    width: 100%;
    height: auto;
}

.headerContainer {
    background-image: linear-gradient(
            rgba(0, 45, 128, 0.5),
            rgba(0, 45, 128, 0.5)
    ), url("../img/riiul.JPG");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    display: grid;

}

.header {
    margin: 0 20px;
    color: #fbf9f3;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.heroText {
    color: white;
    font-style: italic;
    font-weight: 500;
    font-size: 24px;
    line-height: normal;
    text-align: center;
    margin: 20px 0;
    max-width: 600px;
}

.heroButton {
    font-size: 24px;
    padding: 15px 25px;
    border-radius: 15px;
    text-transform: uppercase;
    color: #585345;
    cursor: pointer;
    margin: 20px 0;
    background: #FBF9F3;
    border: none;
}

.heroButton:hover {
    background: #FFF963;
}

.footer {
    background-color: #b9ae92;
    width: 100%;
    height: 100px;
    text-align: center;
}

.footer p {
    color: #fff;
    padding: 30px 0;
}


