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

:root {
    font-size: 16px;
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --tertiary-color: #00CED1;
    --fourth-color: #FF7F00;
    --primary-font: 'Roboto', sans-serif;
    --secondary-font: 'Montserrat', sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    font-family: var(--primary-font);
    font-size: 1rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    line-height: 1.5;
}

.high-contrast,
.high-contrast * {
    background: black !important;
    color: yellow !important;
    filter: contrast(2) brightness(1.2) !important;
}

.high-contrast a,
.high-contrast * a {
    background-color: black;
    color: cyan !important;
}

.img-fluid {
    display: inline-block;
    width: auto;
    max-width: 100%;
    vertical-align: middle;
    height: auto;
}

.sr-only {
    display: inline-block;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--secondary-font);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0.9375rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    display: block;
  word-break: break-word;
  white-space: normal;
  width: 100%;
  text-align: justify;
}

section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 20px;
}

@media all and (min-width: 1200px) {
    section {
        align-items: center;
    }
}

.container {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1.875rem;
}

@media all and (min-width: 1200px) {
    .container {
        width: 75rem;
    }
}

.main-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    background: var(--primary-color);
    color: var(--secondary-color);
}

@media all and (min-width: 1200px) {
    .main-header {
        align-items: center;
    }
}

.header-top {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.accessibility-controls {
    display: flex;
    flex-direction: column;
}

.main-logo {
  width: 100%;
}

.main-logo p {
    text-align: center;
}

@media all and (min-width: 1200px) {
    .header-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.625rem 1.25rem;
    }

    .main-logo {
        width: 20.625rem;
        order: 1;
    }

    .accessibility-controls {
        flex-direction: row;
        order: 2;
    }
}

.main-menu {
    width: 100%;
    font-size: 1.25rem;
    background-color: var(--tertiary-color);
}

.main-menu .menu-wrap {
    width: 100%;
    max-height: 0;
    visibility: hidden;
    transition: visibility 0s, max-height 0.5s ease-in-out;
}

.main-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    background-color: var(--tertiary-color);
}

.main-menu .dropdown-menu {
    max-height: 0;
    visibility: hidden;
    transition: visibility 0s, max-height 0.5s ease-in-out;
}

@media all and (min-width: 1200px) {
    .main-menu .menu-wrap {
        visibility: visible;
        min-height: 1.125rem;
        max-height: none;
    }

    .main-menu .toggle-menu {
        display: none;
    }

    .main-menu ul {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .main-menu li {
        text-align: center;
        margin-left: 1rem;
    }

    .main-menu .dropdown {
        display: flex;
        flex-direction: colum;
        position: relative;
    }

    .main-menu .dropdown-menu {
        width: 18.75rem;
        position: absolute;
        left: 0;
        top: 100%;
        display: flex;
        flex-direction: colum;
        z-index: 1000;
    }
}

.main-menu a {
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
}

button,
.main-menu .active>a,
.main-menu a:hover {
    background-color: var(--fourth-color);
}

main {
    width: 100%;
    flex: 1;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    opacity: 0.8;
}

.btn.btn-save {
    background-color: #3498db;
    color: white;
}

.btn.btn-save:hover {
    background-color: #2980b9;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: fadeIn 0.3s ease;
}

.alert ul {
    list-style: none;
}

.alert.alert-success {
    background-color: #2ecc71;
}

.alert.alert-error {
    background-color: #e74c3c;
}

.alert.alert-warning {
    background-color: #f39c12;
}

.alert.alert-info {
    background-color: #3498db;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-block {
    width: 100%;
    margin-bottom: 0.9375rem;
}

.site-footer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.875rem;
}

@media all and (min-width: 1200px) {
    .site-footer {
        align-items: center;
    }
}

.footer-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0.625rem;
}

@media all and (min-width: 1200px) {
    .footer-wrap {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
    }
}

.footer-rights {
    margin-bottom: 0.625rem;
}

@media all and (min-width: 1200px) {
    .footer-rights {
        flex: 1 1 100%;
    }
}

.footer-social a {
    margin: 0 0.625rem;
    display: inline-block;
}

.footer-social img {
    width: 1.5rem;
    height: 1.5rem;
    transition: 0.3s;
}

.footer-social a:hover img {
    opacity: 0.7;
}

.footer-contact {
    margin-bottom: 0.625rem;
}

@media all and (min-width: 1200px) {
    btn .footer-contact {
        flex: 1 1 100%;
    }
}

.footer-dev a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.footer-dev a:hover {
    text-decoration: underline;
}