/* general styles */


h2 {
    font-size: 130%;
    padding: 2%;
    margin-top: auto;
    margin-bottom: auto;
}

h3 {
    font-size: 120%;
    padding: 1%;
    margin: auto;
    margin-top: auto;
    margin-bottom: auto;
}

h4 {
    font-weight: 400;
    font-size: 120%;
}

p {
    font-weight: 200;
    font-size: 16px;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #383838;
    justify-content: center;
    margin: 0;
    min-height: 100vh;
}

main {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 100vw;
    position: relative;
}

/* Nav Bar */

li,
a,
.contact {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #edf0f1;
    text-decoration: none;
}

header {
    display: flex;
    align-items: center;
    background-color: #202020;
    justify-content: center;
    max-height: 90px;
    padding: 15px 5%;
}

.logo {
    cursor: pointer;
    margin-right: auto;
    width: 20%;
    max-width: 200px;
    max-height: 90px;
    min-height: 25px;
    min-width: 95px;
}

.nav_links {
    list-style: none;
}

.nav_links li {
    display: inline-block;
    padding: 0px 15px;
}

.nav_links li a {
    transition: all 0.3s ease 0s;
}

.nav_links li a:hover,
.nav_links li a.active {
    color: #0088a9;
    font-size: 18px;
}

.contact {
    padding: 5px 10px;
    background-color: rgba(0, 136, 169, 1);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    font-size: 16px;
}

.contact:hover {
    background-color: rgba(0, 136, 169, 0.8);
    font-size: 18px;
}

/* Hero Section */

#cover-text {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 2.2rem;
    color: #edf0f1;
    text-decoration: none;
    position: absolute;
    text-shadow: 2px 2px 1px #000000;
    background-color: rgba(43, 43, 43, 0.5);
    top: 30px;
    right: 30px;
    width: 22%;
    height: 48%;
    text-align: right;
    vertical-align: middle;
    min-width: 290px;
}

#hero {
    height: 400px;
    width: 100%;
    background: url(../assets/images/zebra_2.jpeg) no-repeat center center/cover;
    position: relative;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

#hero_services {
    height: 400px;
    width: 100%;
    background: url(../assets/images/services.jpeg) no-repeat center center/cover;
    position: relative;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

#hero_team {
    height: 400px;
    width: 100%;
    background: url(../assets/images/zebs_2.png) no-repeat center center/cover;
    position: relative;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

#hero_career {
    height: 400px;
    width: 100%;
    background: url(../assets/images/manchester2.png) no-repeat center center/cover;
    position: relative;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;

}

#hero_contact {
    height: 400px;
    width: 100%;
    background: url(../assets/images/contact.jpeg) no-repeat center center/cover;
    position: relative;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;

}

/* About Section */

#about {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #edf0f1;
    text-decoration: none;
    width: 90%;
    margin: auto;
    margin-top: 15px;
    margin-bottom: 35px;
    text-shadow: 1px 1px 1px #000000;
}

.about_us {
    border-bottom: 1px solid white;
    text-align: left;
    padding: 15px;
    padding-bottom: 45px;
    max-width: 1800px;
    font-size: 20px;
    text-shadow: 1px 1px 1px #000000;
}

/* News */

#news {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #edf0f1;
    text-decoration: none;
    width: 90%;
    margin: auto;
    text-shadow: 1px 1px 1px #000000;
}

.news_col {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #edf0f1;
    text-shadow: 1px 1px 1px #000000;
    text-decoration: none;
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 0.5em;
    align-items: center;
}

.col {
    width: 320px;
    height: 540px;
    padding: 1em;
    border: 1px solid white;
    padding: 10px;
    margin-bottom: 25px;
    box-shadow: 2px 2px 2px 1px black;
    background-color: rgb(81, 81, 81);
    margin: 15px;
    align-items: center;
    justify-content: center;
}

.col>h4 a {
    color: rgb(0, 156, 196);
    font-weight: 400;
    font-size: 110%;
}

.news_img {
    width: 320px;
}

/* Services */

#services {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #edf0f1;
    text-shadow: 1px 1px 1px #000000;
    text-decoration: none;
    margin: auto;
    width: 90%;
    margin: 25px auto;
    max-width: 1400px;
}

.services_content {
    padding: 15px;
    margin: 15px auto;
    border-bottom: 1px solid white;
    height: 280px;
    width: 90%;
}

.services_content>ul {
    padding-top: 35px;
}

li {
    float: left;
    text-align: left;
    text-decoration: none;
    max-width: 620px;
    margin: auto;
    padding-left: 5px;
    padding-right: 60px;
}

.services_content:last-of-type {
    border-bottom: none;
}

