* {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--brown);
}

header {
    background-color: #221F20;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .header-container {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--side-global-padding);
    max-width: var(--max-width);
}

header .header-container .burger-menu {
    display: none;
    flex-direction: column;
    width: 32px;
    height: 24px;
    justify-content: space-between;
}

header .header-container .burger-menu .lines {
    height: 2px; 
    width: 100%;
    background-color: white;
}

header .header-container nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 32px;
}

header .header-container nav ul li a {
    color: white;
    text-decoration: none;
    font-family: 'inter', sans-serif;
    font-size: 16px;
    position: relative;
    font-weight: bold;
}

header .header-container nav ul li a:after {
    content: "";
    position: absolute;
    width: 100%;
    top: calc(100% + 4px);
    left: 0;
    height: 2px;
    background-color: var(--gold);
    transition: ease-in-out .2s;
}


header .header-container nav ul li a:hover:after {
    top: calc(0% - 4px);
}

.home-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.home-cta .cta-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 32px;
    padding: 68px var(--side-global-padding);
    max-width: var(--max-width);
}

.home-cta .cta-container picture {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-cta .cta-container img {
    max-width: 100%;
}

.home-cta .cta-container .cta-text {
    font-family: 'inter', sans-serif;
    display: flex;
    flex-direction: column;
    width: 50%;
}

.home-cta .cta-container .cta-text h1 {
    width: 100%;
    text-align: left;
    text-transform: uppercase;
    font-size: 30px;
    padding-bottom: 16px;
    font-weight: bold;
    color: var(--gold);
}

.home-cta .cta-container .cta-text p:nth-child(3) {
    padding-bottom: 32px;
}

.services {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 86px var(--side-global-padding) 32px var(--side-global-padding);
    background-color: var(--brown);
}

.services h2 {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 32px;
    color: white;
    text-align: center;
    margin-bottom: 56px;
    padding-bottom: 4px;
    border-bottom: 8px solid white;
}

.services .services-container {
    max-width: var(--max-width);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.services .services-container .services-card-wrapper {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
    list-style: none;
}

.services .services-container .services-card-wrapper .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 200px;
}

.services .services-container .services-card-wrapper .service-card img {
    height: 80px;
}

.services .services-container .services-card-wrapper .service-card p {
    color: white;
    font-family: 'inter', sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding-top: 10px;
}

.certificate {
    display: flex;
    justify-content: center;
}

.certificate .certificate-texts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.certificate .certificate-texts h2 {
    color: var(--bright-gold);
    font-size: 32px;
    font-family: "Inter", sans-serif;
    font-weight: bold;
    text-align: center;
    text-transform: capitalize;
}

.certificate .certificate-texts p {
    color: white;
    font-size: 18px;
    font-family: "Inter", sans-serif;
    opacity: .8;
    text-align: center;
}

.certificate .certificate-wrapper {
    max-width: var(--max-width);
    padding: 86px var(--side-global-padding);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.certificate .certificate-wrapper img {
    width: 100%;
    max-width: 600px;
}

.about {
    background-color: white;
    display: flex;
    justify-content: center;
}

.about .about-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 86px var(--side-global-padding);
    max-width: var(--max-width);
}

.about .about-container .about-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about .about-container .about-text button {
    align-self: center;
}

.about .about-container picture {
    width: 50%;
}

.about .about-container picture img {
    width: 100%;
}

.contacts {
    display: flex;
    justify-content: center;
}

.contacts .contacts-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 86px var(--side-global-padding);
    max-width: var(--max-width);
}

.contacts .contacts-container .contacts-header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

.contacts .contacts-container .contacts-header h2 {
    text-align: center;
    color: white;
    font-size: 32px;
}

.contacts .contacts-container .contacts-header button {
    color: white;
    width: 100%;
    padding: 8px 0;
}

.contacts .contacts-container .contacts-form {
    display: flex;
    flex-direction: column;
}

.contacts .contacts-container .contacts-form label {
    font-size: 16px;
    font-family: 'inter', sans-serif;
    padding-bottom: 4px;
    font-weight: 500;
    color: white;
}

.contacts .contacts-container .contacts-form input {
    border: 0;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.contacts .contacts-container .contacts-form textarea {
    border: 0;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 8px;
}

.contacts .contacts-container .contacts-form button {
    border: 0;
    padding: 8px 0;
    background-color: var(--gold);
    border-radius: 8px;
    color: white;
}

.sitemap-links {
    background-color: var(--brown);
    height: 100%;
    display: flex;
    justify-content: center;
}

.sitemap-links .links-list {
    padding: 86px var(--side-global-padding);    
    list-style: none;
    max-width:  var(--max-width);
    width: 100%;
}

.sitemap-links .links-list li {
    padding: 4px 0;
}

.sitemap-links .links-list li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    font-family: 'inter', sans-serif;
}

.sitemap-links .links-list li a:hover {
    color: var(--gold);
}

.conversion-text {
    background-color: var(--brown);
    border-bottom: 12px solid var(--gold);
    display: flex;
    justify-content: center;
}

.conversion-text .conversion-text-container {
    padding: 86px var(--side-global-padding) 32px var(--side-global-padding);
    max-width: var(--max-width);
}

.conversion-text .conversion-text-container p {
    color: white;
    font-family: 'inter', sans-serif;
    padding: 12px 0;
    opacity: 80%;
}

.conversion-text .conversion-text-container h2 {
    color: white;
    font-family: 'inter', sans-serif;
    font-size: 24px;
    padding: 44px 0 16px 0;
}

.conversion-text .conversion-text-container .also-check a {
    color: white;
}

.conversion-text .conversion-text-container .also-check a:hover {
    color: var(--gold);
}

.error-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'inter', sans-serif;
    color: white;
}

.thank-you-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'inter', sans-serif;
    color: white;
}

@media screen and (max-width: 1118px) {
    .services .services-container .services-card-wrapper {
        justify-content: center;
    }
}

@media screen and (max-width: 992px) {
    .home-cta .cta-container {
        flex-direction: column;
    }

    .home-cta .cta-container picture, .home-cta .cta-container .cta-text {
        width: 100%;
        align-self: center;
    }

    .services .services-container .services-card-wrapper {
        justify-content: center;
    }

    .services .services-container .services-card-wrapper .service-card {
        padding-bottom: 32px; 
    }

    .about .about-container {
        flex-direction: column-reverse;
    }

    .about .about-container picture, .about .about-container .about-text {
        width: 100%;
        align-self: center;
    }
}

@media screen and (max-width: 768px) {
    header .header-container nav {
        display: none;
    }

    header .header-container .burger-menu {
        display: flex;
    }

    header.show .header-container .burger-menu {
        z-index: 100;
    }

    header.show .header-container .burger-menu .lines {
        position: relative;
        transition: ease-in-out .2s;
    }

    header.show .header-container .burger-menu .lines:first-child {
        top: 10px;
        transform: rotate(135deg);
    }

    header.show .header-container .burger-menu .lines:nth-child(2) {
        opacity: 0;
    }

    header.show .header-container .burger-menu .lines:last-child {
        transform: rotate(-135deg);
        bottom: 11px;
    }

    header.show .header-container nav {
        display: flex;
        position: fixed;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100vh;
        background-color: black;
        top: 0;
        left: 0;
    }    

    header.show .header-container nav ul {
        flex-direction: column;
        gap: 32px;
    }

    header.show .header-container nav ul li {
        display: flex;
        justify-content: center;
    }

    header.show .header-container nav ul li a {
        font-size: 32px;
        width: 100%;
        text-align: center;
    }
}
