@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

body{
    margin: auto;
    padding: 0;
    width: 100%;
    height: 100%;
}

h1,h3,h4, a{
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

nav{
  width: 100%;
  position: fixed;
  z-index: 1;
  background-color: white;
}

nav ul{
  list-style: none;
  display: flex;
}

nav ul li{
  margin: 20px;
  padding: 5px;
  
}

nav ul li a{
  text-decoration: none;
  color: black;
}

a.active{
  color: #7E2ADB;
}

nav ul li:hover{
  border-bottom: 3px solid #7E2ADB;
}
.checkbtn{
    font-size: 30px;
    color: #7E2ADB;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
  }
#check{
    display: none;
}

.border-bottom{
    border-bottom: 2px solid;
    border-image: radial-gradient(rgba(145, 41, 228, 1),rgba(145, 41, 228, 0.3), rgba(145, 41, 228, 0)) 1;
}
section{
    position: absolute;
    top: 100px;
    text-align: center;
    animation-name: motion-body;
    animation-duration: 2s;
}

@keyframes motion-body{
    0%{
        top:300px;
    }
    100%{
        top:100px;
    }
}

span{
    color: #7E2ADB;
}

main{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; 
}

.hovereffect{
    overflow: hidden;
    position: relative;
    text-align: center;
}

.hovereffect img{
    width: 370px;
    margin: 10px;
    border-radius: 20px;
    transition: .5s;
}

.hovereffect .overlay {
    width: 370px;
    height: 275px;
    position: absolute;
    overflow: hidden;
    border-radius: 20px;
    top: 10px;
    left: 10px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
  }

  .hovereffect:hover .overlay {
    background: linear-gradient(90deg, #7E2ADB 0%, #9129E4 35.94%, #B227F4 100%);
    opacity: 0.7;
  }
  .hovereffect img {
    display: block;
    position: relative;
  }

  .hovereffect h3.info {
    display: inline-block;
    text-decoration: none;
    padding: 7px 14px;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #fff;
    background-color: transparent;
    filter: alpha(opacity=0);
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    font-weight: normal;
    margin: 20px 0 0 0;
    padding: 62px 20px;
    position: relative;
    top: 40px;
  }

  .hovereffect:hover h3.info {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
  
  .hovereffect h3.info:hover {
    box-shadow: 0 0 5px #fff;
  }

  

@media (max-width: 800px){
.checkbtn{
  display: block;
  margin-right: 20px;
  float: right;
}


ul{
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 100vh;
  top: 80px;
  left: 100%;
  background-color: white;
  text-align: center;
  transition: all .5s;
  display: flex;
  flex-direction: column;
}
nav{
  width: 1005;
  
}
nav ul li{
  margin: 50px 0;
  line-height: 30px;
}


nav ul li a{
  font-size: 20px;
}

a:hover,a.active{
  background: none;
  color: #7E2ADB;
}
#check:checked ~ ul{
  left: 0;
}
}


