/*
Theme Name: Zebra Site
Version: 3.0
Description: Divi Child Theme for Rare Disease Advocacy
Author: Ben Forred
Template: Divi
Author URL: https://zebrasitestudios.com
*/

@import url("../Divi/style.css");

/*-------My Theme Customizations------- */

/*----- Dynamic Font Settings -----*/

html {
    font-size: 62.5%;
}

.fwd-font-size h1 {
    font-size: clamp(4rem, calc(4rem + ((1vw - 0.32rem) * 1.6026)), 6.5rem);
    text-align: center;
}

.fwd-font-size h2 {
    font-size: clamp(3rem, calc(3rem + ((1vw - 0.32rem) * 1.2821)), 5rem);
}

.fwd-font-size h3 {
    font-size: clamp(2rem, calc(2rem + ((1vw - 0.32rem) * 1.2821)), 4rem);
}

.fwd-font-size h4 {
    font-size: clamp(1.8rem, calc(1.8rem + ((1vw - 0.32rem) * 0.7692)), 3rem);
}

.fwd-font-size h5 {
    font-size: clamp(1.6rem, calc(1.6rem + ((1vw - 0.32rem) * 0.5769)), 2.5rem);
}

.fwd-font-size h6 {
    font-size: clamp(1.4rem, calc(1.4rem + ((1vw - 0.32rem) * 0.3846)), 2rem);
}

.fwd-font-size p, .fwd-font-size li, .fwd-font-size a  {
    font-size: clamp(1.4rem, calc(1.4rem + ((1vw - 0.32rem) * 0.1282)), 1.6rem);
}

.fwd-pesa-col {
    max-width: 75%;
    margin: clamp(1rem, calc(1rem + ((1vw - 0.32rem) * 2.5641)), 10rem) auto;
    padding: clamp(1rem, calc(1rem + ((1vw - 0.32rem) * 2.5641)), 10rem) auto;
}

.fwd-col-mar-top {
    margin-top: clamp(1rem, calc(1rem + ((1vw - 0.32rem) * 2.5641)), 12rem);
}


    /*-------My Theme Customizations------- */




/*--------- Divi Back-to-top Button---------*/


.et_pb_scroll_top.et-visible {
    opacity: 1;
    -webkit-animation: fadeinRight 0.4s 1 cubic-bezier(0.77, 0, 0.175, 1);
    animation: fadeInRight 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    padding-top: 90px;
    padding-bottom: 0px;
    background-color: var(--accent-color);
    margin-bottom: -126px;
}



.et_pb_scroll_top.et-hidden {
    opacity: 0;
    -webkit-animation: fadeOutRight 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
    animation: fadeOutRight 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    padding-top: 90px;
    padding-bottom: 0px;
    background-color: var(--accent-color);
    margin-bottom: -126px;
}

/*----------- Header & Menu -----------*/

header#main-header {
    background-color: transparent;
    box-shadow: none;
}

div#et-top-navigation {
    visibility: hidden !important;
}

/*----------- Top Menu Logo -----------*/

@media only screen and (min-width: 981px) {
    #logo {
        width: 12vw;
        animation: shrink 300ms linear ease-in-out;
        margin-top: 1vw;
        padding: 1rem 1rem 1rem 1rem !important;
        background-color: #fff;
        border-radius: 6px;
    }

    .et-fixed-header #logo {
        width: 0vw;
        animation: grow 300ms linear ease-in-out;
        background: transparent !important;
    }

    .et_header_style_left .logo_container {
        height: auto;
    }

}

/*------------ Top Menu Logo Animation -------------*/

@keyframes shrink {
    0% {width: 10vw;}
    25% {width: 7.5vw;}
    50% {width: 5vw;}
    75% {width: 2.5vw;}
    100% {width: 0vw;}
}

@keyframes grow {
    0% {width: 0vw;}
    25% {width: 2.5vw;}
    50% {width: 5vw;}
    75% {width: 7.5vw;}
    100% {width: 10vw;}
}

  
/*------------- Sticky Header ----------------*/

header.et-fixed-header {
    background-color: transparent;
    position: sticky;
    top: 0px;
    width: 100%;
    z-index: 99;
    }
    
@media screen and (min-width: 783px) {
    
    .logged-in.admin-bar .et-fixed-header {
        top: var(--wp-admin--admin-bar--height, 0px);
        }
    }


.et_pb_button .et_pb_button_0 .et_pb_bg_layout_light::before {
    content: 'Hello There';
    color: white;
    font-size: 7.2rem;
    background-color: red;
}

.et_pb_heading_container h3 {
    color: blue !important;
}

#top-menu a {
    color: transparent !important;
}

#main-header.et-fixed-header {
    box-shadow: none !important;
}

.et_pb_column_1_3 {
    backdrop-filter: blur(3px) !important;
}

#tailored_solutions {
    height: fit-content !important;
    overflow-y: hidden !important;
}

@media screen and (max-width: 676px) {
    .customized-strategies {
        text-wrap: balance !important;
    }
}