* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    font-size: 62.5%;
}

@font-face {
    font-family: "Poppins";
    src: url("../Fonts/poppins/Poppins-Regular.otf");
}

@font-face {
    font-family: "PoppinsBold";
    src: url("../Fonts/poppins/Poppins-Bold.otf");
}

body {
    background-color: #fefae9;
    font-size: 2.5rem;
    font-family: "Poppins", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}


nav {
    display: flex;
    padding: 1.2rem 2.4rem;
    gap: 1.6rem;
}

nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.2rem;
    gap: 4px;
    margin-right: auto;
}

a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:active {
    color: #f9ca24;
    transition: all 0.3s ease;
}

nav img {
    height: auto;
    max-width: 7rem;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 1.6rem;
}

nav ul a {
    display: inline-block;
    font-size: inherit;
    margin: inherit;
}

section:nth-child(2) picture.spinner {
    display: inline-block;
    padding: 0;
    margin: 0 auto;
}

.spinner img {
    animation: loadSpinner 2s infinite linear;
}

@keyframes loadSpinner {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    padding: 3.2rem;
}

footer a {
    display: flex;
    align-items: center;
    font-size: 3.2rem;
    gap: 4px;
    max-width: 21rem;
}

footer a img {
    max-width: 7rem;
}

footer small {
    align-self: end;
    display: flex;
    align-items: center;
    margin: 0 auto;
    font-size: 1.6rem;
}

footer p {
    display: flex;
    font-size: 1.6rem;
    align-items: center;
    justify-content: center;
}