*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    transition: all 0.2s linear;
}

:root{
    --white: #fff;
}

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 62.5%;
}

section{
    padding: 3rem 9%;
} 
/*--------Header Section Starts-------*/

.header{
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.7rem 5%;
}

.header .navbar a{
    font-size: 2.2rem;
    color: var(--white);
    display: inline-block;
    margin: 0 1.4rem;
    font-weight: bolder;
}

/*-----Header Animation----*/

.header .navbar a span{
    position: relative;
    padding-bottom: 0.5rem;
}

.header .navbar a span::after{
    content: '';
    width: 0%;
    height: 4px;
    background: #e7e7e7;
    position: absolute;
    left: 0;
    bottom: -1px;
    transition: 0.5s;
}

.header .navbar a span:hover:after{
    width: 100%;
}

.mobile-nav{
    display: none;
}

.mobile-nav a:hover{
    background-color: #e7e7e7;
    color: #000;
    transition: ease 0.2s;
}

.logo {
    width: 15rem;
    height: 15rem;
}

.home{
    margin: 0 auto;
    min-height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(12,3,51,0.3),rgba(12,3,51,0.3)), url(images/university-of-surrey.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home .content{
    text-align: center;
    color: var(--white);
}

.freemem-btn{
    margin-top: 3.5rem;
    display: inline-block;
    padding: 1.5rem 1.8rem;
    background: #239cff;
    color: var(--white);
    border-radius: 1rem;
    font-size: 2rem;
    font-weight: 600;
    transition: 0.5s;
}

.btn1:hover{
    opacity: 0.85;
}


.content h1{
    font-size: 5.5rem;
    font-weight: 600;
    font-family: 'europa';
    letter-spacing: 1px;
    padding-bottom: 2rem;
}

/*---Menu Icon----*/

  .btn {
    display: none;
    width: 48px;
    cursor: pointer;
    right: 0;
    z-index: 100;
  }
  
  .menubtn {
    display: block;
    width: 100%;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,0.4);
    border-radius: 3px;
    height: 0.5rem;
    background: #fff;
    transition: all .3s;
    position: relative;
  }

  .not-active .menubtn + .menubtn{
    margin-top: 1rem;
  }
  
  .active .menubtn + .menubtn {
    margin-top: 17px;
  }
  
  .active .menubtn:nth-child(1) {
    animation: ease .7s top forwards;
  }
  
  .not-active .menubtn:nth-child(1) {
    animation: ease .7s top-2 forwards;
  }
  
  .active .menubtn:nth-child(2) {
    animation: ease .7s scaled forwards;
  }
  
  .not-active .menubtn:nth-child(2) {
    animation: ease .7s scaled-2 forwards;
  }
  
  .active .menubtn:nth-child(3) {
    animation: ease .7s bottom forwards;
  }
  
  .not-active .menubtn:nth-child(3) {
    animation: ease .7s bottom-2 forwards;
  }
  
  @keyframes top {
    0% {
      top: 0;
      transform: rotate(0);
    }
    50% {
      top: 22px;
      transform: rotate(0);
    }
    100% {
      top: 22px;
      transform: rotate(45deg);
    }
  }
  
  @keyframes top-2 {
    0% {
      top: 22px;
      transform: rotate(45deg);
    }
    50% {
      top: 22px;
      transform: rotate(0deg);
    }
    100% {
      top: 0;
      transform: rotate(0deg);
    }
  }
  
  @keyframes bottom {
    0% {
      bottom: 0;
      transform: rotate(0);
    }
    50% {
      bottom: 22px;
      transform: rotate(0);
    }
    100% {
      bottom: 22px;
      transform: rotate(135deg);
    }
  }
  
  @keyframes bottom-2 {
    0% {
      bottom: 22px;
      transform: rotate(135deg);
    }
    50% {
      bottom: 22px;
      transform: rotate(0);
    }
    100% {
      bottom: 0;
      transform: rotate(0);
    }
  }
  
  @keyframes scaled {
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(0);
    }
  }
  
  @keyframes scaled-2 {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }

/*-------Menu Icon ends ----*/


