@font-face {
    font-family: 'Nunito Regular';
    src: url('../fonts/Nunito-Regular.ttf');
}

@font-face {
    font-family: 'Montserrat Regular';
    src: url('../fonts/Montserrat-Regular.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat Regular';
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

header {
    gap: 10px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

header img {
    width: 250px;
    height: 150px;
}

header img:first-child {
    object-fit: cover;
}

header img:last-child {
    object-fit: contain;
}

header h2:nth-child(2) {
    text-align: center;
}

main {
    display: flex;
    justify-content: center;
    padding: 20px 0px 50px 0px;
}

ul.links {
    gap: 20px;
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

ul.links li {
    width: 30%;
    display: flex;
    min-height: 95px;
    height: auto;
}

ul.links a {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: white;
    font-size: 1.3em;
    border-radius: 10px;
    background-color: rgba(32, 167, 123, 1);
    font-weight: 600;
}

ul.links a:hover {
    transform: scale(1.03);
    box-shadow: 0px 0px 10px rgb(136, 136, 136);
}

@media (max-width: 1090px) {
    ul.links {
        width: 100%;
    }
}

@media (max-width: 787px) {
    ul.links a {
        font-size: 1.2em;
    }
}

@media (max-width: 655px) {
    ul.links li {
        width: 45%;
    }
}

@media (max-width: 438px) {
    ul.links li {
        width: 80%;
    }
}