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

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
font-family: 'Lato', sans-serif;
  margin: 0;  
  background: radial-gradient(circle, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);;
  font-family: 'Lato', sans-serif;
}

html {
 scroll-behavior: smooth;
}
.container {
  max-width: 1280px;
  padding: 0 1.5rem;
  margin: auto;
  overflow: hidden;
}

.header {
  width: 100%;
  z-index: 3;
  padding: 10px 40px;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.header li a {
  display: block;
  padding: 0px 0px;
  text-decoration: none;
  color: black;
  font-weight: lighter;
  padding: 10px 10px;
}

.header>ul>li:last-child  > a {
 border: 1px solid black;
 padding: 10px 10px;
 margin-top: 10px;
 border-radius: 3px;
 cursor: pointer;
 transition: ease-out 0.5s;

}

.header>ul>li:last-child  > a:hover {
background: white;
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

.header .logo img {
  width: 40%;
}

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}


.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}


#info {
 display: flex;
 flex-direction: column;
 justify-content: center;
 min-height: 100vh;
}

#info .bio h1 {
 font-size: 50px;
}

#info .bio p {
 font-size: 40px;
 text-align: justify;
 color: white;
}

#info .Social-media {
  display: flex;
  justify-content: left;
}
 #info .Social-media a{
  display: flex;
  font-size: 20px;
  border-radius: 8px;
  margin: 20px 20px 0px 5px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: black;
  transition: transform 0.5s
}
#info .Social-media a i{
  transition: transform 0.5s;
}
#info .Social-media a:hover{
  transform: translateX(2px);
  color: rgb(26,91,92);
}

#about {
 display: flex;
 flex-direction: column;
 justify-content: center;
 min-height: auto;
}

#about .background h1{
 text-align: center;
}

#about .grids {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 
}

#about h1 {
 padding: 20px 0;
}
 p {
 text-align: justify;
 padding: 20px 0;
  color: white;

}



.skills h1 {
 text-align: center;
}

.skills .flex {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 grid-gap: 20px;
 padding-top: 20px;
 padding-left: 20px;
 text-align: center;
 margin: auto;
}

.skills .flex h4{
 color: white;
}

.skills .flex  ul {
 list-style: none;
 font-size: 0.7rem;
}

.skills .flex  ul li  {
 list-style: none;
 font-size: 0.7rem;
 color: black;
}


#projects {
 display: flex;
 flex-direction: column;
 justify-content: center;
 min-height: 100vh;
 margin: 50px 0;
}
#projects h1 {
 padding-bottom: 50px;
 text-align: left;
}
#projects h1:after {
    content: "";
    display: inline-block;
    height: 0.5em;
    vertical-align: bottom;
    width: 10%;
    margin-right: -100%;
    margin-left: 10px;
    border-top: 1px solid black;
  }

#projects .projects-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
padding: 30px 0;
}


#projects .projects-grid img {
width: 95%;
}

#projects .projects-grid .info {
margin: auto;
}


#projects .projects-grid .info h2{
 color: black;
}

#projects .projects-grid .info p{
margin: 10px 0;
padding: 15px;
width:  450px;
border-radius: 3px;
text-align: justify;
color: whitesmoke;
border-radius: 3px;
border: 1px solid white;}

#projects .projects-grid .info .links {
 display: flex;
 justify-content: space-between;
}

#projects .projects-grid .info .links .links-advnace ul a i {
padding-left: 10px; 
color: black;}

#projects .projects-grid .info .links .links-advnace ul a i:hover {
 color: white;}

#projects .projects-grid .info .links ul{
list-style: none;
display: flex;
}

#projects .projects-grid .info .links ul li{
padding-right: 10px;
color:black;
font-size: 13px;
}

.other-projcts .projects-list {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 grid-gap: 20px;
}

.other-projcts .projects-list .info h2{
  font-size: 20px;
color:white;}

.other-projcts .projects-list .info p{
height: 120px;
margin: 10px 0;
padding: 15px;
border-radius: 3px;
text-align: justify;
color: black;
border-radius: 3px;
border: 1px solid white;}

.other-projcts .projects-list .info .links {
 display: flex;
 justify-content: space-between;
}

.other-projcts .projects-list .info .links .links-advnace ul a i {
padding-left: 10px; 
font-size: 13px;
color: black;}

.other-projcts .projects-list .info .links .links-advnace ul a i:hover {
color: white;}
.other-projcts .projects-list .info .links ul{
list-style: none;
display: flex;
}
.other-projcts .projects-list .info .links ul li{
padding-right: 10px;
color:black;
font-size: 13px;
}

#getintouch {
 display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
}

#getintouch h1 {
font-size: 30px;
font-weight: lighter;
padding-bottom: 10px;
}

#getintouch p {
text-transform: none;
font-weight: bolder;
text-align: center;
 color: white;
}

#getintouch .Social-media {
  display: flex;
  justify-content: center;
}
#getintouch .Social-media a{
  display: flex;
  font-size: 20px;
  border-radius: 8px;
  margin: 20px 20px 0px 5px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: black;
  transition: transform 0.5s
}
#getintouch .Social-media a i{
  transition: transform 0.5s;
}
#getintouch .Social-media a:hover{
  transform: translateX(2px);
  color: white;
}

/* Media Queries */

@media (min-width: 48em) {
 
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }

}

@media screen and (max-width: 500px) {

 .header {
  width: 100%;
  z-index: 3;
  padding: 10px 10px;
}

#info {
  min-height: 70vh;
}

 #info .bio h1 {
 font-size: 40px;
}

#info .bio p {
 font-size: 30px;
 text-align: justify;
 color: white;
}

#about {
 display: flex;
 flex-direction: column;
 justify-content: center;
 min-height: 100vh;
}

 #about .grids {
 display: inline;
 grid-template-columns: repeat(2, 1fr);
}


.skills .flex {
 padding-top: 0px;
 padding-left: 0px;
}

#projects .container{

  width: 100%;

}

#projects .projects-grid {
display: block;
padding-bottom: 40px !important;
}

#projects .projects-grid .info p{
width: 100%;
}

#projects .projects-grid img {
width: 100%;
margin-top: 20px ;
}
#projects h1 {
padding: 0px 0; 
text-align: center;
}



#projects h1:after {
    content: "";
    height: 0.5em;
    vertical-align: bottom;
    width: 0;
    margin-right: 0;
    margin-left: 0;
    border-top: 1px solid black;
  }
.other-projcts .projects-list {
 display: grid;
 grid-template-columns: repeat(1, 1fr);
 grid-gap: 20px;
}

.other-projcts .projects-list .info {
 padding-top: 20px;
}

.other-projcts .projects-list .info h2 {
 font-size: 18px;
}

.other-projcts .projects-list .info p {
 font-size: 18px;
height: auto;}

}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  { 
  #info {
 min-height: 70vh;
 min-width: 100%;
}
}