@font-face {
    font-family: 'Poppins-Medium';
    src: url('../fonts/Poppins-Medium.ttf');
}
@font-face {
    font-family: 'Poppins-Regular';
    src: url('../fonts/Poppins-Regular.ttf');
}
@font-face {
    font-family: 'Poppins-Light';
    src: url('../fonts/Poppins-Light.ttf');
}
@font-face {
    font-family: 'Poppins-Semibold';
    src: url('../fonts/Poppins-Semibold.ttf');
}

@font-face {
    font-family: 'Poppins-LightItalic';
    src: url('../fonts/Poppins-LightItalic.ttf');
}
@font-face {
    font-family: 'JosefinSans-Medium';
    src: url('../fonts/JosefinSans-Medium.ttf');
}
@font-face {
    font-family: 'JosefinSans-Regular';
    src: url('../fonts/JosefinSans-Regular.ttf');
}
@font-face {
    font-family: 'JosefinSans-SemiBold';
    src: url('../fonts/JosefinSans-SemiBold.ttf');
}
html {
  scroll-behavior: smooth;
  height: 100vh;

}
body{
    height: 100vh;
   /* min-height: 100%;*/
   padding: 0;
}
/* hamburger */

.checkbox {
    display: none;
}

.button {
    position: relative;
   background-color: #000;
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    position: fixed;
    top: 5vh;
    right: 5vw;
    z-index: 2000;
    /*box-shadow: 0 1rem 3rem black;*/
    text-align: center;
    cursor: pointer;
      border: 2px solid #FFC845;
        border-radius: 50%;
        animation: rotateIn;
        animation-duration: 3s;

}

.background {
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    position: fixed;
    top: 5vh;
    right: 5vw;
    background: #00000070;
  
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);

}

.nav {
    height: 100vh;
    position: fixed;
    top: 0;
    right: -60vw;
    z-index: 1500;
    opacity: 0;
    width: 0;
    transition: all 0.8s;
}

.list {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    text-align: center;
    width: 100%;
    padding: 0;
}
.list .item{
    margin: 5px;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.item {
     margin: 5px;
    height: 8rem;
    display: flex;
    align-items: center;
}

.link:link,
.link:visited {
    display: inline-block;
    font-size: 17px;
    font-weight: 300;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
   /* background-image: linear-gradient( 120deg, transparent 0%, transparent 50%, white 50%);*/
    background-size: 220%;
    transition: all 0.4s;
}
.link:visited .list{
    display: none;
}
.link:hover,
.link:active {
    color: lightgreen;
    cursor: pointer;
}


/* functionality */

.checkbox:checked~.background {
    transform: scale(85);
        border-radius: 0;
        background: #191919;
}

.checkbox:checked~.nav {
    opacity: 1;
    width: 100%;
    right: 0;
}


/*  */


/* styling hamb ICON */

.icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon,
.icon::before,
.icon::after {
    width: 1rem;
    height: 2px;
    background-color: #fff;
    display: inline-block;
}

.icon::before,
.icon::after {
    content: "";
    position: absolute;
    left: 0;
    transition: all 0.2s;
}

.icon::before {
    top: -0.3rem;
}

.icon::after {
    top: 0.35rem;
}

.button:hover icon:before {
    top: -1rem;
}

.button:hover icon::after {
    top: 1rem;
}

.checkbox:checked+.button .icon {
    background-color: transparent;
}

.checkbox:checked+.button .icon::before {
    top: 0;
    transform: rotate(135deg);
    background-color: #FFC845;
}

.checkbox:checked+.button .icon::after {
    top: 0;
    transform: rotate(-135deg);
    background-color: #FFC845;
}
.link{
    color: #fff!important;
     font-family: 'Poppins-Medium';
     font-size: 17px;
    letter-spacing: 4px;
}
.link:hover{
color: #FFC845!important;
}
/*end nav*/


/*responsive*/
@media(min-width: 1440px){
  .checkbox:checked~.background {
    transform: scale(95);
  } 
}

.logo{
    width: 15rem;
    margin: auto;
    display: block;
    margin-top: 2rem;
    padding: 0 2rem;
}
.logo img{
    width: 100%;
}

footer{
  background: url(../img/background.png);  
  padding: 8rem 2rem 8rem 2rem;
}
.footer-title{
    font-size: 24px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-family: 'JosefinSans-Regular';
}
.social{
    padding: 0;
    display: flex;
    margin:0;
    align-items: center;
    list-style: none;
    justify-content: center;
}
.social li{
    width: 2rem;
    height: 2rem;
}
.social .middle-li{
    margin-right: 8px;
    margin-left: 8px
}
.social li a img{
    width: 100%;
    height: 100%;
  
}
.overlay{
  background: url(../img/csr-bg.jpg);
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
/*    border-top: 0.1px solid #7453059e;*/
   
}
.background-overlay{
    padding: 1rem 10rem 5rem 10rem;
    height: 100%;
    width: 100%;
    background: rgb(0,0,0,60%);
}
.overlay-title{
   color: #fff;
   font-family: 'Poppins-Medium';
   text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-size: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
 /*   anmation:backInDown;
    animation-duration: 3s*/
}
.text{
   color: #fff;
   font-family: 'Poppins-Light';
   text-align: center;
   margin-bottom: 1rem;
   font-size: 18px;
  /* animation: backInUp;
   animation-duration: 3s;*/

}
@media(min-width:1400px){
    .background-overlay {
    padding: 1rem 10rem 8rem 10rem;
}
}
@media(max-width:1200px){
.background-overlay {
    padding: 0rem 5rem 5rem 5rem;
    }
    .text{
        font-size: 16px
    }
    .logo {
    width: 13rem;
}
}
@media(max-width:768px){
    .background-overlay {
    padding: 1rem 5rem;
}
}
@media(max-width:600px){
    .background-overlay {
    padding: 10px 3rem;
}
.text{
        font-size: 16px;
}
.logo {
    width: 12rem;
    margin: auto;
    display: block;
    margin-top: 1rem;
}
}