@import url('https://fonts.googleapis.com/css2?family=Krona+One&display=swap');

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

body {
    font-family: "Krona One", serif;
    font-weight: 400;
    font-style: normal;

    font-size: 16px;

    background-color: #f2f2f2;
    color: #2d3250;
    position: relative;
}

.links {
    text-decoration: none;
    color: inherit;
}
.links:visited {
    color: inherit;
}

.sanitized_ul {
    list-style: none;
}

.aws {
    text-decoration: none;
    color: orange;
    pointer-events: none;
}

.mobile_menu {
    display: none;
    position: relative;
    width: 100px;
}

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

header {
    padding: 1rem 2rem;
    width: 100%;
    position: relative;
}

.header__container {
    justify-content: space-between;
    align-items: center;
}
.header__container > .logo {
    align-items: center;
}
.header__container > h1 > img {
    width: 80px;
}
.header__container > h1 > a {
    font-size: 1.5rem;
}

.links {
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.links > li > a {
    text-decoration: none;
    color: #2d3250;
    position: relative;
}
.links > li > a:visited {
    color: #2d3250;
}

.links > li > a.contact {
    background-color: #2d3250;
    color: #f2f2f2;
    font-family: inherit;
    padding: .5rem;
    border-style: solid;
    border-color: #f2f2f2;
    text-decoration: none;
}

.links > li > a:hover {
    background-color: #2d3250;
    color: #f2f2f2;
    padding: .3rem;
}

.links > li > .contact:hover {
    background-color: #f2f2f2;
    color: #2d3250;
}

section.cta {
    min-height: 90vh;
    background-image: url("../img/home_page/Untitled\ design\ \(1\).png");
    background-size: cover;
    background-repeat: no-repeat;

    justify-content: center;
    align-items: center;
}
section.cta > .text {
    width: fit-content;
    padding: 2rem;
    background-color: rgba(45, 50, 80, .7);
    border-radius: 10px;
    text-align: center;
    gap: 2rem;
    color: #f2f2f2;
}
section.cta > .text > h1 {
    font-weight: bold;
    font-size: 2rem;
}
section.cta > .text > a {
    width: 30%;
    align-self: center;
    background-color: #f2f2f2;
    color: #2d3250;
    font-family: inherit;
    padding: .5rem;
}

section.cta > .text > a:hover {
    background-color: #2d3250;
    color: #f2f2f2;
}

section.services {
    padding: 3.5rem 2rem;
}
section.services > .services__container > h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}
section.services > .services__container > .service_contents {
    align-items: center;
}
section.services > .services__container > .service_contents > .cards {
    gap: 3rem;
}
section.services > .services__container > .service_contents > .cards > .card {
    padding: 1rem;
    text-align: center;
}
section.services > .services__container > .service_contents > .cards > .card > h2 {
    text-align: center;
    margin-bottom: 1rem;
}
section.services > .services__container > .service_contents > .cards > .card > p + p {
    margin-top: 2rem;
}
section.services > .services__container > .service_contents > .cards >  a {
    width: 30%;
    align-self: center;
    background-color: #2d3250;
    padding: .5rem;
    font-family: inherit;
    color: #f2f2f2;
    text-align: center;
}
section.services > .services__container > .service_contents > .cards >  a:hover {
    background-color: #f2f2f2;
    color: #2d3250;
}

section.training {
    padding: 2rem;
    background-image: url("../img/home_page/square-2721757_1920.png");
    background-repeat: no-repeat;
    background-size: cover;

    min-height: 40vh;
}
section.training > .training__container {
    justify-content: center;
    align-items: center;
}
section.training > .training__container > .left-side {
    gap: 3rem;
    width: 100%;
    align-items: flex-start;
}
section.training > .training__container > .left-side > a {
    width: 60%;
    padding: .5rem;
    background-color: #2d3250;
    color: #f2f2f2;
    font-family: inherit;
    border-radius: 10px;
    text-align: center;
}
section.training > .training__container > .left-side > a:hover {
    background-color: #f2f2f2;
    color: #2d3250;
}

