body {
  background-image: url(https://i.gifer.com/79e3.gif);
  background-color: black;
  background-position: center;
  background-repeat: no-repeat;
  font-family: 'Roboto', sans-serif;
  color: white;
  font-weight: bolder;

}

header{
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px;
  border-bottom: 15px ridge rgb(255, 2, 2);
  background-color: black;
  margin-bottom: 45px;
}

header ul{
  display: flex;
}

header ul li{
  padding: 5px;
  border-right: 2px dashed #fff;
  font-size: 20px;
}
header ul li:first-child{
  padding: 5px;
  border-left: 2px dashed #fff;
}

header ul li a{
  transition: 500ms;
}

header ul li a:hover{
  color: red;
  text-decoration: underline solid;
}

ul{
 list-style: none;
 font-style: italic;
 
}

header a{
  text-decoration: none;
  font-weight: 700;
  color: white;
 
}
.container{
  text-align: center;
}

.container .name h1{
  font-size: 60px;
  margin: 20px auto;
}

.container .name h5{
  font-size: 30px;
  margin: 10px auto;
}

#arrow{
  margin: 10px auto;
  font-size: 30px;
  cursor: pointer;
  animation: blink 1s steps(5,start) infinite;
}

@keyframes blink {
  to {
      visibility: hidden;
  }
}

#animation{
  transition: 300ms;
}

.rotate{
    transform: rotate(180deg);
    transition: 300ms;
}

.active{
  display: block !important;
}

#about p {
  max-width: 600px;
  margin: 0 auto;
}

.flex{
  display: flex;
}

.flex div{
  border: 0.5px solid red ;
  border-radius: 10px;
  margin: 15px;
  flex-basis: auto;
}

.flex img{
  margin: 10px;
  max-width: 250px;
  height: 170px;
}

.flex div .link{
  border:none;
  margin: 5px;
}
.flex div .link a{
  color: red;
}

.form{
  width: 40%;
  margin: 0 auto;
  border-bottom: 15px ridge rgb(255, 2, 2);
  border-top: 15px ridge rgb(255, 2, 2);
  padding: 10px;
  margin-top: 30px;
  
}

.form input{
  width: 50%;
  padding: 5px 10px;
  border: none;
  border-radius: 5px 0px 0px 5px;
}

.form button{
  width: 15%;
  padding: 5px 10px;
  background: linear-gradient(to right, red 50%,rgba(255, 0, 0, 0.63) 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition:all 300ms ease-out;
  margin-top: 20px;
  border-radius: 0px 5px 5px 0px;
  margin-left: -5px;
}
.form button:hover{
  background-position: left bottom;
  color: white;
}

@media only screen and (max-width: 768px) { 
  .form{
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {  
  .container .name h1{
    font-size: 30px;
  }
  .container .name h5{
    font-size: 15px;
  }
  #about p{
     max-width: 80%;
      
  }
  
  .flex{
    display: block;
  }
}

 
 #about:nth-child(3) > p:nth-child(1) {
  border: 10px ridge rgb(255, 2, 2);
  padding: 30px;
 }

 #about:nth-child(3) > p:nth-child(1):hover {
  font-size: 20px;
  font-weight: 800;
  
 }