/*===== CUSTOM FONTS =====*/

@font-face {
    font-family: "CustomFont";   
    src: url("../css/fonts/earthwerk/pizzadude.dk_-_earthwerk-webfont.woff") format("woff");
    src: url("../css/fonts/earthwerk/pizzadude.dk_-_earthwerk-webfont.woff2") format("woff2");
    /*font-family: "akzidenz";
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-black-webfont.woff") format("woff");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-black-webfont.woff2") format("woff2");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-bold-webfont.woff") format("woff");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-bold-webfont.woff2") format("woff2");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-light-webfont.woff") format("woff");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-light-webfont.woff2") format("woff2");
    font-family: "knockout";
    src: url("../css/fonts/knockout/knockout-htf-69-full-liteweight-1361516723-webfont.woff") format("woff");
    src: url("../css/fonts/knockout/knockout-htf-69-full-liteweight-1361516723-webfont.woff2") format("woff2");*/
    }
  
  @font-face {
    font-family: 'akzidenz';
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-black-webfont.woff") format("woff");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-black-webfont.woff2") format("woff2");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-bold-webfont.woff") format("woff");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-bold-webfont.woff2") format("woff2");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-light-webfont.woff") format("woff");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-light-webfont.woff2") format("woff2");
  }
  
  @font-face {
    font-family: 'knockout';
    src: url("../css/fonts/knockout/knockout-htf-69-full-liteweight-1361516723-webfont.woff") format("woff");
    src: url("../css/fonts/knockout/knockout-htf-69-full-liteweight-1361516723-webfont.woff2") format("woff2");
  }
  
  /*===== VARIABLES =====*/
  
  :root {    
    --green-primary: #6d8d36;
    --indigo-secondary: #1c283e;
    --white-light: #eaebed;
    --text-color: rgb(33, 37, 41);
    --black-main: #000;
    --white-main: #fff;
    --gray: #97968e;
    --design-fonts: 'CustomFont';
    --akzidenz-font-family: Helvetica, Arial, sans-serif;
    --knockout-font-family: 'knockout';
    --heading-font: 'CustomFont';
    --line-height: 1.5;
    --letter-spacing: 1;
    --font-size: 20px;
  }
  
  /*===== PRESETS =====*/
  
  *,
  ::after,
  ::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    margin: 0;    
    overflow-x: hidden;
    font-family: var(--akzidenz-font-family);
    font-size: 18px;
  }
  
  .for-overflow{
    overflow-x: hidden;
  }
  
  ul,
  li {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  h1,
  h2,
  h3,
  h4 {
    margin: 0;
    padding: 0;
    border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
  }

section#campaigns.banner{
    width: 100vw;
    height: auto;
    min-height: unset;
    position: relative;
    color: black;
    aspect-ratio: 1400 / 280;
    isolation: isolate;
}

section#campaigns.banner img {
    object-fit: cover;
    width: 100%;
    height: auto;
    object-position: center;
    aspect-ratio: 1400 / 280;
    display: block;
}

section#campaigns.banner::after{
    content: "";
    position: absolute;
    inset: 0;
    background-color: black;
    opacity: 0.3;
}

section#campaigns.banner .banner-heading{
    position: absolute;
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--design-fonts);
    font-size: clamp(2.5rem, 1.8510rem + 2.8846vw, 4.375rem);
    color: white;
    width: 97vw;
}

@media screen and (max-width: 1200px){
    section.past-events .container{
        width: clamp(60.8125rem, 21.9034rem + 60.7955vw, 67.5rem);
    }
}

@media screen and (max-width: 1023px){
    section#campaigns.banner .banner-heading{
        transform: translate(-50%, -50%);
    }

    section.past-events .container{
        width: 95%;
    }
}

section#campaigns.banner .banner-heading h1{
    text-align: center;
}

/*===== CAMPAIGNS BODY STYLES =====*/
  
section.campaigns-body{
    background: #f7f2e9;
}

.banner-heading.campaign-banner-heading h1{
    font-family: var(--knockout-font-family);
    font-size: 60px;
    
    
}

@media screen and (max-width: 1100px){
    .banner-heading.campaign-banner-heading h1{
        font-size: clamp(2.5rem, 1.0000rem + 4.0000vw, 3.75rem);
    }
}