.maincontent{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block h1{
    font-size: 3rem;
    padding: 2rem;
}

.block p{
    text-align: center;
    padding: 1.5rem;
    line-height: 1.5;
    font-size: 2rem;
    max-width: 60%;
    font-weight: 500;
}

.block a{
    margin: 2rem;
    padding: 1.5rem;
    font-size: 1.6rem;
    background: #239cff;
    color: #fff;
    border-radius: 1rem;
    font-weight: 600;
    text-align: center;

}

.links{
  display: flex;
  margin-bottom: 5rem;
}


.copyright {
    width: 100%;
    text-align: center;
    padding-top: 25px;
    background: #262626;
    font-weight: 300;
    margin-top: 30px;
    z-index: 100;
}

.copyright a{
    margin: 5px;
    text-decoration: none;
    font-size: 30px;
    font-weight: 400;
    font-family: 'proxima-nova';
    color: rgba(255,255,255,.8);
    letter-spacing: 2px;
    display: inline-block;
}

.copyright p{
    font-family: 'proxima-nova';
    color: rgba(255,255,255,.8);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 2px;
    margin: 5px 0;
}

.copyright-misc {
    padding-bottom: 10px;

}

.copyright-misc a {
    text-decoration: none;
    font-size: 14px;
    font-family: 'proxima-nova';
    margin-right: 10px;
    color: rgba(255,255,255,.8);
    display: inline-block;
    transition: transform 0.5s;
}


.copyright .avishlinkedin{
    color: #ababab;
    transition: 0.5s;
}

.copyright .avishlinkedin:hover{
    color: #1a3144;
}

.copyright .social-icons{
    margin: 10px auto;
}




@media(max-width:1350px) {

    html{
        font-size: 60%;
    }

    .header{
        padding: 1.7rem 3.8%;
    }

    .logo{
        width: 10rem;
        height: 10rem;
    }

    .embedvid{
        position: relative;
        width: 100%;
        padding-bottom: 60%;
        height: 0;
    }
    
    .embedvid iframe{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

@media(max-width:1184px) {

    .header{
        padding: 1.7rem 3rem;
    }

    .header .navbar a{
        font-size: 1.75rem ;
    }

    .logo{
        width: 10rem;
        height: 10rem;
    }
}

@media(max-width:1069px) {

    .header{
        padding: 1.7rem 3rem;
    }

    .header .navbar a{
        font-size: 1.7rem;
        margin: 0 1rem;
    }

    .logo{
        width: 10rem;
        height: 10rem;
    }
}

 @media(max-width:991px){
    html{
        font-size: 55%;
    }
    
    .header{
        padding: 1.5rem 5%;
    }

    .header .navbar a{
        font-size: 1.7rem;
        margin: 0.5rem;
    }

    .logo{
        width: 9.5rem;
        height: 9.5rem;
    }


 }


 @media(max-width:800px){
    
    section{
        padding: 2rem 9%;
    }
    
    .home{
        width: 100%;
    }

    .btn{
        display: inline-block;
    }

    .header .navbar{
        display: none;
    }

    .header .mobile-nav{
        position: fixed;
        top: 0; right: -100%;
        min-height: 100vh;
        display: block;
        z-index: 98;
        background-color: #086ab5;
        padding: 5rem;
        padding-top: 15rem;
        transition: linear 0.4s;
    }

    .mobile-nav.active{
        right: 0;
    }

    .mobile-nav nav{
        display: block;
    }

    .mobile-nav a{
        font-size: 2rem;
        display: block;
        margin: 0 auto 2.5rem;
        text-align: center;
        padding: 1rem 1.5rem;
        background-color: #1a3144;
        color: var(--white);
    }

    .mobile-nav a:hover

    .logo{
        margin-top: 1rem;
        margin-left: 1rem;
        width: 11rem;
        height: 11rem;
    }

    .block{
        padding: 1.5rem;
    }

    .block p{
      font-size: 1.7rem;
    }

    .block a{
        margin: 0 1rem;
        padding: 1.2rem;
        font-size: 1.2rem;
    }

 }


 @media(max-width:455px){
    
    html{
        font-size: 50%;
    }

    .logo{
        margin-top: 2rem;
        margin-left: 1rem;
        width: 10rem;
        height: 10rem;
    }

    .embedvid{
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
        height: 0;
    }
    
    .embedvid iframe{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .block p{
      max-width: 100%;
    }

    .block h1{
      padding: 1rem;
    }


}