:root {
    --highlight: #05D8E8;
    --dark: #0D0D0D;
  }

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: white;
    font-size: 2vh;
}

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    box-sizing: border-box;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    letter-spacing: normal;
}

button {
    align-self: center;
    box-shadow: none;
    border: 1px solid var(--highlight);
    border-radius: 20px;
    background-color: var(--dark);
    color: var(--highlight);
    font-size: 1rem;
    font-weight: bold;
    padding: 1vmin 2vmin;
    transition: 0.5s;
}

button:hover {
    color: white;
    background-color: var(--highlight);
    cursor: pointer;
}
footer {
    background-color: var(--highlight);
    text-align: center;
    display: flex;
    flex-direction: column;
}
small {
    padding-bottom: 20px;
}

footer p, footer i {
    padding: 30px 10px;
    color: white;
}

footer i.fa-angle-up {
    font-size: 2.5rem;
}

footer i.fa-angle-up:hover {
    color: var(--dark);
    cursor: pointer;
}


footer #logo-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

h1 {
    color: white;
    font-size: xx-large;
    font-size: 3rem;

}
h2 {
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: normal;
}

a {
    text-decoration: none;
    color: white;
}
a:hover {
    color: #05D8E8;
}

h3 {
    font-size: 1.5rem;
    padding: 0;
    margin: 0;
    font-weight: normal;
    letter-spacing: 4px;
}

h4 {
    font-size: 1.2rem;
    padding: 0;
    margin: 0;
}

p {
    font-size: 1rem;
}

#canvas1 {
    position: absolute;
    background: var(--dark);
    width: 100vw;
    height: 100vh;
    top:0;
    left: 0;
    z-index: -1;
    margin: 0;
    padding: 0;
}

#header-icons {
    display: flex;
    vertical-align: bottom;
}

#header-icons > a > i {
display: inline;
vertical-align: bottom;
}

#header-section {
    box-sizing: border-box; padding: 10vh 15vw; margin: 0; 
    color: white;
    width: 100vw; height: 100vh;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}


#header-text{
    align-self: center;
    /* z-index: 1; */
}

#header-text h1 {
    font-size: 3rem;
    margin-top: 0;    
}

#header-text a, #header-text p {
    color: var(--highlight); 
    text-decoration: none; 
}

#header-text i {
    color: white;
    font-size: 2rem;
    padding-right: 40px;
}

#header-section i:hover {
    color: var(--highlight);
    cursor: pointer;
}

#avatar {
    /* z-index: 1; */
    align-self: center;
    height: 33vh;
    width: auto;
}

#go-to-projects-arrow {
    font-size: 2.5rem;
    position: absolute;
    left: 48.5%;
    bottom: 10%;
}

#tech-stack-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#projects-section {
    box-sizing: border-box; padding: 10vh 15vw; margin: 0; 
    width: 100vw;
    background-image: linear-gradient(#0D0D0D 10%, #353535 100%);
}

#courses-section{
    box-sizing: border-box; padding: 10vh 15vw; margin: 0; 
    color: white;
    width: 100vw; background-color:var(--dark);
}

#projects-section h1, #courses-section h1{
    margin: 0;padding-bottom: 10px;     
    border-bottom: 2px solid var(--highlight);
    color: white;
}


#courses-grid, #projects-grid{
    flex-wrap: wrap;
    justify-content: space-between;
    display: flex;
    margin: 10vmin 0;
}


.tile {
    border: 1px solid white;
    box-shadow: 5px 10px 10px var(--dark);
    width: 45%;
    height: 20vmax;
    padding: 0px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    position: relative;
}


.project-description {
    background-color:rgb(13, 13, 13, 0.95) ;
    color: white;
    width:100%;
    height: 100%;
    padding: 20px;
    margin: 0 ;
    position:absolute;
    top:0; left:0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.description-box {
    width: 100%;

}

.text-highlight {
    color:var(--highlight);
}

.img-miniature {
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.project-links-section {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-evenly;
}

#tech-stack-section {
    background-color: var(--highlight);
    height: 15vmin;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.tech-stack-item i {
    font-size: 7vmin;
    padding: 3vmin;
    color: #0D0D0D;
}


  /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    margin:0;
    padding:0;
    width: 100vw; /* Full width */
    height: 100vh; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: var(--dark); /* Fallback color */
    background-color: rgba(13,13,13,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    text-align: center;
    background-color: rgba(13,13,13,0.1);
    margin: 10vh auto; /* 15% from the top and centered */
    padding: 20px;
    display: flex;
    flex-direction: column;
    
  }
  
  /* The Close Button */
  .close {
    color: white;
    float: right;
    align-self: flex-end;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: var(--highlight);
    text-decoration: none;
    cursor: pointer;
  }

  .hidden {
    visibility: hidden;
  }

  .download-btn {
      align-self: center;
      box-shadow: none;
      border: 1px solid var(--highlight);
      border-radius: 10vmin;
      background-color: var(--dark);
      color: var(--highlight);
      font-size: 1rem;
      font-weight: bold;
      margin:5vh;
      padding:2vmin;
      transition: 0.5s;
  }

  .download-btn:hover {
    color: white;
    background-color: var(--highlight);
    cursor: pointer;
  }

  .download-btn span {
    vertical-align:middle;
  }

  #resumeBtn,#aboutBtn{
    cursor: pointer;
  }

 .notDisplayed {
    display:none;
  }

  @media only screen and (max-width: 992px) {

    #projects-grid, #courses-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 10vmin 0;
    }
    
    #projects-grid > .tile,
    #courses-grid > .tile {
        width: 100%;
        height: auto;
    }

    
    #header-section {
      flex-direction: column;
      justify-content: space-between;
    }

    #go-to-projects-arrow {
        position: static;
        margin: 10px auto;

    }
    .modal-content {
        margin: 0;
    }

  }