.banner-heading.campaign-banner-heading h1 strong{
    font-weight: lighter;
    color: var(--green-primary);
}


section.campaigns-body .campaigns-intro{
    width: 850px;    
    margin: 0 auto;
    text-align: center;
    margin-bottom: 3rem;
}

/*.past-overlay{
    position: absolute;
    background: black;
    inset: 0;
    opacity: 0.3;
} */


section.campaigns-body .container{
    display: grid;
    grid-template-columns: repeat(3, 360px);
    justify-content: space-between;
    grid-row-gap: 2rem;
}

section.campaigns-body .container .campaign-card{
    padding: 0.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    position: relative;
}

section.campaigns-body .container .campaign-card img{
    display: block;
}

section.campaigns-body .container .campaign-card .campaign-card-image{
    width: 100%;
    
    background: var(--green-primary);
    border-radius: 1rem;
    aspect-ratio: 367 / 230;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

section.campaigns-body .container .campaign-card .campaign-card-image .campaign-type{
    position: absolute;
    color: white;
    top: 5%;
    left: 5%;
    padding: 0.75rem 1.5rem;
    background-image: url("../images/category-background.png");
    background-size: cover;
    /*background-position: 5% 20%;*/
    width: fit-content;
    
}



section.campaigns-body .container .campaign-card img{
    display: block;
    width: 100%;
    height: auto;
}

section.campaigns-body .container .campaign-card .campaign-card-body h2{
    font-size: 18px;
    font-weight: bold;
    font-family: var(--akzidenz-font-family);
    margin-bottom: 1rem;
}

section.campaigns-body .container .campaign-card .campaign-card-body p{
    font-size: 18px;
    margin-bottom: 1rem;
}

section.campaigns-body .container .campaign-card a{
    width: 90%;
    margin: 0 auto;
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
    text-align: center;
    background: var(--green-primary);
    color: white;
    padding-block: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: thin solid var(--green-primary);
}

section.campaigns-body .container .campaign-card a.hidden{
    visibility: hidden;
}

section.campaigns-body .container .campaign-card a:hover{
    background: transparent;
    color: var(--green-primary);
}

section.campaigns-body .container .campaign-card .absolute-button{
    position: absolute;
    bottom: 1.4%;
    left: 0;
    width: 100%;
}

section.campaigns-body .previous-campaigns{
    margin-top: 3rem;
    width: fit-content;
    margin-inline: auto;
}

section.campaigns-body .previous-campaigns a{
    color: var(--green-primary);
}

/*===== CAMPAIGNS BODY RESPONSIVE STYLES =====*/
@media screen and (max-width: 900px){
    section.campaigns-body .campaigns-intro{
        width: 92vw;
    }
}

@media screen and (max-width: 1300px){
    section.campaigns-body .container{
        width: 92%;
    }
}

@media screen and (max-width: 1200px){
    section.campaigns-body .container{
        grid-template-columns: repeat(2, 360px);
        gap: clamp(1rem, -0.7778rem + 3.7037vw, 2rem);;
        place-content: center;
    }
}

@media screen and (max-width: 767px){
    section.campaigns-body .container{
        grid-template-columns: repeat(1, 360px);
    }    
}

@media screen and (max-width: 400px){
    section.campaigns-body .container{
        grid-template-columns: repeat(1, 340px);
    }
    
    .money-stats.not-hidden{
        width: 324px;
    }
}

/*===== CAMPAIGNS SINGLE STYLES =====*/
section#campaignsSingle.banner .intro-wrapper {
    width: 100vw;
    position: absolute;
    bottom: 10%;
    z-index: 1;
}

section#campaignsSingle.banner .intro-wrapper .rhino-intro {
    width: 950px;
    margin-inline: auto;
}

section#campaignsSingle.banner .intro-wrapper .rhino-intro h1 {
    font-family: var(--knockout-font-family);
    font-size: 60px;
    color: white;
    font-weight: lighter;
}

section#campaignsSingle.banner .intro-wrapper .rhino-intro h1 strong {
    color: var(--green-primary);
    font-weight: lighter;
}

section#campaignsSingle.banner .intro-wrapper .rhino-intro p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

/*===== CAMPAIGN EMBEDDING STYLES =====*/
section.campaing-embedding{
    background: #f7f2e9;
    position: relative;
}

