/*Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 }
 
 html {
     scroll-behavior: smooth;
     width: 100%;
     overflow-x: hidden;
 }
 

/* Laith’s Web */
body {
    font-family: 'Share Tech';
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 41px;
    /* identical to box height */
    background-color: black;
    color: #00FF54;
} 

header {
    width: 100%;
    height: 115px;
    background-color: black;
    color: #00FF54;
    padding: 20px;
}

nav {
    position: absolute;
    right: 0px;
    top: 30px;
 }

 header div {
    width:200px;
}

main {
    padding: 160px 20px 20px;
}
main article p {
    max-width: 65ch;
}

nav ul li {
    display: inline-block;
    margin-right: 30px;
}

nav ul li a {
color: #00FF54;
}
nav ul li a:hover {
    color: #0f8e39;
    }

footer {
    padding: 20px;
    text-align: center;
}
footer img{
    display: inline-block;
    margin-right: 20px;
}
footer img :nth-child(3) {
    position: relative;
    top: -8px;
    left: 8px;
}
.fancy-button{
    background-color: #00FF54;
    padding: 20px 15px;
     border-radius: 10px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(277px, 1fr));
    gap: 22px;
}
section{
    padding: 20px;
}
/* Interests grid*/
#interests{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px,1fr));
    gap: 20px;
}
#interests figure img{
    width: 100%;
}
#interests h3{
    font-family: Share 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 2.5em;
}

/*Tablet*/
@media screen and (max-width:1024px){
    #container {
  grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /*phone*/
  @media screen and (max-width: 968px){
    #container {
        grid-template-columns: repeat();
  }}

  @media screen and (max-width:487px ){
   /*nav{
    font-size: 30px;
    left: 0px;
   }
header{
    height: 140px;
} */
 body{
    scale: 0.5;
    transform-origin: center top;
  } 
  }