section.contact {
    padding: 2rem;
    justify-content: center;
    align-items: center;
}
section.contact > .contact__container {
    max-width: 900px;
    gap: 3rem;
    text-align: center;
}
section.contact > .contact__container > a {
    width: 60%;
    align-self: center;
    background-color: #2d3250;
    color: #f2f2f2;
    padding: 1rem;
    font-family: inherit;
}
section.contact > .contact__container > a:hover {
    background-color: #f2f2f2;
    color: #2d3250;
}

footer {
    padding: 2rem;
}
footer > .footer__container {
    gap: 2.5rem;
}
footer > .footer__container > .logo-con > h2 {
    justify-content: left;
    align-items: center;
}
footer > .footer__container >  .logo-con > h2 > img {
    width: 100px;
}
footer > .footer__container > .links__group {
    width: 100%;
    justify-content: space-between;
}

/* About Page Section */

section.about-hero {
    min-height: 80vh;
    background-image: url("../img/about_page/cool-background.png");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 2rem;

    align-items: center;
    justify-content: center;
}
section.about-hero > .abt__container {
    gap: 5rem;
    align-items: center;
}
section.about-hero > .abt__container > .hero__headline {
    text-align: center;
}
section.about-hero > .abt__container > .hero__headline > h1 {
    font-size: 2.5rem;
}
section.about-hero > .abt__container > .hero__headline > p {
    font-size: 1.2rem;
}
section.about-hero > .abt__container > a {
    font-family: inherit;
    background-color: #2d3250;
    color: #f2f2f2;

    padding: 1rem 3rem;
}
section.about-hero > .abt__container > a:hover {
    background-color: #f2f2f2;
    color: #2d3250;
}

section.who-we-are > .wwa__container {
    padding: 5rem 2rem;
    text-align: center;
    align-items: center;
    gap: 1.5rem;
}
section.who-we-are > .wwa__container > h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
section.who-we-are > .wwa__container > h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
section.who-we-are > .wwa__container > .bio {
    gap: 2rem;
    align-items: center;
    max-width: 700px;
}
section.who-we-are > .wwa__container > .bio > img {
    width: 500px;
    border-radius: 100%;
}
section.who-we-are > .wwa__container > .bio__container {
    gap: 3rem;
}
section.who-we-are > .wwa__container > .bio__container > .bio {
    gap: 2rem;
    align-items: center;
    max-width: 700px;
}
section.who-we-are > .wwa__container > .bio__container > .bio > img {
    width: 400px;
    border-radius: 100%;
}

section.what-we-do {
    background-image: url("../img/about_page/cool-background2.png");
    min-height: 40vh;
}
section.what-we-do > .wwd__container {
    padding: 5rem 2rem;
    justify-content: center;
    align-items: center;
}
section.what-we-do > .wwd__container  > h2 {
    font-size: 2.5rem;
}
section.what-we-do > .wwd__container > p {
    margin-bottom: 4rem;
}
section.what-we-do > .wwd__container > .key-services {
    margin-bottom: 2.5rem;
}
section.what-we-do > .wwd__container > .key-services > ul {
    list-style: none;
    gap: 1rem;
}
section.what-we-do > .wwd__container > a {
    background-color: #f2f2f2;
    color: #2d3250;
    font-family: inherit;
    padding: 1rem;
    border-color: #2d3250;
    border-style: solid;
}
section.what-we-do > .wwd__container > a:hover {
    background-color: #2d3250;
    color: #f2f2f2;
    border-color: #f2f2f2;
}

section.abt-contact > .contact__container {
    padding: 5rem;
    align-items: center;
    justify-content: center;
}
section.abt-contact > .contact__container > p {
    margin-bottom: 3rem;
}
section.abt-contact > .contact__container > a {
    background-color: #2d3250;
    color: #f2f2f2;
    font-family: inherit;
    padding: 1rem;
}
section.abt-contact > .contact__container > a:hover {
    background-color: #f2f2f2;
    color: #2d3250;
    border-style: solid;
    border-color: #2d3250;
}

/* Services Page */