section.campaing-embedding .embedding-body{
    width: 900px;
    
    background: white;
    margin: 3rem auto;    
    border-radius: 40px;
    
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding: 45px;
    position: relative;
    margin-top: 0;
}

section.campaing-embedding .embedding-body .season-image{
    position: absolute;
    top: -60px;
    right: -50px;
}

section.campaing-embedding .embedding-body .more-campaign-messaging{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

section.campaing-embedding .embedding-body .more-campaign-messaging ul, section.campaing-embedding .embedding-body .more-campaign-messaging li{
	padding-left: 1rem!important;
	list-style: disc;
	font-size: 20px;
}

section.campaing-embedding .embedding-body .more-campaign-messaging ul li{
	list-style: disc!important;
	font-size: 20px!important;
	margin-bottom: 1rem;
}

/*===== CAMPAIGNS SINGLE RESPONSIVE STYLES =====*/
@media screen and (max-width: 1100px){
    section#campaignsSingle.banner .intro-wrapper .container{
        width: 95%;
    }

    section#campaignsSingle.banner .intro-wrapper .rhino-intro{
        width: 100%;
    }

    section#campaignsSingle.banner .intro-wrapper .rhino-intro h1{
        font-size: clamp(2.5rem, 1.0000rem + 4.0000vw, 3.75rem);
    }
}

@media screen and (max-width: 400px){
    section#campaignsSingle.banner .intro-wrapper .rhino-intro h1{
        font-size: 30px;
    }
}

@media screen and (max-width: 1000px){
    section.campaing-embedding .embedding-body{
        width: 90%;
        padding-inline: clamp(1.25rem, 0.3125rem + 4.1667vw, 2.8125rem);
        margin-bottom: 3rem;
        margin-inline: auto;
    }
}

@media screen and (max-width: 600px){
    section.campaing-embedding .embedding-body{
        width: 95%;
        padding-inline: clamp(1.25rem, 0.3125rem + 4.1667vw, 2.8125rem);
        margin-inline: auto;
        
    }

    section.campaing-embedding .embedding-body .season-image{
        top: -50px;
        right: -20px;
        width: 100px;
    }

    section.campaing-embedding .embedding-body .season-image img{
        display: block;
        aspect-ratio: 2 / 2;
        width: 100%;
    }
}

/*===== MPESA STYLES =====*/
.kenya-mpesa{
    width: 100%;
    border: solid 5px var(--gray);
    margin-bottom: 3rem;
}

.kenya-mpesa h2{
    background-color: rgba(109, 141, 54, 0.2);
    padding: 0.5rem 1rem;
    color: var(--indigo-secondary);
    font-weight: bold;
}

.kenya-mpesa ul{
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
}

.kenya-mpesa ul li{
    display: flex;
    gap: 0.5rem;
    color: var(--indigo-secondary);
}

.kenya-mpesa ul li > div{
    display: block;
    
}

.kenya-mpesa ul li div:first-child{
    width: 15px;
    height: 25px;
    border-radius: 50%;
    background-color: rgba(109, 141, 54, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: 25px;
}

.kenya-mpesa ul li div:last-child{
    flex-basis: 90%;
}

.or{
    margin-bottom: 3rem;
    width: 100%;
    text-align: center;
    background: var(--green-primary);
    padding-block: 1rem;
    color: white;
    font-weight: bold;
}

/*===== PAYPAL SELECTION STYLES =====*/
.donate-paypal{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding: 2rem;
    border-radius: 5px;
}

.donate-paypal .donate-paypal-heading{
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    color: rgba(0, 0, 0, 0.87);
    margin-bottom: 1.5rem;
}

.donate-paypal .donate-paypal-heading img{
    display: block;
}

.donate-paypal .donate-paypal-heading h2{
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
}

.donate-paypal .donate-selection{
    display: flex;   
    justify-content: space-between; 
    position: relative;
    height: 160px;
}

.donate-paypal .donate-selection .donate-monthly-selection{
    flex-basis: 49.5%;
    
}

.donate-paypal .donate-selection .donate-monthly-selection label.selector{
    border: thin solid var(--green-primary);
    display: block;
    width: 100%;
    text-align: center;
    padding-block: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--green-primary);
    border-radius: 5px;
    margin-bottom: 1.5rem;
    transition: all 300ms ease;
}

.donate-paypal .donate-selection .donate-monthly-selection label.selector:hover{
    background: var(--green-primary);
    color: white;
}


