* {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Elsie', 'Times New Roman', Times, serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    width: 100%;
    height: 80px;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    transition: all 500ms;
}

.scrolled {
    background-color: white;
}

.logo_class {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
}

.logo_class img {
    width: 100px;
}

.logo_class img:hover {
    cursor: pointer;
}

.navigation {
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.navigation li {
    padding: 5px;
    margin-left: 10px;
}

.nav-link {
    color: black;
    text-decoration: none;
    font-size: 20px;
    font-weight: 900;
}

.nav-link:hover {
    color: blue;
}

.hamburger_icon {
    display: none;
}

.hamburger_icon2 {
    display: none;
}

.index_body1 {
    margin-top: 80px;
    height: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.index_body1_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 30px;
    transform: translateY(-200%);
    position: static;
}

.index_body1_stuff {
    width: 100%;
    background-repeat: no-repeat;
}

.index_body1_slider {
    position: relative;
    width: 100%;
    height: 700px;
    background-color: #ccc;
    overflow: hidden;
}

.slides {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slides img {
    position: absolute;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: translateX(100%);
}

.slides img.active {
    opacity: 1;
    transform: translateX(0);
}

@-webkit-keyframes fade {
    from {
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    75% {
        opacity: 0.6;
    }

    to {
        opacity: 0;
    }
}

@keyframes fade {
    from {
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    75% {
        opacity: 0.6;
    }

    to {
        opacity: 0;
    }
}

.button1 {
    display: flex;
    justify-content: center;
    text-decoration: none;
    color: black;
    border: 2px solid black;
    width: 15%;
    padding: 10px;
    margin: 0 auto 0 auto;
    background-color: transparent;
}

.button1:hover {
    background-color: black;
    color: white;
}

.intermission {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #f4f4f4;
    padding: 20px;
}

.intermission p {
    width: 80%;
}

.index_body2 {
    height: 700px;
    background: linear-gradient(white, #B4C8DC);
    margin-top: 10px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease-out;
}

.index_body2 img {
    width: 40%;
    box-shadow: -5px 5px grey;
}

.index_body2_stuff {
    padding: 5%;
    display: flex;
    width: 100%;
    flex-direction: row;
    gap: 30px;
}

.index_body2_content {
    width: 60%;
    font-size: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 35px;
    text-align: justify;
}

.index_body3 {
    height: 300px;
    background: white;
    margin: 5% 0 5% 0;
}

.case_samples {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 2.5% 0 2.5% 0;
    gap: 2.5%;
}

.case_sample {
    width: 30%;
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border: 1px solid black;
    border-left: 5px solid black;
    border-radius: 5px;
    font-size: 20px;
    gap: 10px;
    transition: all 300ms;
}

.case_sample:hover {
    cursor: pointer;
    background-color: #ccc;
}

.button2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: white;
    border: 2px solid black;
    width: 15%;
    padding: 10px;
    margin: 0 auto 0 auto;
    background-color: black;
}

.button2:hover {
    cursor: pointer;
    background-color: white;
    color: black;
}

.index_body4 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.index_body4 p {
    font-size: 200px;
}

.index_body5 {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.index_body5_image {
    width: 50%;
    display: flex;
    align-items: center;
}

.index_body5_inner {
    padding: 20px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: #ccc;
    gap: 20px;
}

.index_body5 p {
    font-size: 20px;
}

.index_body5_input {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.form_name {
    display: flex;
    width: 100%;
    gap: 5%;
}

.form_fname {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 10px;
}

.form_lname {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 10px;
}

.index_body5 input[type=text],
.index_body5 input[type=email],
.index_body5 input[type=number] {
    height: 40px;
    outline: none;
    border: none;
    background: none;
    border-bottom: 2px solid black;
}

.index_body5 input[type=text]::placeholder,
.index_body5 input[type=email]::placeholder,
.index_body5 input[type=number]::placeholder {}

.index_body5 textarea {
    width: 100%;
    height: 100px;
    background: none;
    outline: none;
    border: none;
    border-bottom: 2px solid black;
}

.index_body5 textarea::placeholder {
    color: black;
}

.index_body5 input[type=button] {
    width: 20%;
    height: 50px;
    background-color: black;
    color: white;
    outline: none;
    border: none;
    padding: 10px;
}

.index_body5 input[type=button]:hover {
    background-color: white;
    color: black;
    cursor: pointer;
}

/*FOOTER*/

footer {
    top: 100%;
    left: 0;
    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
    gap: 20px;
    position: sticky;
}

.footer_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer_content a {
    color: white;
}

.social_icon_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.social_icon {
    color: white;
}

.social_icon:hover {
    color: grey;
}

/*ABOUT US PAGE*/

.about_body1 {
    background-color: #FFF0EC;
    padding: 5%;
    display: flex;
    width: 100%;
    flex-direction: row;
    gap: 30px;
}

.about_body1 img {
    width: 40%;
}

.about_body1_content {
    width: 60%;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    gap: 10%;
    line-height: 35px;
    text-align: justify;
    padding-top: 80px;
}

.about_body2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-top: 50px;
    height: 1000px;
}

.about_body2>hr {
    margin: 0 auto 0 auto;
}

.team {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
    gap: 5%;
    margin: 100px auto 100px auto;
}

.team_member {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border: 2px solid black;
    margin-top: 10px;
    padding: 5%;
    box-shadow: 4px 4px #ccc;
}

.team_member img {
    width: 100%;
}


/*CASE STUDIES PAGE*/

.cases_body1 {
    display: flex;
    flex-direction: row;
    height: 500px;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #B4C8DC;
    padding-top: 80px;
}

.cases_body1_content {
    display: flex;
    flex-direction: column;
    width: 70%;
    justify-content: center;
    align-items: center;
    text-align: justify;
}

.cases_body1_content p {
    width: 90%;
    font-size: 20px;
    line-height: 35px;
}

.cases_body1 img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
}

.cases_body2 {
    display: flex;
    flex-direction: column;
}

.case_studies {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 2.5% 0 2.5% 0;
    gap: 2.5%;
}

.case_study {
    width: 30%;
    height: 80px;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border: 1px solid black;
    border-left: 5px solid black;
    border-radius: 5px;
    font-size: 20px;
    gap: 10px;
    transition: all 300ms;
}

.case_study_outer {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.case_study_inner {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: justify;
}

.case_study:hover {
    height: 250px;
}

.case_study:hover {
    cursor: pointer;
    background-color: #ccc;
}

.download_button {
    background-color: blue;
    color: white;
    padding: 10px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    width: 100px;
    margin: 0 auto 0 auto;
}

.download_button:hover {
    cursor: pointer;
    background-color: dodgerblue;
}

/*CONTACT US PAGE*/
.contact_page_header1 {
    margin: 100px 0 0 5%;
    width: 90%;
}

.contact_body1 {
    margin: 10px auto 50px auto;
    display: flex;
    flex-direction: row;
    width: 90%;
}

.contact_body1 img {
    width: 50%;
}

.contact_body1_words {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto 0 auto;
}

.contact_body1_words>h1 {
    font-size: 20px;
}

.contact_body1_words>span {
    font-size: 45px;
    color: dodgerblue;
}

.contact_body1_words>p {
    font-size: 15px;
}

.contact_body1 form {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 10px 0 0 0;
    justify-content: center;
    gap: 5%;
}

.name_group {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10%;
}

.half {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.full {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#firstName,
#lastName,
#email,
#subject {
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
}

#firstName:hover,
#lastName:hover,
#email:hover,
#subject:hover {
    border-bottom: 2px solid black;
}

#firstName:focus-within,
#lastName:focus-within,
#email:focus-within,
#subject:focus-within {
    border-bottom: 2px solid black;
}

#message1 {
    padding: 10px;
    margin-top: 10px;
    border: 2px solid #ccc;
    width: 100%;
    height: 200px;
}

#message1:hover {
    border: 2px solid black;
}

#contactForm>button {
    background-color: #0c2521;
    color: white;
    border: 2px solid #0c2521;
    padding: 20px;
    display: block;
    margin: 0 auto;
    width: 40%;
}

#contactForm>button:hover {
    cursor: pointer;
    background-color: white;
    color: black;
}