section.serv-cta {
    background-image: url("../img/services_page/cool-background.png");
    background-repeat: no-repeat;
    background-size: cover;
}
section.serv-cta > .serv__container {
    padding: 2rem;
    align-items: center;
}
section.serv-cta > .serv__container > .cta-left > h1 {
    font-size: 2.5rem;
}
section.serv-cta > .serv__container > .cta-left > p {
    margin-bottom: 5rem;
}
section.serv-cta > .serv__container > .cta-left > a {
    font-family: inherit;
    background-color: #2d3250;
    color: #f2f2f2;
    padding: 1rem;
    border-radius: 10px;
}
section.serv-cta > .serv__container > .cta-left > a:hover {
    background-color: #f2f2f2;
    color: #2d3250;
    border-style: solid;
    border-color: #2d3250;
}

section.serv-services > .serv-serv__container {
    padding: 5rem 2rem;
    align-items: center;
}
section.serv-services > .serv-serv__container > h2 {
    font-size: 2rem;
}
section.serv-services > .serv-serv__container > p {
    margin-bottom: 3rem;
    text-align: center;
}
section.serv-services > .serv-serv__container > .serv-content {
    gap: 3rem;
}
section.serv-services > .serv-serv__container > .serv-content > .serv_card {
    gap: 1rem;
    border-radius: 20px;
    background-color: #2d3250;
    color: #f2f2f2;
    padding: 1.2rem;
    box-shadow: 12px 12px 2px 1px rgba(0, 0, 255, 0.2);
}

section.how-we-work {
    background-image: url("../img/services_page/cool2.png");
    background-repeat: no-repeat;
    background-size: cover;
}
section.how-we-work > .hww__container {
    padding: 5rem;
    align-items: center;
    gap: 3rem;
}
section.how-we-work > .hww__container > h2 {
    font-size: 2rem;
}
section.how-we-work > .hww__container > .hww-process {
    gap: 3rem;
}
section.how-we-work > .hww__container > .hww-process > .arrow {
    font-size: 2rem;
}

section.serv-contact > .serv-cont__container {
    padding: 5rem;
    text-align: center;
}
section.serv-contact > .serv-cont__container > p {
    margin-bottom: 3rem;
}
section.serv-contact > .serv-cont__container > a {
    background-color: #2d3250;
    color: #f2f2f2;
    font-family: inherit;
    padding: 1rem;
}
section.serv-contact > .serv-cont__container > a:hover {
    background-color: #f2f2f2;
    color: #2d3250;
    border-style: solid;
    border-color: #2d3250;
}

/* Training Page */

section.training-cta {
    background-color: #2d3250;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 90vh;
    color: #f2f2f2;

    justify-content: center;
    align-items: center;
}
section.training-cta > .train__container {
    padding: 2rem;
    align-items: center;
}
section.training-cta > .train__container > h1 {
    font-size: 2.5rem;
}
section.training-cta > .train__container > p {
    text-align: center;
    margin-bottom: 3rem;
}
section.training-cta > .train__container > a {
    background-color: #f2f2f2;
    color: #2d3250;
    border-color: #f2f2f2;
    font-family: inherit;
    padding: 1rem;
}
section.training-cta > .train__container > a:hover {
    background-color: #2d3250;
    color: #f2f2f2;
    border-style: solid;
    border-color: #f2f2f2;
}

section.training-offering > .train-off__container {
    padding: 2rem;
    align-items: center;
}
section.training-offering > .train-off__container > h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}
section.training-offering > .train-off__container > .comparison {
    gap: 2rem;
}
section.training-offering > .train-off__container > .comparison > .train-businesses {
    border-right-style: double;
    border-right-width: 1rem;
}
section.training-offering > .train-off__container > .comparison > .train-businesses > ul,
section.training-offering > .train-off__container > .comparison > .train-individuals > ul {
    list-style: none;
}
section.training-offering > .train-off__container > .comparison > .train-businesses > h3,
section.training-offering > .train-off__container > .comparison > .train-individuals > h3 {
    text-align: center;
    margin-bottom: 1rem;
}

