html {
color:white;
font-size:100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f0f0;
    margin: 0px;
    overflow: hidden;
    width: 100vw;
    height:100vh;
    display:flex;
}

a {
    color: rgb(107, 176, 255);
}

#spacer {
    width:25%;
    height:100%;
    display:flex;
    background:black;
}
#canvas {
    display:flex;
    height:100%;
    width:75%;
}

#navContainer {
    display:flex;
    width:100%;
    height:100%;
    justify-content:space-evenly;
    flex-direction:column;
    color:white;
}

#navContainer div {
    cursor:pointer;
    font-size: 1.25em;
    text-align:center;
}
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #474747;
    border-radius: 200rem;
    height: 2rem;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #595959;
}

#titleImg {
    position: absolute;
    left: 50%;
    top: 5%;
    z-index: 20;
    width: 25rem;
    margin-left: -12.5rem;
}

h1 {
    color: white;
    font-size: 2.3rem;
    font-family: 'Montserrat';
    /*            text-align:center;*/
}

h2 {
    color: white;
    font-size: 1.2rem;
    text-decoration: underline;
    font-family: 'Montserrat';
}
li {
    color: white;

}

ul {

    columns: 2;
    padding-bottom: 2rem;

}

/* The Modal (background) */

.modal {
    display:flex;
    margin:0 auto;
    position: fixed;
    z-index: 2;
    padding-top: 3rem;
    left: 0;
    top: 0;
    width: 25%;
    height: 100%;
    overflow: scroll;
    background-color: rgb(0, 0, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity .8s;
}

.modal-content {
    display:flex;
    flex-direction: column;
    width: 95%;
    margin:0 auto;

}

.mainImg {
    text-align: center;
}

.mainImg img {
    width: 10rem;
    border-radius: 100%;
    margin-bottom: 0.7rem;
}

.mailImg, .linkedinImg {
    margin-right: 3rem;
}

.mailImg img {
    width: 1.75rem;
}

.linkedinImg img, .githubImg img {
    width: 1.5rem;
}

.githubImg img {
    border-radius:.3em;
}

.linkCenter {
    display: flex;
    justify-content: center;
}

.linkCenter a {
    display: block;
}

.modal-content p {
    color: white;
    font-size: 1rem;
    font-family: 'Montserrat';
}

.iframeContainer {
    width: 100%;
    height: 0;
    padding-top:50.34%;
    margin: 1em auto;
    background-size: contain;
    background-repeat: no-repeat;
}

/* The Close Button */

.close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: white;
    position: absolute;
    left: 90%;
    z-index: 9;
}

.close:hover {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.button {
    padding-top: 2rem;
    padding-bottom: 3rem;
    text-align: center;
    margin-bottom: 2rem;

}

.button a {
    border: 1px solid white;
    padding: .7rem;
    text-decoration: none;
    color: white;
    transition: background .5s;
    margin:.5rem;
}

.button a:hover {
    color: black;
    background-color: white;
}


/* SWIPING ICON */

#instructions {
    width: 75%;
    display: flex;
    margin: 1em 0;
    position: fixed;
    left: 25%;
    justify-content: center;
}

.wrapper {
    display:flex;
    justify-content:center;
  }
  
  .swipe-icon {
      margin-left:.5rem;
    overflow:visible;
    width:18px;
    height:24px;
  }
  
  .swipe-icon .swipe-arrow {
    animation: pulse-arrow 2s ease-out infinite;
  }
  
  .swipe-icon {
    animation: hand-move 2s ease-out infinite;
  }
  
  @keyframes pulse-arrow {
    0%   {transform: translateX(0); opacity:1;}
    50%  {transform: translateX(0.25em);opacity:1;}
    75% {transform: translateX(0.25em);opacity:0;}
    100% {transform: translateX(0);opacity:0;}
  }
  
  @keyframes hand-move {
    0%   {transform: translateX(0);}
    50%  {transform: translateX(0.5em);}
    100% {transform: translateX(0);}
  }
  



/* responsiveness */
@media only screen and (max-width: 1300px) {
    html {
        font-size: 15px;
    }

}

@media only screen and (max-width: 800px) {
    #spacer {
        display:none;
    }

    .modal {
        width:100%;
    }

    #canvas {
        width:100%;
    }

    #instructions {
        width:100%;
        left:0;
    }
}


@media only screen and (max-width: 400px) {

        html {
            font-size: 9.5px;
        }

        .hide {
            display: none;
        }

        .modal {
            width: 100%;
        }

    }

    @media only screen and (max-width: 350px) {

        html {
            font-size: 8.5px;
        }

    }