input[name="donate-inputs"]{
    display: none;
}

.donation-amounts{
    display: none;
}

input[name="donate-inputs"]:checked ~ label.selector{
    background: var(--green-primary);
    color: white!important;
}

input[name="donate-inputs"]:checked ~ .donation-amounts{
    display: flex;
    height: 300px;
    position: absolute;
    left: 0;
    width: 100%;
}

.selection-buttons{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 0.5rem;
}

.selection-buttons.single-selection{
    grid-template-columns: repeat(5, 1fr);
}

.selection-buttons > div{
    width: 100%;
}

.selection-buttons input[type="radio"]{
    display: none;
}

.selection-buttons label{
    display: block;
    width: 100%;
    border: thin solid var(--green-primary);
    text-align: center;
    padding-block: 1rem;
    border-radius: 5px;
    color: var(--green-primary);
    font-weight: bold;
    transition: all 300ms ease;
    cursor: pointer;
}

.selection-buttons label:hover{
    background-color: var(--green-primary);
    color: white;
}

.select-other{
    display:none;
}

input[name="monthly-amount-button"]:checked  ~ label{
    background-color: var(--green-primary);
    color: white;
}

input[name="single-amount-button"]:checked  ~ label{
    background-color: var(--green-primary);
    color: white;
}

input[name="monthly-amount-button"]:checked  ~ .select-other{
    position: absolute;
    left: 0;
    bottom: 53%;
    width: 100%;
    display: flex;
    background-color: white;
    border: thin solid var(--green-primary);
    border-radius: 7px;
}

input[name="monthly-amount-button"]:checked  ~ .select-other input{
    width: 100%;
    padding-block: 1rem;
    text-indent: 0.5rem;
    border: none;
    font-size: 18px;
}

input[name="monthly-amount-button"]:checked  ~ .select-other input:focus{
    border: 0;
    outline: 0;
}

input[name="monthly-amount-button"]:checked  ~ .select-other p{
    font-size: 18px;
    padding-block: 1rem;
    margin-left: 1rem;
}

input[name="single-amount-button"]:checked  ~ .select-other{
    position: absolute;
    left: 0;
    bottom: 53%;
    width: 100%;
    display: flex;
    background-color: white;
    border: thin solid var(--green-primary);
    border-radius: 7px;
}

input[name="single-amount-button"]:checked  ~ .select-other input{
    width: 100%;
    padding-block: 1rem;
    text-indent: 0.5rem;
    border: none;
    font-size: 18px;
}

input[name="single-amount-button"]:checked  ~ .select-other input:focus{
    border: 0;
    outline: 0;
}



.select-other p{
    font-size: 18px;
    padding-block: 1rem;
    margin-left: 1rem;
}

.what-donation-can-do{
    padding: 1rem;
    background: rgba(109, 141, 54, 0.2);
    color: var(--indigo-secondary);
    margin-bottom: 1.5rem;
    min-height: 56px;
}

.what-donation-can-do p{
    font-size: 16px;
}

.click-to-donate button{
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    padding-block: 1rem;
    border: thin solid var(--green-primary);
    border-radius: 5px;
    background: var(--green-primary);
    color: white;
    cursor: pointer;
    position: relative;
    z-index: 100;
    transition: all 300ms ease;
}

.click-to-donate button i{
    margin-right: 0.5rem;
}

.click-to-donate button:hover{
    background: white;
    color: var(--green-primary);
}

/*==== PAYPAL SELECTION RESPONSIVE STYLES ====*/
@media screen and (max-width: 767px){
    .donate-paypal .donate-selection{
        height: 400px;
    }

    .selection-buttons, .selection-buttons.single-selection{
        grid-template-columns: auto;        
    }

    .donate-paypal{
        padding-inline: 1rem;
    }

    input[name="monthly-amount-button"]:checked ~ .select-other{
        bottom: -25%;
    }

    input[name="single-amount-button"]:checked ~ .select-other{
        bottom: -25%;
    }

}


.campaign-spinner-overlay{
    position: fixed;
    z-index: 999;
    top: 0px;
    left: 0px;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    overflow-y: hidden;
    height: 100vh;
    width: 100vw;
}

.embed-form{
    display: flex;
}

.embed-form iframe{
    margin: 0 auto;
}