 * {
  margin: 0;
  padding: 0;
}
body,html {
  background-color: white !important;
  font-size: 16px;
  box-sizing: border-box;
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
} 
body {
  visibility: hidden; /* hide whole page initially */
}
body.loaded {
  visibility: visible; /* show when ready */
}

/* Header styling  */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 5px black;
}
.header h1 {
  color: #000000;
  font-size: 1.5rem;
  font-family: "Michroma", sans-serif;
  font-weight: 600;
  font-style: normal;
  margin: 0 2%;
}
.brand-icon {
  color: blue;
}
.header h2 {
  color: rgb(39, 39, 39);
  background-color: #e9e9e9;
  font-size: 1rem;
  font-family: "Michroma", sans-serif;
  font-weight: 600;
  font-style: normal;
  margin: 2%;
  cursor: pointer;
  border: 1px solid rgb(39, 39, 39);
  border-radius: 1rem;
  padding: 0.5rem;
}
.header h2:hover {
  transform: translatey(-3px);
  transition: all 0.1s ease-in-out;
  box-shadow: 0 0 2px black;
}
      
/*  Main section styling  */

.main-section {
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.main-cards {
  width: 100%;
  height: 640px;
  max-width: 500px;
  min-width: 300px;
  max-height: 640px;
  margin: 3rem 1rem;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 2rem;
  box-shadow: 0 0 5px black;  
}
.main-cards:hover {
  transform: translatey(-5px);
  transition: all 0.1s ease-in-out;
  box-shadow: 0 0 8px black;
}
/*  Footer styling  */

footer {
  box-shadow: 0 0 5px black;
  text-align: center;
  padding: 1%;
  font-size: 2rem;
  color: #000000;
}
footer a {
  text-decoration: none;
  font-size: 2rem;
}
footer a i {
  padding-top: 1.5rem;
  color: #fff;
}
footer a i:hover {
  transform: scale(1.1);
  transition: all 0.2s ease-in-out;
}
footer .github{
  color: black;
}
footer .x-twitter {
  color: #000000;
}

footer .linkedin {
  color: blue;
}
footer p {
  font-size: 1rem;
  margin: 1rem;
  color: #000000;
}
@media screen and (max-width:485px) {
  body,html {
    font-size: 12px;
  }
  .main-cards {
    max-height: 540px;
  }
  .header h1 {
    margin: 1.8rem 2%;
  }
}