@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100&family=Open+Sans:wght@400;600;800&display=swap');
:root {
    --color-primary:#006241;
    --color-secondary:#d50032;
    --color-extra:#d4e9e2;
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html ,body{
    font-family: 'Open Sans';
    line-height: 1.4;
    color:black;
}
a{
    color:#000;
}

ul{
    list-style: none;
}
p{
    margin:5px 0;
    line-height: 1.7;
}
img{
    width:100%;
}
section a{
    color: #fff;
}
/* Nav Bar */

.navbar{
    width: 100%;
    height: auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 1px 3px rgb(0, 0, 0 /10%),
    0 2px 2px rgb(0, 0, 0 /06%)
    0 0px 2px rgb(0, 0, 0 /7%)

}
.navbar-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar ul{
    display: flex;
    align-items: center;
}
.navbar li{
    margin: 0 15px;
    font-weight: bold;
}
.navbar a{
    color: #000;
    text-decoration: none;
}
.navbar a:hover{
    color:var(--color-primary);
}
.navbar-brand img{
    height:50px;
    width:50px;
}
.navbar-nav-right img{
    height: 20px;
    width: 20px;
    margin-right: 10px;
}
.navbar-nav-left{
    text-transform: uppercase;
    flex: 1;
    margin-left: 20px;
}
.navbar-nav-right li:first-child a{
    display: flex;
    align-items: center;
}

/* Buttons */
.btn{
    cursor: pointer;
    display: inline-block;
    background: none;
    border: 1px black solid;
    border-radius: 50px;
    padding: 7px 16px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}
.btn-dark-outline{
    border-color: #000;
    color: #000;
    
}
.btn-light-outline{
    border-color: #fff;
    color: #fff;
    
}
.btn-dark{
    background-color: #000;
    color: #fff;
}
.btn-light-outline:hover,
.btn-dark-outline:hover{
    background-color: rgba(0 , 0 , 0, 0.06);
}
.btn-dark{
    background-color: #333;
}
.navbar-nav-right li:nth-child(2){
    margin:  0 5px;
}
/* footer and Socials */
.footer-container{
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px 30px;
}
.social{
    display: flex;
    align-items: center;
    margin: 20px 0;
}
.social img{
    width: 35px;
    height: 35px;

}
.social a{
    margin-right: 20px;
    text-decoration: none;
}

.divider{
    width: 95%;
    height: 1px;
    background-color: #ccc;
    margin: 40px auto;

}

/* box */
.box{
    margin-bottom: 30px;
}
.box-inner{
    max-width: 700px;
    margin: 0 auto;
}
.box-text{
    max-width: 500px;
    text-align: center;
    justify-self: center;
    padding: 20px 0;
    margin: 0 auto;
}
.box-text .btn{
    margin-top: 20px;
}

.box-f .box-text{
    max-width: 600px;
}
/* grid */
.grid-col-2{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:2rem;
    align-items: center;
    justify-content: space-between;
}
.grid-reversed:first-child{
    order: 2;
}


/* Bg classes */
.bg-primary{
    background-color: var(--color-primary);
    color: #fff;
    
}
.bg-secondary{
    background-color: var(--color-secondary);
    color: #fff;

}
.bg-extra{
    background-color: var(--color-extra);
    color: #000;

}
.bg-dark{
    background-color: var(--color-dark);
    color: #000;

}
/* Text-center */

.text-center{
    text-align: center;
}
.text-xl{
    font-size: 50px;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-weight: 600;
    margin-bottom: 20px;
}
.text-lg{
    font-size: 40px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.text-md{
    font-size: 24px;
    margin-bottom: 20px;
}
.text-sm{
    font-size: 19px;
  margin-bottom: 20px;
}
/* padding */

.py-sm{
     padding: 10px 0;
}
.py-md{
     padding: 20px 0;
}
.py-lg{
     padding: 40px 0;
}
/* Hamburger-Menu */
.hamburger{
    display: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
    background: none;
    border: none;
    z-index: 10;
    transition: all 0.25s;
}
.hamburger-top,
.hamburger-middle,
.hamburger-bottom{
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: #000;
    transform: rotate(0);
    transition: all 0.5s;
}

.hamburger-middle{
    transform: translateY(7px);
}
.hamburger-bottom{
    transform: translateY(14px);
}
.open .hamburger-top{
    transform: rotate(45deg) translateY(6px) translateX(6px);
}
.open .hamburger-middle{
    display: none;
}
.open .hamburger-bottom{
    transform: rotate(-45deg) translateY(6px) translateX(-6px);

}
.mobile-menu {
    position: fixed;
    top: 85px;
    right:0;
    width: 90%;
    height: 100%;
    color: #000;
    background-color: #fff;
    padding: 30px; 
    box-shadow: inset 0 4px 3px -3px rgb(0, 0, 0 /10%),
        inset 0 4px 2px -2px rgb(0, 0, 0 /7%);
    transition: all 0.3s;


    }
.mobile-menu img{
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.mobile-menu ul{
    line-height: 3;
    border-bottom:#777 solid 1px;
    padding-bottom: 10px;
    margin-bottom: 30px;
}
.mobile-menu a{
    text-decoration: none;
    font-size: 20px;

}
.mobile-menu a:hover{
    color: var(--color-primary);
}

.mobile-menu div{
    margin-top: 20px;
}

.mobile-menu div a{
    display: flex;
    align-items: center;
    font-size: 16px;
}
.hidden{
    transform: translateX(100%);
}
.no-scroll{
    overflow: hidden;
}

@media(max-width:960){
    .text-xl{
        font-size: 30px;
    }
    .text-lg{
        font-size: 25px;
    }
    .text-md{
        font-size: 19px;
    }
}
@media (max-width:768px){
    .hamburger{
        display: block;
    }
    .grid-col-2{
        grid-template-columns: 1fr;
    }
    .grid-reversed:first-child{
        order:0;
    }
    .navbar-brand img{
        height: 40px;
        width: 40px;
    }
    .navbar .navbar-nav-left,
    .navbar .navbar-nav-right{
        display: none;
    }
    .footer{
        text-align: center;
    }
}
@media (min-width:1440){
    .box{
        max-width: 1440px;
        margin-right:auto;
        margin-left: auto;
    }
}

