*{ 
    padding: 0;
    margin: 0;
}

html, body, .flex-container {
    height: 100vh;
}

body{
    font-family: 'Source Code Pro';
    overflow-x: hidden;
    background-color: #010203;
}

.flex-container {
    display: flex;
    flex-direction: column;
    color: #f1f1f1;
    align-items: center;
  }
  
.box {
    background-color: #010203;
    font-size: 15px;
    margin-top: 50px;
  }

.box > p {
    width: 35vw;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#box2{
    width: 600px;
}

footer{
    display: flex;
    flex-direction: row;
    align-self: flex-start;
    margin: 50px;
    margin-top: 20px;
    margin-left: 125px;
    color: #f1f1f1;
}

#personalInfo > p{
    margin-bottom: 5px;
}

#page-header{
    display: flex;
    align-self: flex-start;
    flex-direction: row;
    width: 100vw;
}

#navbar{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: auto; 
    margin-right: 12vw;
}

#LN{
    width: 63px;
    height: 54px;
}

.navitem{
    margin-left: 40px; 
    margin-top: 20px;
    font-size: 25px;
}

h1{
    margin: 50px;
    margin-left: 6vw;
    height: 50px;
    color: #f1f1f1;
    background-color: black;
    text-align: center;
}

a{
    color: #f1f1f1;
}

a:hover{
    text-decoration: none;
    color: #f1f1f1;
}

a:visited{
    color: #f1f1f1;
}

#spacer{
    margin-top: 150px;
    height: 80px;
}

hr{
    font-family: sans-serif;
    line-height: 1.15;
    width: 100vw;
    margin: 0px;
    margin-top: 5px;
}

#red{
    border: 5px solid rgba(255, 0, 0, 0.377);
    background-color: rgba(255, 0, 0, 0.377);

    -webkit-box-shadow: 0px 0px 15px 5px rgba(255, 0, 0, 0.377);
    -moz-box-shadow: 0px 0px 15px 5px rgba(255, 0, 0, 0.377);
    box-shadow: 0px 0px 15px 5px rgba(255, 0, 0, 0.377);
}

#green{
    border: 5px solid rgba(0, 255, 0, 0.377);
    background-color: rgba(0, 255, 0, 0.377);

    -webkit-box-shadow: 0px 0px 15px 5px rgba(0, 255, 0, 0.377);
    -moz-box-shadow: 0px 0px 15px 5px rgba(0, 255, 0, 0.377);
    box-shadow: 0px 0px 15px 5px rgba(0, 255, 0, 0.377);
}

#blue{
    border: 5px solid rgba(0, 0, 255, 0.377);
    background-color: rgba(0, 0, 255, 0.377);

    -webkit-box-shadow: 0px 0px 15px 5px rgba(0, 0, 255, 0.377);
    -moz-box-shadow: 0px 0px 15px 5px rgba(0, 0, 255, 0.377);
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 255, 0.377);
}

.hover-anim{
    display: inline-block;
    position: relative;
    color: #f1f1f1;
}

.hover-anim::after {
    content: '';
    position: absolute;
    width: var(--animSize);
    transform: scaleX(0);
    height: 4px;
    bottom: 0;
    left: 0;
    background-color: #f1f1f1;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;

    
    -webkit-box-shadow: 0px 0px 10px 2px #f1f1f1;
    -moz-box-shadow: 0px 0px 10px 2px #f1f1f1;
    box-shadow: 0px 0px 10px 2px #f1f1f1;
  }
  
  .hover-anim:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  #red-anim::after{
    background-color: rgba(255, 0, 0, 0.377);;

    -webkit-box-shadow: 0px 0px 15px 5px rgba(255, 0, 0, 0.377);
    -moz-box-shadow: 0px 0px 15px 5px rgba(255, 0, 0, 0.377);
    box-shadow: 0px 0px 15px 5px rgba(255, 0, 0, 0.377);
  }

  #green-anim::after{
    background-color: rgba(0, 255, 0, 0.377);;

    -webkit-box-shadow: 0px 0px 15px 5px rgba(0, 255, 0, 0.377);
    -moz-box-shadow: 0px 0px 15px 5px rgba(0, 255, 0, 0.377);
    box-shadow: 0px 0px 15px 5px rgba(0, 255, 0, 0.377);
  }

  #blue-anim::after{
    background-color: rgba(0, 0, 255, 0.377);;

    -webkit-box-shadow: 0px 0px 15px 5px rgba(0, 0, 255, 0.377);
    -moz-box-shadow: 0px 0px 15px 5px rgba(0, 0, 255, 0.377);
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 255, 0.377);
  }

  footer{
    margin: 0px;
    display: flex;
    flex-direction: column;
    margin-top: auto;
  }

    #linkedDiv{
    display: flex;
    flex-direction: row;
    margin-left: 5vw;
  }

  @media only screen and (max-width: 1366px) {
    
    #flex-container > div > p{
        width: 80vw;
    }

    #personalInfo > p{
        margin-left: 20px;
        margin-bottom: 5px;
    }

    .box {
        background-color: #010203;
        font-size: 15px;
        margin-top: 50px;
    }
    
    .box > p {
        width: 55%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
  }

  @media only screen and (max-width: 412px) {

        html{
            display: flex;
            align-items: center;
        }

        body{
            font-family: 'Source Code Pro';
            overflow-x: hidden;
            background-color: #010203;
            display: flex;
            flex-direction: column;
            min-width: 410px;
        }

        h1{
            margin: 0px;
            flex-grow: 1;
        }

        #page-header{
            display: flex;
            flex-direction: row;
            align-items: center;
            width: 100vw;
        }

        #navbar{
            flex-grow: 2;
        }

        .navitem{
            font-size: 20px;
            margin: auto;
            margin-top: 20px;
        }

        .box {
            background-color: #010203;
            font-size: 15px;
            margin-top: 50px;
        }
        
        .box > p {
            width: 55%;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }   

        footer{
            margin: 0px;
            display: flex;
            flex-direction: column;
            margin-top: auto;
        }

        #linkedDiv{
            display: flex;
            flex-direction: row;
        }

  }