section.train-how-we-teach {
    background-color: #2d3250;
    background-repeat: no-repeat;
    background-size: cover;
    color: #f2f2f2;
}
section.train-how-we-teach > .train-hwt__container {
    padding: 5rem;
    align-items: center;
    gap: 3rem;
}
section.train-how-we-teach > .train-hwt__container > h2 {
    font-size: 2rem;
}
section.train-how-we-teach > .train-hwt__container > ul {
    list-style: none;
    gap: 1.5rem;
}

section.train-contact > .train-cont__container {
    padding: 5rem;
    align-items: center;
    gap: 3rem;
}
section.train-contact > .train-cont__container > h3 {
    font-size: 1.5rem;
}
section.train-contact > .train-cont__container > a {
    background-color: #2d3250;
    color: #f2f2f2;
    font-family: inherit;
    padding: 1rem;
}
section.train-contact > .train-cont__container > a:hover {
    background-color: #f2f2f2;
    color: #2d3250;
    border-style: solid;
    border-color: #2d3250;
}

/* Contact Page */

main {
    padding: 2rem;
    align-items: center;
    justify-content: center;
}
main > .main__container {
    width: fit-content;
    align-items: center;
}
main > .main__container > h2 {
    font-size: 2.5rem;
}
main > .main__container > p {
    margin-bottom: 3rem;
}
main > .main__container > .form-container > form > fieldset {
    padding: 3rem;
    gap: 2rem;
}
main > .main__container > .form-container > form > fieldset > .essentials {
    gap: 2rem;
}

/* Form input styling */
form > fieldset {
    border-style: none;
    background-color: #2d3250;
    color: #f2f2f2;
    border-radius: 20px;
    box-shadow: 12px 12px 2px 1px rgba(0, 0, 255, 0.2);
}
.input > input {
    border-color: #2d3250;
    font-family: inherit;
    padding: .8rem;
    width: fit-content;
    border-radius: 10px;
    background-color: #f2f2f2;
    color: #2d3250;
}
.input > select{
    font-family: inherit;
    border-color: #2d3250;
    padding: .5rem;
    width: fit-content;
    border-radius: 10px;
    background-color: #f2f2f2;
    color: #2d3250;
}

.input > textarea {
    font-family: inherit;
    background-color: #f2f2f2;
    color: #2d3250;
    padding: 1.5rem;
    border-radius: 20px;
    margin-top: .5rem;
}

.sub-btn > button {
    font-family: inherit;
    padding: 1rem;
    background-color: #f2f2f2;
    color: #2d3250;
}
.sub-btn > button:hover {
    background-color: #f2f2f2;
    color: #2d3250;
    border-style: solid;
    border-color: #2d3250;
}

.error {
   color: red; 
}

/* Responsive Design */

@media (width < 1192px) {

    /* Global */

    body {
        text-align: center;
    }

    .header__container > h1 > img {
        width: 80px;
    }

    header > .header__container > .links > li {
        display: none;
    }
    .mobile_menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    .mobile_menu > img {
        min-width: 10px;
        max-width: 50px;
    }

    .mobile_menu-list {
        display: none;
        text-align: center;
        gap: .8rem;
        position: absolute;
        top: 100%;
        padding: .5rem;
        background-color: #2d3250;
        border-style: solid;
        border-color: black;
        list-style: none;
        color: #f2f2f2;
    }
    .mobile_menu-list.active {
        display: flex;
    }

    /* Home Page */

    section.cta > .text {
        padding: 1rem;
    }

    section.cta > .text > h1 {
        font-size: 1.8rem;
    }

    .service_contents {
        flex-direction: column;
    }

    .training__container {
        flex-direction: column;
    }

    .links__group {
        flex-direction: column;
        gap: 1.5rem;
    }

    section.services > .services__container > .service_contents > img {
        max-width: 400px;
    }

    section.training > .training__container > img {
        max-width: 400px;
    }

    /* About Page */

    section.about-hero > .abt__container > .hero__headline > h1 {
        font-size: 2rem;
    }

    .wwa__content {
        flex-direction: column;
    }

    section.who-we-are > .wwa__container > .wwa__content > .mission-statement {
        border-right-style: unset;
        border-bottom-style: solid;
        border-bottom-width: 10px;
        padding-bottom: 2rem;
    }
}

