/*
Theme Name: childtheme
Version: 1.0
Description: A child theme of SpecialDivi
Author: sightsaversfoundation
Template: SpecialDivi
*/

@import url("../SpecialDivi/style.css");
@import url("https://use.typekit.net/vnl2oqp.css");

h1, h2, h3, h4, h5 {
    font-family: "synthemesc", sans-serif;
    font-weight: 400;
    font-style: normal;
}

#slogan {
    margin-top: -300px;
    z-index: 200;
    background: transparent;
    font-size: 55px;
    font-family: "synthemesc", sans-serif;
    color: #DF3B58;
    text-align: right !important;
    padding-left: 750px;
    line-height: 1.5;
}

.et_pb_text_inner #slogan {
    text-align: right;
}

#orangewave {
    margin-top: -300px;
    z-index: 200;
    background: transparent;
}

#welcome {
    background: #117274;
    color: #D8A37F;
    font-family: "ff-speak-web", sans-serif;
    font-size: 20px;
    margin-top: -75px;
    line-height: 1.25;
}

#welcome.et_pb_blurb_container .et_pb_blurb_content .et_pb_blurb_description {
    text-align: center;
}

.et_pb_module .et_pb_blurb .et_pb_text_align_left .et_pb_blurb_position_top .et_pb_bg_layout_light #welcome {
    text-align: center !important;
}

#welcome .et_pb_section .et_pb_section {
    text-align: center;
}

h4 {
    color: #D8A37F;
    font-size: 75px;
}

#volunteerwithus h4, #meetthefounder h4, #founder h4 {
    color: #ED4B6A;
    font-size: 55px;
}

#meetthefounder, #volunteerwithus, #founder {
    color: #ED4B6A;
    font-family: "ff-speak-web", sans-serif;
    font-size: 20px;
    font-weight: 1000;
    font-style: normal;
}

#founder {
    margin-top: -100px;
}

#eyemachine, #meetfounder {
    width: 70%;
    height: auto;
    z-index: 200;
    background: transparent;
}

#eyemachine {
    margin-top: -50px;
}

#meetfounder {
    margin-top: -150px;
    margin-bottom: 20px;
}

#bluewave {
    margin-top: -200px;
    max-width: 100%;
    z-index: 2;
    background: transparent;
}

#testimonial1 {
    margin-top: -700px;
}

#testimonial .et_pb_section {
    background: #5ABFBD;
}

#testimonial1 img {
    position: relative;
    border-radius: 50%;
    object-position: center;
    object-fit: cover;
    max-width: 350px;
    min-height: 350px;
}

#testimonial1 {
    color: #ED4B6A;
    font-family: "ff-speak-web", sans-serif;
    font-size: 20px;
    font-weight: 1000;
    font-style: normal;
}

#testimonial1 .et_pb_module_header {
    color: #ED4B6A;
    font-size: 55px;
}

.et_pb_fullwidth_code.et_pb_module #bluewave {
    height: 100%;
    max-height: 300px;
    margin-top: -20px;
    z-index: 100;
    background: transparent !important;
}

#closing .et_pb_text_inner {
    color: #D8A37F;
    font-family: "synthemesc", sans-serif;
    font-size: 40px;
    font-weight: 1000;
    font-style: bold;
    margin-top: 150px;
    text-align: center;
}

#closing {
    background: #117274;
    line-height: 1.50;
  margin-top: -100px;
}

#button {
    background: #117274;
    line-height: 10;
  margin-top: -150px;
}

.et_pb_button_module_wrapper > a {
    color: #ED4B6A;
    font-weight: bold;
    border: transparent;
}

.et_pb_button {
    font-family: "ff-speak-web", sans-serif;
    font-weight: bold;
    background: #FDE6EA;
    font: #F29325;
    border-radius: 15px;
    position: center;
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#bryan img {
    border-radius: 100%;
    position: relative;
    height: 350px;
    width: 350px;
    object-position: center;
    object-fit: cover;
}

#testimonials1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#serena, #bryan {
    position: relative;
}

#serena img, #bryan img {
    display: block;
    margin: 0 auto;
}

#serena {
    margin-bottom: 65px;
    margin-right: -100px;
    margin-left: 175px;
}

#bryan {
    margin-top: 65px;
    margin-right: 100px;
    margin-left: -175px;
}

#serena .testimonial-text, #bryan .testimonial-text {
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
    padding: 20px;
}

@media only screen and (max-width: 768px) {
 
#slogan {
        font-size: 35px;
        padding-left: 20px;
        text-align: center !important;
        margin-top: -50px;
    }

#welcome {
        padding-top: 0;
        margin-top: 20px;
        font-size: 18px;
    }

h4 {
        font-size: 45px;
    }

#volunteerwithus h4, #meetthefounder h4, #founder h4 {
        font-size: 35px;
    }

#eyemachine, #meetfounder {
        width: 100%;
        margin-top: 0;
    }

#bluewave {
        margin-top: 0;
    }

#testimonial1 {
        margin-top: -50px;
    }

 #testimonial1 img {
        max-width: 100%;
        min-height: auto;
    }

 #closing .et_pb_text_inner {
        font-size: 30px;
        margin-top: 50px;
    }

.et_pb_button {
        font-size: 16px;
        padding: 10px 20px;
        left: 50%;
        transform: translateX(-50%);
    }

#serena, #bryan {
        margin: 20px auto;
    }
#serena img, #bryan img {
        width: 200px;
        height: 200px;
    }
}