body {
    font-family: 'Roboto Mono';
    font-size: 175%;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 175%;
}

nav {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
    position: relative;
}

nav a {
    color: #333;
    font-weight: 400;
    margin-left: 9rem;
    text-transform: uppercase;
}

nav a::after {
    border: 2px solid #EAD94F;
    content: '';
    display: inline-block;
    height: 1.5rem;
    margin-left: 3rem;
    position: absolute;
    top: 25%;
    transform: rotate(45deg);
    width: 1.5rem;
}

nav a:hover {
    /*    border-bottom: 3px solid #0D3953;*/
    text-decoration: none;
}

header>div {
    border-left: 3px solid #325477;
    animation-name: height;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in;
}

h1 {
    animation-name: translate;
    animation-delay: 1.5s;
    animation-duration: 0.75s;
    animation-fill-mode: forwards;
    color: #333;
    font-family: 'Rubik';
    font-weight: 900;
    font-size: 8rem;
    letter-spacing: -2px;
    line-height: 75%;
    opacity: 0;
    padding-left: 2rem;
}

header p:nth-of-type(1) {
    animation-name: translateY;
    animation-delay: 3s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    color: #333;
    font-weight: 400;
    margin-bottom: 0px;
    margin-top: 7rem;
    opacity: 0;
    padding-left: 7rem;
}

header p:nth-of-type(2) {
    animation-name: translate;
    animation-delay: 2.5s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    border: 2px solid #EAD94F;
    border-left: 0px;
    color: #333;
    font-size: 75%;
    font-weight: 500;
    margin-top: 2rem;
    opacity: 0;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 2rem;
}

header p:nth-of-type(3) {
    animation-name: translate;
    animation-delay: 2s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    color: #333;
    font-size: 110%;
    font-weight: 900;
    margin-top: 2rem;
    margin-bottom: 0px;
    opacity: 0;
    padding: 0px;
    padding-left: 2rem;
    padding-top: 1rem;
    text-transform: lowercase;
}

header p:nth-of-type(4) {
    animation-name: translate;
    animation-delay: 2s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    font-size: 110%;
    margin-bottom: 6rem;
    margin-top: 0.5rem;
    opacity: 0;
    padding: 0px;
    padding-left: 2rem;
}

main {
    animation-name: height;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in;
    border-right: 1rem solid #325477;
}

.container-fluid {
    border-bottom: 1rem solid #EAD94F;
    animation-name: line;
    animation-duration: 1s;
}

#skills-section {
    position: relative;
}

#skills-section>h2 {
    animation-name: translateYbottom;
    animation-delay: 4s;
    animation-duration: 0.75s;
    animation-fill-mode: forwards;
    color: #333;
    font-family: 'Rubik';
    font-weight: 900;
    font-size: 5.2rem;
    letter-spacing: -1px;
    opacity: 0;
    position: absolute;
    text-align: right;
    top: -8.5rem;
    right: 30%;
}

#skills-section>h2:hover {
    cursor: pointer;
}

#pulse {
    animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) 5s infinite;
    background-color: #EAD94F;
    border-radius: 60%;
    height: 3rem;
    opacity:0;
    position: absolute;
    right: 30%;
    top: -8.5rem;
    width: 3rem;
}

#pulse::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: inherit;
  border-radius: inherit;
  opacity:0;
  transition: opacity .3s, transform .3s;
  animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) 5s infinite;
  z-index: -1;
}

#works-section > h2 {
    animation-name: translateYbottom;
    animation-delay: 4.25s;
    animation-duration: 0.75s;
    animation-fill-mode: forwards;
    color: #333;
    font-family: 'Rubik';
    font-weight: 900;
    font-size: 5.2rem;
    letter-spacing: -1px;
    margin-bottom: 2rem;
    opacity: 0;
    text-align: right;
}

#works-section > h2::before {
    border-bottom: 3px solid #EAD94F;
    border-right: 3px solid #EAD94F;
    content: '';
    display: inline-block;
    height: 2rem;
    margin-left: -3.5rem;
    position: absolute;
    top: 32%;
    transform: rotate(45deg);
    width: 2rem;
}

#skills-circle {
    animation: opacity 2s;
    border: 1px solid #0D3953;
    border-radius: 49%;
    background-color: #0D3953;
    color: white;
    font-size: 75%;
    font-weight: 400;
    letter-spacing: 5px;
    line-height: 170%;
    padding: 3rem 0rem 1.5rem 0rem;
    position: absolute;
    text-align: center;
    top: -55rem;
    transform: rotate(2deg);
    right: 0px;
}

#skills-circle p:not(:first-of-type) {
    padding-top: 1.5rem;
}

.invisible {
    display: none;
}

#left-border {
    animation-name: opacity;
    animation-delay: 1s;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    border-left: 3px solid #325477;
    border-right: 1rem solid #325477;
    height: 10rem;
    opacity: 0;
}

#works-nav {
    display: flex;
    justify-content: flex-end;
}

#works-nav li {
    cursor: pointer;
    font-weight: 900;
    list-style: none;
    margin-left: 3rem;
}

#works-content {
    margin-top: 7rem;
    margin-bottom: 7rem;
}

#works-content .col-md-8 {
    margin-top: 5px;
}

#works-content h3 {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

#works-content .col-md-8 p {
    font-size: 80%;
}

#works-content .col-md-8 p:last-of-type {
    text-align: right;
}

#works-content .col-md-8 p:last-of-type::before {
    border-bottom: 3px solid #325477;
    border-right: 3px solid #325477;
    bottom: 2rem;
    content: '';
    display: inline-block;
    height: 1rem;
    margin-left: -2rem;
    position: absolute;
    transform: rotate(45deg);
    width: 1rem;
}

#works-content div img {
    margin-top: 4rem;
    margin-bottom: 6rem;
}

.liSelected {
    border-bottom: 3px solid #333;
}

.liSelected-Web {
    border-bottom: 3px solid #325477; 
}

.liSelected-Comm {
    border-bottom: 3px solid #EAD94F;
}

div[data-tag="web"] {
    border-bottom: 2px solid #325477;
    border-top: 10px solid #325477;
} 

div[data-tag="comm"] {
    border-top: 10px solid #EAD94F;
    border-bottom: 2px solid #EAD94F;
}

footer {
    display: flex;
    padding: 3rem;
    justify-content: center;
}

footer a {
    color: #325477; 
}

footer a:hover {
    background-color: #EAD94F;
    text-decoration: none;
}

/*ANIMATION KEYFRAMES*/

@keyframes height {
    from {height:0; opacity: 0;}
    to {height:auto; opacity: 1;}
}

@keyframes translate {
    from {transform: translate(50rem);}
    to {transform: translate(0rem); opacity: 1;}
}

@keyframes translateY {
    from {transform: translateY(-5rem);}
    to {transform: translateY(0rem); opacity: 1;}
}

@keyframes line {
    from {width: 0%;}
    to {width:100%;}
}

@keyframes translateYbottom {
    from {transform: translateY(5rem);}
    to {transform: translateY(0rem); opacity: 1;}
}

@keyframes pulse-animation {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes opacity {
    from {opacity:0;}
    to {opacity:1;}
}