.services_list {
    width: 620px;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    margin: auto;
    max-height: 1800px;
}

/* Team Page */

#team_content {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #edf0f1;
    text-shadow: 1px 1px 1px #000000;
    text-decoration: none;
    width: 90%;
    margin: auto;
    margin-top: 20px;
    border-bottom: 1px solid white;
    padding: 15px;
    max-width: 1600px;
}

.team_photo {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: 1200px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.team_section {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #edf0f1;
    text-shadow: 1px 1px 1px #000000;
    text-decoration: none;
    width: 90%;
    margin: auto;
    margin-top: 20px;
    border-bottom: 1px solid white;
    padding: 25px;
    max-width: 1200px;
}

.team_section:last-of-type {
    border-bottom: none;
}

.team_pic {
    border: 4px solid white;
    width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.text_pic {
    margin-bottom: 25px;
    align-items: center;
    display: flex;
}

.team_text {
    padding: 25px;

}

/* Career Page */

.career_intro {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #edf0f1;
    text-shadow: 1px 1px 1px #000000;
    text-decoration: none;
    width: 90%;
    margin: auto;
    margin-top: 20px;
    border-bottom: 1px solid white;
    padding: 25px;
    margin-bottom: 35px;
    justify-content: center;
}

.career_container {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #edf0f1;
    text-shadow: 1px 1px 1px #000000;
    text-decoration: none;
    width: 90%;
    margin: 0 auto;
    margin-top: 30px;
    padding: 15px;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1em;
    flex: 1;
    margin-bottom: 30px;
    max-width: 1100px;
}

.career {
    width: 350px;
    height: 320px;
    padding: 1em;
    border: 1px solid white;
    padding: 10px;
    box-shadow: 1px 1px 1px 1px black;
    background-color: rgb(81, 81, 81);
    margin-top: 15px;
    margin: 20px auto;
}

.career_app {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #edf0f1;
    text-shadow: 1px 1px 1px #000000;
    text-decoration: none;
    width: 90%;
    margin: auto;
    margin-top: 20px;
    border: 1px solid white;
    padding: 10px;
}

/* Career Form */

#form_title {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #edf0f1;
    text-shadow: 1px 1px 1px #000000;
    width: 75%;
    margin: 0 auto;
    margin-top: 20px;
    border: 1px solid white;
    padding: 15px;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 1px 1px 1px 1px black;
    background-color: rgb(81, 81, 81);
    max-width: 850px;
}

form {
    width: 70%;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 1em;
}

.input-checkbox {
    height: 15px;
    width: 15px;
    margin-right: 25px;
}

.input-radio {

    width: 15px;
    margin-right: 25px;
}

fieldset {
    border: none;
    padding: 1rem 0;
    border-bottom: 3px solid white;
    margin: 5px auto;
}

fieldset:last-of-type {
    border-bottom: none;
}

label {
    display: block;
    margin: 0.5rem 0;
}

input,
textarea,
select {
    margin: 10px 15px 0 0;
    width: 100%;
    min-height: 2em;
}

input,
textarea {
    background-color: #edf0f1;
    border: 1px solid white;
    color: black;
}


input[type="submit"] {
    margin: auto;
    padding: 9px 25px;
    background-color: rgba(0, 136, 169, 1);
    border: none;
    border-radius: 50px;
    color: #edf0f1;
    text-shadow: 1px 1px 1px #000000;
    font-size: 20px;
    width: 35%;
}

input[type="file"] {
    padding: 1px 2px;
}

#user_ex {
    display: flex;
    justify-content: space-between;
}

#button {
    display: flex;
}

/* Contact page */

#contact {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #edf0f1;
    text-decoration: none;
    width: 90%;
    margin: auto;
    margin-top: 35px;
    margin-bottom: 35px;
    text-shadow: 1px 1px 1px #000000;
}

.contact_info {
    border-bottom: 1px solid white;
    text-align: left;
    padding: 15px;
    padding-bottom: 45px;
    max-width: 1800px;
    font-size: 22px;
    text-shadow: 1px 1px 1px #000000;
}

.contact_us {
    border-bottom: 1px solid white;
    text-align: left;
    padding: 15px;
    padding-bottom: 45px;
    max-width: 1800px;
    font-size: 20px;
    text-shadow: 1px 1px 1px #000000;
}

.contact_content {
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #edf0f1;
    text-shadow: 1px 1px 1px #000000;
    text-decoration: none;
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 0.5em;
    flex: 1;
}

.contact_address {
    width: 320px;
    height: 520px;
    padding: 1em;
    border: 1px solid white;
    padding: 10px;
    margin-bottom: 25px;
    box-shadow: 2px 2px 2px 1px black;
    margin-top: 35px;
    background-color: rgb(81, 81, 81);
    min-width: 300px;
    text-align: center;
}

