*, *::before, *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

:root{
    --deep-dark: #0E0504;
    --dark: #4B1F0E;
    --off-white: #EEE2DC;
    --medium: #794028;
    --medium-light: #A07855FF;
    --light-coffee: #F2EBE6;
    --light: #DFCDC0;
}

.home-video{
    width: 100%;
    height: 400px;
}

.home-video video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.title-bar{
    position: sticky;
    top: 0;
    height: 70px;
    display: flex;
    align-items: center;
    background: var(--deep-dark);
    z-index: 1000;

    box-shadow: 2px 7px 16px 3px rgba(75,31,14,0.75);
    -webkit-box-shadow: 2px 7px 16px 3px rgba(75,31,14,0.75);
    -moz-box-shadow: 2px 7px 16px 3px rgba(75,31,14,0.75);
}

.org-name{
    padding-left: 25px;
}

.org-name h1{
    font-family: 'Philosopher', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--light);

    background: url(../img/materials/fire-bkgrd.jpg) no-repeat center center;
    background-size: cover;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.nav-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-bar{
    list-style: none;
    display: flex;
    gap: 50px;
}

.nav-link{
    position: relative;
    padding: 0 10px 0 10px;
    color: var(--light);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-link:hover{
    color: var(--medium-light);
}

.nav-link::after{
    content: "";
    position: absolute;
    height: 3px;
    width: 0;
    left: 0;
    bottom: -15px;
    transition: 300ms ease-in-out;
    background: var(--light);
}

.nav-link:hover::after{
    width: 100%;
}

.hamburger{display: none;}

.home-body{
    width: 100%;
    min-height: 150vh;
    padding: 50px;
    background-image: url(../img/home/fill004.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.home-container{
    width: 100%;
}

.home-banner{
    width: 100%;
    height: 450px;
    padding: 50px 0 50px 50px;
    margin-bottom: 10rem;
    background-image: url(../img/home/banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hm-banner-txt{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: 'Gayathri', sans-serif;
    color: var(--deep-dark);
}

.hm-banner-txt h1{
    font-weight: 700;
    font-size: 2.5rem;
}

.hm-banner-txt p{
    font-weight: 700;
    font-size: 1.5rem;
}

.hm-banner-img img{
    width: 100%;
}

.hm-banner-txt-small-screen{
    display: none;
}

.hm-history{
    margin-bottom: 10rem;
    display: flex;
    justify-content: space-between;
}

.hm-history-txt{
    font-family: 'Gayathri', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 49%;
}

.hm-history-txt div{
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hm-history-txt h1{
    font-weight: 700;
    font-size: 3rem;
    color: var(--dark);
}

.hm-history-txt p{
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    line-height: 2rem;
    color: var(--dark);
}

.btn-continue-reading{
    padding-right: 5px;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--dark);
    transition: 300ms ease-in-out;
}

.btn-continue-reading:hover{
    color: var(--medium);
    padding-right: 0px;
}

.hm-history-img{
    width: 49%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hm-history-img img{
    width: 100%;
    height: auto;
}

.hm-history-txt-small-screen{
    display: none;
}

.hm-offerings{
    display: flex;
    gap: 2rem;
}

.hm-tbl-offerings{
    font-family: 'Gayathri', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hm-tbl-offerings tr:nth-of-type(even){
    background: var(--light);
}

.hm-tbl-offerings tr:nth-of-type(odd){
    background: var(--light-coffee);
}

.hm-tbl-offerings th{
    height: 2.6rem;
    background: var(--deep-dark);
    color: var(--light);
}

.hm-tbl-offerings th:nth-child(1){
    width: 6rem;
}

.hm-tbl-offerings th:nth-child(2){
    width: 24rem;
}

.hm-tbl-offerings th:nth-child(3){
    width: 8rem;
}

.hm-tbl-offerings tr{
    height: 2.6rem;
    color: var(--deep-dark);
}

.hm-tbl-offerings td:nth-child(1){
    text-align: right;
    padding-right: 25px;
}

.hm-tbl-offerings td:nth-child(2){    
    padding-left: 20px;
}

.hm-tbl-offerings td:nth-child(3){
    text-align: right;
    padding-right: 25px;
}

.hm-tbl-offerings .td-red{
    color: red;
}

.hm-tbl-offerings .tr-section td:nth-child(2){
    background: var(--deep-dark);
    color: var(--light);
    text-align: center;
    font-size: 1.4rem;
}

.read-more{
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.txt-read-more{    
    padding-right: 5px;
    font-family: 'Gayathri', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--dark);
    transition: 300ms ease-in-out;
}

.txt-read-more:hover{
    color: var(--medium);
    padding-right: 0px;
}

.footer{
    position: relative;
    padding: 50px;
    background: var(--deep-dark);
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
    justify-content: space-between;
}

.footer::before{
    position: absolute;
    content: '';
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background: var(--deep-dark);
    top: -30px;
    left: calc(50vw - 30px);
}

.go-top{
    position: absolute;
    top: -25px;
    left: calc(50vw - 25px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--light);
    background: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--light);
    cursor: pointer;
    animation: mover 2s infinite;
}

@-webkit-keyframes mover{
    0% {transform: translateY(0);}
    50% {transform: translateY(8px);}
    100% {transform: translateY(0);}
}

@keyframes mover{
    0% {transform: translateY(0);}
    50% {transform: translateY(8px);}
    100% {transform: translateY(0);}
}

.go-top:hover{            
    color: var(--light-coffee);
    border: 2px solid var(--light-coffee);
}

.ftr-left{
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: var(--light);
}

.ftr-left-top h1{
    font-family: 'Philosopher', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.ftr-left-top h3{
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.ftr-left-bottom{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ftr-left-rows{
    display: flex;
    gap: 30px;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.ftr-left-rows div{
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: var(--dark);

    display: flex;
    justify-content: center;
    align-items: center;
}

.ftr-middle{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ftr-middle-top h2{
    font-family: 'Philosopher', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--light);
}

.ftr-nav-bar{
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;    
}

.ftr-nav-link{
    color: var(--light);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: 250ms ease-in-out;
}

.ftr-nav-link:hover{
    color: var(--light-coffee);
}

.ftr-right{
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ftr-right-top h2{
    font-family: 'Philosopher', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--light);
}

.ftr-map{
    width: 320px;
    height: auto;
    transition: 400ms ease-in-out;
}

.ftr-map:hover{
    transform: scale(0.9);
    opacity: 0.8;
}

.lower-footer{
    background: black;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
}

.lower-footer div, .kayfold{
    color: var(--medium);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    gap: 40px;
    align-items: center;
}

.kayfold-logo{
    height: 18px;
    width: 18px;
    border-radius: 2px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 250ms ease-in-out;
}

.kayfold-logo:hover{
    transform: rotate(45deg);
}

@media screen and (max-width: 1250px){
    .title-bar{
        justify-content: space-between;
        padding-right: 50px;
    }

    .hamburger{
        position: relative;                
        display: flex;
        flex-direction: column;
        gap: 4px;
        height: 30px;
        width: 40px;
        cursor: pointer;                
        background: var(--light);
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        transition: 0.4s ease-in-out;
        z-index: 1500;
    }

    .bar{
        position: relative;
        width: 30px;
        height: 3px;
        background: var(--dark);
        transition: 0.4s;
    }

    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1){
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-7px) rotate(-45deg);
    }

    .hamburger:hover{
        background: var(--dark);
    }

    .hamburger:hover .bar{
        background: var(--light);
    }

    .nav-container{
        position: fixed;
        top: 70px;
        left: -100%;
        height: 100vh;
        width: 100%;
        justify-content: start;
        background: var(--dark);
        border-top: 2px var(--deep-dark) solid;
        flex-direction: column;
        transition: 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-bar{
        position: relative;
        padding: 50px 30px 30px 50px;
        height: auto;
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .nav-container.active{
        left: 0;
    }

    .hm-banner-txt h1{
        font-size: 2rem;
    }
    
    .hm-banner-txt p{
        font-size: 1.2rem;
    }

    .hm-history-txt h1{
        font-size: 2rem;
    }
    
    .hm-history-txt p{
        font-size: 1.2rem;
    }
    
    .continue-reading{
        font-size: 1.2rem;
    }

    .txt-read-more{
        font-size: 1.2rem;
    }
    
    .ftr-left-top h1{
        font-size: 2rem;
    }
    
    .ftr-left-top h3{
        font-size: 1rem;
    }

    .ftr-middle-top h2{
        font-size: 1.8rem;
    }

    .ftr-right-top h2{
        font-size: 1.8rem;
    }    
}

@media screen and (max-width: 1000px){
    .home-banner{
        flex-direction: column;
        width: 100%;
        height: auto;
        margin-bottom: 5rem;
        padding: 50px;
    }

    .home-banner div{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hm-banner-txt p{
        display: none;
    }

    .hm-banner-txt-small-screen{
        display: flex;
    }

    .hm-banner-txt-small-screen p{
        font-family: 'Gayathri', sans-serif;
        font-weight: 700;
        font-size: 1.5rem;
    }

    .hm-history{
        flex-direction: column;
        gap: 40px;
        margin-bottom: 5rem;
    }

    .hm-history-img{
        width: 100%;
        height: auto;
    }

    .hm-history-txt{
        width: 100%;
    }
    
    .hm-history-txt p{
        display: none;
    }

    .hm-history-txt div{
        display: none;
    }

    .hm-history-txt-small-screen{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .hm-history-txt-small-screen p{
        font-family: 'Gayathri', sans-serif;
        font-weight: 700;
        font-size: 1.5rem;
        letter-spacing: 1px;
        line-height: 2rem;
        color: var(--dark);
    }

    .hm-history-txt-small-screen div{
        width: 100%;
        display: flex;
        justify-content: flex-end;
        font-family: 'Gayathri', sans-serif;
        font-weight: 700;
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .txt-read-more{
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 950px){
    .hm-tbl-offerings:last-child{
        display: none;
    }
}

@media screen and (max-width: 650px){
    .org-name h1{
        font-size: 2.5rem;
    }

    .hm-banner-txt-small-screen p{
        font-size: 1.2rem;
    }

    .hm-history-txt-small-screen p{
        font-size: 1.2rem;
    }

    .hm-history-txt-small-screen div{
        font-size: 1.2rem;
    }

    .txt-read-more{
        font-size: 1.2rem;
    }

    .lower-footer{        
        height: 80px;
        flex-direction: column;
        gap: 10px;
    }
}

@media screen and (max-width: 550px){
    .org-name h1{
        font-size: 2rem;
    }
}

@media screen and (max-width: 470px){
    .title-bar{
        padding-right: 20px;
    }
    .org-name h1{
        font-size: 1.8rem;
    }

    .hamburger{
        gap: 3px;
        height: 24px;
        width: 32px;
    }

    .bar{
        width: 20px;
        height: 2px;
    }

    .hamburger.active .bar:nth-child(1){
        transform: translateY(5px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-5px) rotate(-45deg);
    }

    .home-body{
        padding: 20px;
    }

    .home-container{
        margin-top: 30px;
    }

    .home-banner{
        padding: 20px;
    }

    .hm-tbl-offerings{
        font-size: 1rem;
    }

    .read-more{
        margin-bottom: 30px;
    }

    .footer{
        padding: 30px;
    }

    .ftr-map{
        width: 280px;
    }
}