@media (width <= 1537px) {
    section.serv-cta > .serv__container > .cta-right > img {
        width: 500px;
    }
    section.training > .training__container > .left-side {
        align-items: center;
    }
    .bio__container {
        flex-direction: column;
    }
}

@media (width <= 950px) {
    header > .header__container > h1 > img {
        width: 50px;
    }
    header > .header__container > h1 > a {
        font-size: 1.2rem;
    }

    .mobile_menu > img {
        width: 30px;
    }

    section.cta > .text > h1 {
        font-size: 1.4rem;
    }

    section.serv-cta > .serv__container {
        flex-direction: column;
    }

    section.services > .services__container > h1,
    section.training > .training__container > .left-side > h1,
    section.contact > .contact__container > h1,
    section.about-hero > .abt__container > .hero__headline > h1,
    section.what-we-do > .wwd__container  > h2,
    section.serv-cta > .serv__container > .cta-left > h1,
    section.serv-services > .serv-serv__container > h2,
    section.how-we-work > .hww__container > h2,
    section.serv-contact > .serv-cont__container > h1,
    section.training-cta > .train__container > h1,
    section.training-offering > .train-off__container > h2,
    section.train-how-we-teach > .train-hwt__container > h2,
    section.train-contact > .train-cont__container > h3,
    main > .main__container > h2 {
        font-size: 1.4rem;
    }

    section.services > .services__container > .service_contents > .cards > .card > h2,
    section.who-we-are > .wwa__container > h2 {
        font-size: 1.2rem;
    }
    section.services > .services__container > .service_contents > .cards > .card > p,
    section.what-we-do > .wwd__container  > p,
    section.what-we-do > .wwd__container > .key-services > ul > li,
    section.serv-cta > .serv__container > .cta-left > p,
    section.serv-services > .serv-serv__container > p,
    section.serv-contact > .serv-cont__container > p,
    section.training-cta > .train__container > p {
        font-size: 1rem;
    }

    
    main > .main__container > p {
        font-size: .6rem;
    }

    section.who-we-are > .wwa__container > .wwa__content > .mission-statement {
        width: fit-content;
        font-size: .8rem;
    }

    section.serv-cta > .serv__container > .cta-right > img {
        width: 300px;
    }

    section.how-we-work > .hww__container > .hww-process,
    section.training-offering > .train-off__container > .comparison {
        flex-direction: column;
    }

    section.training-offering > .train-off__container > .comparison > .train-businesses {
        border-right-style: unset;
        border-bottom-style: double;
        border-bottom-width: 20px;
        padding-bottom: 1rem;
    }

    section.how-we-work > .hww__container > .hww-process > .arrow {
        rotate: 90deg;
    }

    section.serv-cta > .serv__container {
        gap: 3rem;
    }

    .essentials {
        flex-direction: column;
    }

    .input:has(label[for="email"]) {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (width <= 750px) {
    section.who-we-are > .wwa__container > .bio__container > .bio > img,
    section.who-we-are > .wwa__container > .bio > img {
        width: 300px;
    }
}

@media (width <= 502px) {
    header > .header__container > h1 > a,
    section.about-hero > .abt__container > .hero__headline > p {
        font-size: 1rem;
    }

    section.services > .services__container > .service_contents > img,
    section.training > .training__container > img {
        width: 150px;
    }

    footer > .footer__container > .logo-con > h2 > img {
        width: 50px;
    }

    section.cta > .text > a.links,
    section.services > .services__container > .service_contents > .cards > a {
        width: fit-content;
    }

    section.abt-contact > .contact__container > a {
        font-size: .7rem;
    }

    section.serv-contact > .serv-cont__container > a {
        font-size: .7rem;
    }
}

header > .header__container > ul > li > a.active {
    background-color: #2d3250;
    color: #f2f2f2;
    padding: .3rem;
}

header > .header__container > ul > .mobile_menu > ul > li > a.mobile_active {
    background-color: #f2f2f2;
    color: #2d3250;
    padding: 0 .3rem;
}