.contact_map {
    width: 450px;
    height: 520px;
    padding: 1em;
    border: 1px solid white;
    padding: 10px;
    margin-bottom: 25px;
    box-shadow: 2px 2px 2px 1px black;
    margin-top: 35px;
    background-color: rgb(81, 81, 81);
    min-width: 300px;
}

.contact_us:last-of-type {
    border-bottom: none;
}

/* Footer */

footer {
    margin-top: auto;
}

#footer-content {
    display: flex;
    flex-direction: row;
    margin-top: 0;
    background-color: #202020;
    width: 100%;
    font-family: "lexend", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #edf0f1;
    height: 50px;
}

.zeb-foot {
    height: 50px;
    width: 100%;
    padding: 0;
    text-align: center;
    left: 0px;
    align-self: flex-start;
    margin: 0 auto;
}

.zeb-foot h4 {
    margin: 10px;
}

.social-list {
    height: 50px;
    width: 100%;
    padding: 0;
    text-align: center;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    text-decoration: none;

}

.social-list i {
    font-size: 18px;
    margin: 10px;
}

/* Media query for tablets */

@media (max-width: 859px) {

    nav>li,
    a,
    .contact {
        font-size: 12px;
    }

    .nav_links li a:hover,
    .nav_links li a.active {
        font-size: 14px;
    }
}

@media (max-width: 835px) {
    #cover-text {
        font-size: 200%;
        height: 65%;
    }


    .col {
        width: 80%;
        height: 570px;
    }

    .news_img {
        width: 100%;
    }

    .services_content {
        height: 310px;
    }

    #hero,
    #hero_services,
    #hero_team,
    #hero_career,
    #hero_contact {
        height: 280px;
    }
}

@media (max-width: 690px) {
    
    nav>li,
    a,
    .contact {
        font-size: 12px;
    }

    .nav_links li a:hover,
    .nav_links li a.active {
        font-size: 12px;
    }
}

@media (max-width: 425px) {
    body {
        width: 100%;
        height: 100%;
    }

    .social-list i {
        font-size: 14px;
        margin: 5px;
        margin-top: 10px;
    }

    .services_list li {
        font-size: 0.8rem;
    }

    .services_list {
        width: 100%;
    }

    .team_pic {
        width: 225px;

    }
    .col {
        height: 520px;
    }
}

@media (max-width: 946px) {
    .contact_address {
        width: 70%;
        text-align: center;
    }

    .contact_map {
        width: 70%;
    }

    iframe {
        width: 100%;
    }
}

@media (max-width: 976px) {
    .career {
        width: 260px;
        height: 360px;
    }
}

@media (max-width: 748px) {
    .career {
        width: 90%;
        height: 260px;
    }
}

@media (max-width: 520px) {
    .career {
        height: 350px;
    }

    form {
        padding: 0;
        width: 100%;
    }

    .career_intro {
        padding: 10px;
        margin: 10px;
    }
}

@media (max-width: 705px) {

    .services_list {
        width: 90%;
    }

    .services_content {
        height: 390px;
    }
}

@media (max-width: 525px) {
    .services_content {
        height: 440px;
    }

    .services_list {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .services_list li {
        font-size: 0.9rem;
    }
}

@media (max-width: 405px) {
    .services_content {
        height: 500px;
    }

    .services_list li {
        font-size: 0.9rem;
    }
}

@media (max-width: 345px) {
    .services_content {
        height: 550px;
    }

    .services_list li {
        font-size: 0.8rem;
    }

    .career_container {
        padding: 0;
        width: 95%;
    }
}

@media (max-width: 700px) {
    .text_pic {
        display: flex;
        flex-direction: column;
    }

    .team_pic {
        order: 1;
        margin-top: 15px;
        ;
    }

    .team_text {
        order: 2;
    }

    .team_section {
        padding: 0;
    }
}

@media (max-width: 325px) {
    .services_list li {
        font-size: 0.7rem;
    }
}

@media (max-width: 625px) {
    header {
        padding: 5px;
    }

    .nav_links li {
        padding: 0 5px;
    }
}

@media (max-width: 460px) {

    .nav_links li a:hover,
    .nav_links li a.active {
        font-size: 0.6rem;
    }

    nav>li,
    a,
    .contact {
        font-size: 0.6rem;
    }

    .contact {
        font-size: 0.5rem;
    }

    nav {
        padding: 3px;
    }

    .logo {
        width: 15%;
        min-height: 15px;
        min-width: 65px;
    }
}