
.line-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.line-grid > div.left {
    border-right: 1.5px solid var(--theme-light-purple);
    height: 25em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.line-grid > div.right {
    border-left: 1.5px solid var(--theme-light-purple);
    height: 25em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

div.speck {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--theme-light-purple);
    margin: 0 -7.5px;
    transition: transform 200ms ease;
    cursor: pointer;
    transition: box-shadow 200ms ease;
}

div.speck.glow {
    box-shadow:
    0 0 3px 1.5px rgb(150, 134, 255),  /* inner white */
    0 0 5px 2.5px rgb(150, 134, 255, 0.5), /* middle magenta */
    0 0 7px 3.5px rgb(150, 134, 255, 0.2); /* outer cyan */
}

.speck:hover {
    transform: scale(2, 2);
}

div.info {
    width: 10em;
    height: 10em;
    border-radius: 50%;
    border: 1.5px solid var(--theme-light-purple);
    background-color: rgba(106, 89, 217, 0.1);
    transition: background-color 0.2s ease;
    margin: 0 20%;
    cursor: pointer;
}

.info:hover {
    background-color: rgba(106, 89, 217, 0.2);
}

.info p {
    text-align: center;
    margin: 40% 5%;
    color: var(--theme-white);
    font-family: var(--spartan-font);
    font-size: 1.2em;
}

/* Overlay CSS */

.overlay {
    height: 100%;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    backdrop-filter: blur(5px);
    background-color: rgba(0,0,0,0.7);
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.1s ease-in-out;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.2s;
  }
  
  .overlay a:hover,
  .overlay a:focus {
    color: #f1f1f1;
  }
  
  .profile-img {
    width: 80%;
    /* height: 20%; */
    margin: 0;
  }

  .desc {
    margin: 5% 5% 0 5%;
    width: 90%;
  }
  
  .profile {
    display: flex;
    height: 100%;
    align-items: center;
    color: #fff;
    justify-content: space-around;
  }

  h1.name {
    font-family: var(--spartan-font);
    color: var(--theme-orange);
  }

  h3.role {
    font-family: var(--spartan-font);
    color: var(--theme-light-blue);
  }

  .desc div.about {
    font-family: var(--libre-font);
    color: var(--theme-white);
  }
  
  .profile-img {
    animation: fadeIn 0.5s, slide 0.5s;
    -webkit-animation: fadeIn 0.5s, slide 0.5s;
    -moz-animation: fadeIn 0.5s, slide 0.5s;
    -o-animation: fadeIn 0.5s, slide 0.5s;
    -ms-animation: fadeIn 0.5s, slide 0.5s;
  }
  
  .desc {
    animation: fadeIn 0.5s, rev-slide 0.5s;
    -webkit-animation: fadeIn 0.5s, rev-slide 0.5s;
    -moz-animation: fadeIn 0.5s, rev-slide 0.5s;
    -o-animation: fadeIn 0.5s, rev-slide 0.5s;
    -ms-animation: fadeIn 0.5s, rev-slide 0.5s;
  }
  
  .desc h1 {
    font-size: 3em;
    line-height: 1.1em;
    margin: 0;
  }
  
  .desc h3 {
    font-size: 1.75em;
    margin: 0;
  }
  
  .desc p {
    margin: 2em 0;
  }

  .inner {
    display: none;
  }
  
  @keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
  }
  
  @keyframes slide {
    from {
      margin-left: -40px;
     }
  
    to {
      margin-left: 0px;
     }
  }
  
  @keyframes rev-slide {
    from {
      margin-right: -40px;
    }
  
    to {
      margin-right: 0px;
    }
  }

.para.spl {
  background: rgb(123, 183, 233, 0.2);
  padding: 2%;
  border-radius: 15px;
}

@media (max-width: 767px) {

    .overlay {
      grid-template-columns: 1fr;
    }
    
    .profile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        margin-top: 50px;
    }

    .profile-img {
    width: auto;
    max-width: 80%;
    height: auto;
    margin-bottom: 20px;
    }

    .desc {
    width: 80%;
    }
}