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

body {
    min-height: 100vh;
}
  
h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

p {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    line-height: 1.7rem;
}

p, a, span, div {
    font-family: 'Inter', sans-serif;
}

button {
    width: auto;
}


/* UTILITIES */
.flex {
    display: flex;
}

.bg-primary {
    background-color: rgb(165, 217, 222);
}

.primary {
    color: rgb(165, 217, 222);
}

.bg-dark {
    background-color: black;
    color: white;
}

.dark {
    color: black;
}

.bg-light {
    background-color: white;
    color: black;
}

.light {
    color: white;
}

.bg-secondary {
    background-color: #353e53;
    color: white;
}

.secondary {
    color: #353e53
}

.container img {
    object-fit: contain;
    width: 100%;
    overflow: hidden;
}

.text {
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: .5rem;
}

.gap-2 {
    gap: 2rem;
}

#section-one {
    padding: .5rem;;
}

.section {
    padding: 2.5rem 2rem 2.5rem 2rem;
}

#section-three .text {
    padding: 1.5rem;
}

.button-wrapper {
    align-self: center;
    text-align: center;
}

.no-decoration {
    text-decoration: none;
}

.text-left {
    text-align: left;
}

.back-to-homepage {
    width: 10rem;
    color: black;
    max-width: 50%;
}

.back-to-homepage:hover {
    text-decoration: underline;
}

.about-button-wrapper {
    text-align: left;
    align-self: normal;
}

.button {
    border-radius: .25rem;
    padding: .75rem;
}

.container.center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

form .form-container {
    flex-direction: column;
    padding-bottom: 2rem;
}

.names {
    gap: 2rem;
}

.form-container .names div,
.form-container .form-row div {
    width: 100%;
}

.form-container div {
    width: 80%;
}

#section-six {
    width: 100%;
}

hr {
    width: 2px;
    padding: 0;
    text-align: center;
    margin: auto;
}

hr.top {
    border-top: 50px solid white;
}

hr.bottom {
    border-bottom: 50px solid white;
}

.rows {
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#section-four {
    background-color: cornsilk;
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
    font-family: "Inter", sans-serif;
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    font-size: 17px;
    border-radius: 7px;
    border: solid 1px rgb(225, 225, 225);
}

.form-container input[type=submit] {
    padding: 10px 15px;
    background-color: #1a7efb;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 17px;
}

input[type=submit] {
    cursor: pointer;
}

.form-container input[type=submit]:hover {
    background-color: rgba(255, 255, 255, 0);
    color: #1a7efb;
    border: solid 1px #1a7efb;
    transition: 0.1s;
}

label {
    font-family: "Inter", sans-serif;
}

.label-div, .error-div {
    text-align: left;
    margin: 0 auto;
}

.required::after {
    content: " *";
    color: red;
}

#section-four .img {
    padding: 1.5rem;
    background-color: rgb(250, 240, 200);
}

.about .about-container.container {
    padding: 2rem;
    text-align: center;
    flex-direction: column;
    gap: 1rem;
}

.error {
    color: red;
    font-size: .9rem;
}

.error-div {
    padding-bottom: .5rem;
}

.field-error {
    border-color: red;
}

.button {
    transition: 0.1s;
}

.button:hover {
    background-color: rgba(255, 255, 255, 0);
}

.button.bg-dark:hover {
    color: black;
    border: solid 1px black;
}

.button.bg-light:hover {
    color: rgb(255, 255, 255);
    border: solid 1px rgb(255, 255, 255);
}

.button.bg-dark {
    outline-color: #7c97d2;
}

.button.bg-secondary:hover {
    background-color: rgba(255, 255, 255, 0);
    color: #353e53;
    border: solid 1px #353e53;
}

.powered-by {
    padding-top: 1rem;
}

.powered-by a {
    color: #1a7efb;
    text-decoration: none;
}

.powered-by a:hover{
    text-decoration: underline;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .wrapper {
        flex-wrap: wrap;
    }
    .container {
        flex-direction: column;
    }
    .section {
        padding: 2rem 1.5rem 2rem 1.5rem;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .wrapper {
        flex-wrap: wrap;
    }
    .container {
        flex-direction: column;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .wrapper {
        flex-wrap: wrap;
    }
    #section-one .container {
        flex-direction: row-reverse;
    }
    .container {
        flex-direction: row;
        height: 100%;
    }
    .container img {
        object-fit: cover;
        min-height: 650px;
    }
    #section-one .img, #section-one .text,
    #section-three .img, #section-three .text {
        width: 50%;
    }
    #section-four .img {
        width: 45%;
    }
    #section-four .text {
        width: 55%;
    }
    .container .text {
        height: 100%;
    }
    #section-five .container,
    #section-six .container {
        flex-direction: column;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .container .text {
        padding: 1rem;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
/* @media only screen and (min-width: 1200px) {

} */