@media only screen and (min-width: 481px)
{

body
{
    font-family: 'Sawarabi Gothic', sans-serif;
    background-color: rgb(36, 36, 36);  
    
}

.Sidenavmenu
{
display: none;

}

.mobil{
  display: none;
}

.brand{
width: 25%;
margin-left: 37%;
}

.navtit{
  margin-top: 15%;
  margin-left: 45%;


}

.navtit2{
  margin-top: 5%;
  margin-left: 45%;


}

.topnav {
    height: 25%;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #585757;
    overflow: hidden;
    transition: 0.5s;
    
  }
  
  
  .topnav a{

    color: #818181;
    transition: 0.3s;
    display: block;
    text-decoration: none;
  }

  .Topnav2 {
    height: 0px;
    width: 40%;
    position: absolute;
    z-index: 1;
    top: 60%;
    left: 25%;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
  }
  
  .Topnav2 a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .Topnav2 a:hover {
    color: #f1f1f1;
  }
  
  .Topnav2 .closebtn2 {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }

  .SText{
    text-align: center;
    font-size: 20px;
    color: rgb(255, 255, 255);
    }

  .Bio {
    padding: 8px;
    text-decoration: none;
    font-size: 25px;
    width: 40%;
    margin-left: 27%;
    text-align: center;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .topnav a:hover {
    color: #f1f1f1;
  }
  
  .topnav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    opacity: 0%;
  }

  
  
/*menu*/

.menu{
  display: flex;
  flex-direction: row;
  width: 100%;
}
 .menulinks a
 {
font-size: 20px;
margin-left: 40px;
color: #ffffff;

 }

 .menulinks a:hover
 {
  background-color: #3b3b3b;
  transition: 0.7s;
 }


}


.main{
text-align: center;
font-size: 20px;

}

.portfolio
{
  display: flex;
  justify-content: center;
}

.portfolio > a
{
  margin: 10px;
  padding: 20px;
  font-size: 30px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
}

.T:hover,.h:active 
  {color: rgb(62, 5, 85);
    transition: 0.3s;
    }

.PorC
{
width: 700px;
height: 450px;
transition: transform .4s;

}

.PorC:hover
{
  transform: scale(1.1);


}

.PorH
{
width: 490px;
height: 530px;
transition: transform .4s;

}

.PorH:hover
{
  transform: scale(1.1);


}

.miniBio{
  width: 100%;
margin-top: 5%;
}

.intro{
  width: 100%;
  margin-left: 20%;
display: flex;
flex-direction: row;


}

.MiT
{
width: 40%;
margin-left: 8%;
font-size: 30px;
margin-top: 10%;
color: white;

}

.PorCB{
width: 25%;


}


/*moblil*/

@media only screen and (max-width: 481px)
{


body
{
    font-family: 'Sawarabi Gothic', sans-serif;
    background-color: rgb(36, 36, 36); 
    
}

.menu{

  display: none;
}

.brand{
  width: 100%;
  
  }
  
  .navtit{
    margin-top: 55%;
    text-align: center;
    
  
  
  }
  
  .topnav {
      height: 25%;
      width: 100%;
      position: fixed;
      z-index: 1;
      top: 0;
      left: 0;
      background-color: #3f3f3f;
      overflow: hidden;
      transition: 0.5s;
      
    }

.topnav a{

  color: #818181;
  transition: 0.3s;
  display: block;
  text-decoration: none;
}

.Bio {
  padding: 8px;
  text-decoration: none;
  font-size: 20px;
  width: 93%;
  text-align: center;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.topnav a:hover {
  color: #f1f1f1;
}

.topnav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  opacity: 0%;
}


.topnav {padding-top: 15px;}

.topnav a {font-size: 18px;}

.Topnav2 {
    height: 0px;
    width: 90%;
    position: absolute;
    z-index: 1;
    top: 63%;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
  }
  
  .Topnav2 a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .Topnav2 a:hover {
    color: #f1f1f1;
  }
  
  .Topnav2 .closebtn2 {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }

  .SText{
    text-align: center;
    margin-top: 50px;
    font-size: 20px;
    color: rgb(255, 255, 255);
    }

    .navtit2{
  margin-top: 5%;
  text-align: center;


}


/*sidemenu*/

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  color: #818181;
  text-align: center;
  display: block;
  transition: 0.3s;
  margin-top: 10%;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.sidenav {padding-top: 15px;}
  .sidenav a {font-size: 40px;}
  
  .miniBio{
  margin-top: 5%;
  height: 300px;
 
  }
  
  .intro{ 
    margin-left: 1%;
    width: 100%;
    height: 100%;
  display: flex;
  flex-direction: row;
  
  
  }
  
  .MiT
  {
  width: 80%;
  font-size: 15px;
  color: white;
  
  }
  
  .PorCB{
    width: 200px;
    
    
    
    }



.portfolio
{
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.portfolio > a
{
  margin: 10px;
  padding: 20px;
  font-size: 30px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
}

.T:hover,.h:active 
  {color: rgb(62, 5, 85);
    transition: 0.3s;
    }

.PorC
{
width: 100%;
height: 100%;
transition: transform .4s;

}

.PorC:hover
{
  transform: scale(1.1);


}

.PorH
{
width: 100%;
transition: transform .4s;

}

.PorH:hover
{
  transform: scale(1.1);


}



}