@font-face {
  font-family: 'Panchang-Bold';
  src: url('Panchang-Bold.woff2') format('woff2'),
       url('Panchang-Bold.woff') format('woff'),
       url('Panchang-Bold.ttf') format('truetype');
       font-weight: 700;
       font-display: swap;
       font-style: normal;
}

*::selection {
  color: #ffffff;
  background-color: #0c5cf7;
}

/* Set the scroll behavior to smooth so that when you click the in the header, the screen scrolls down rather than jumps */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Set the margin to 0 to make sure the page stretches all the way to the edge of the browser window. */
body {
  margin: 0;
  padding: 0;
  background: #0c5cf7;
  background: -webkit-linear-gradient(150deg, #590CF7, #0c5cf7);
  background: linear-gradient(150deg, #590CF7, #0c5cf7);
  background-attachment: fixed;
}

.container {
  margin: 0;
  padding: 0;
}

.header {
  background: #0c5cf7;
  background: -webkit-linear-gradient(150deg, #590CF7, #0c5cf7);
  background: linear-gradient(150deg, #590CF7, #0c5cf7);
  

  font-family: 'IBM Plex Sans', sans-serif;
  color: #ffffff;
  height: 100vh;
}

.overlay {
  background-image: url(/images/cubes_blue.png);
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1 {
  font-family: "Panchang-Bold", sans-serif;
  font-weight: 800;
  font-size: calc(1em + 5vw);
  border-bottom: 1px solid;
  text-align: center;
  margin: 0;
  padding-bottom: 20px;
}

h1::selection {
  background-color: #ffffff;
  color: #0c5cf7;
}

.bio {
  margin: 40px 20px;
  color: #ffffff;
  font-size: 32px;
  font-family: 'IBM Plex Sans', sans-serif;
}

.bio::selection {
  background-color: #ffffff;
  color: #0c5cf7;
}

.buttonBox {
  display: flex;
  justify-content: center;
  align-content: center;
}

.myButton {
  border-radius: 1000px;
  cursor: pointer;
  color: #ffffff;
  border: 1px #ffffff solid;
  background-color: #00000000;
  font-size: 20px;
  padding: 16px 24px;
  text-decoration: none;
  min-width: 200px;
  text-align: center;
  margin: 0 20px;
}

.myButton:hover {
    background-color:#ffffff;
    color: #0c5cf7;
}

.myButton:active {
    position:relative;
    top:1px;
}

.myButton::selection {
  background-color: #ffffff;
  color: #0c5cf7;
}

iframe {
  border-radius: 20px;
  height: 40vh;
}

img {
  width: 100%;
  border-radius: 20px;
  height: 40vh;
  object-fit: cover;
}

main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 20px;
  padding: 44px 40px;
  background-color: #ffffff;
  backdrop-filter: blur(10px) saturate(50%) brightness(120%);

  border-radius: 25px;

  justify-items: center;
  justify-content: center;
  align-items: stretch;
  align-content: center;
}

h2 {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-align: left;
  color: #0c5cf7;
  padding: 10px 0px 10px 10px;
}

h2::selection {
  color: #ffffff;
  background-color: #0c5cf7;
}

.description {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.29;
  letter-spacing: 0.1px;
  text-align: left;
  color: #0c5cf7;
  padding: 10px 0px 10px 10px;
}

.description::selection {
  color: #ffffff;
  background-color: #0c5cf7;
}

a {
  color: #0c5cf7;
}

.wrapper {
  width: 100%;
  height: 100%;
  display: flex-column;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 115px;
  height: 21.1px;
  object-fit: contain;
  padding: 20px;
}

footer {
  background-attachment: fixed;

  padding: 20px 40px;
}

.copyright {
  margin: 0 0;
  font-family: "IBM Plex Sans", Helvetica, sans-serif;
  color: #ffffff;
  font-size: 18px;
  display: inline;
}

.icons {
  list-style-type: none;
  display: inline-flex;
}

.icons a {
  font-size: 18px;
  margin: 0 8px;
  color: #ffffff;
}

.icons .twitter:hover {
  color: #11a1f2;
}

.icons .instagram:hover {
  color: #dd1bd9;
}

/* ---------------------------------------------- */

@media all and (max-width:1100px) {
  main {
    grid-template-columns: 1fr 1fr;
  }

  .bio {
    font-size: 24px;
  }

  .description {
    font-size: 18px;
  }

  iframe {
    height: 35vh;
  }

  img {
    height: 35vh;
  }

  .myButton {
    min-width: 150px;
  }
}

@media all and (max-width:700px) {
  main {
    grid-template-columns: 1fr;
  }

  .bio {
    font-size: 18px;
  }

  .description {
    font-size: 18px;
  }

  iframe {
    height: 25vh;
  }

  img {
    height: 25vh;
  }

  .myButton {
    min-width: 100px;
  }
}