* {
    font-family: Quicksand, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    background-color: #212121;
    color: white;
    width: 100vw;
    height: 100vh;
}

.animatedIntroduction {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    animation-delay: 0.6s;
    animation-name: fadeOut;
    animation-duration: 500ms;
    animation-fill-mode: both;
}

.fancyText {
    background: linear-gradient(to right, #12c2e9, #c471ed, #f64f59, lightpink); 
    -webkit-text-fill-color: transparent; 
    -webkit-background-clip: text;
    background-clip: text;
}

.introContainer {
    display: flex;
    width: 50%;
    height: 17%;
    float: left;
}

.container {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #292929;
    border-radius: 8px;
    border: 2px solid #89ddff;
}

.containerTitle {
    font-size: 1.4em;
    display: flex;
    position: relative;
    width: 100%;
    height: 3em;
    top: 1em;
    border-bottom: 2px solid #89ddff;
    justify-content: center;
    background-color: inherit;
    z-index: 1;
}

.abilitiesContainer {
    top: 6em;
    width: 35%;
    height: 40.5em;
    float: right;
    overflow: auto;
}

li {
    margin-top: 1em;
    margin-left: 1.5em;
    font-size: 2em;
    
    width: fit-content;
    list-style: none;
}

.abilitiesContainer li::before {
    content: "✔";
    color: lightgreen;
    display: inline-block;
    width: 1em;
    margin-right: 0.5em;
}

.experienceContainer {
    margin-top: 8em;
    width: 48%;
    height: 30em;
    float: left;
    overflow: auto;
}

.experienceContainer li {
    font-size: 1.8em;
    color: #727272;
}

ul {
    overflow: auto;
    padding-right: 2em;
}

.containerTitle h1 {
    background: linear-gradient(to right, #EF3B36, white); 
    -webkit-text-fill-color: transparent; 
    -webkit-background-clip: text;
    background-clip: text;
}

.fadeLater {
    animation: fadeIn 750ms linear 1.4s 1 normal both;
}

.fade {
    animation: fadeIn2 0.5s linear 80ms 1 normal both;
}

.custom-underline {
    position: relative;
    display: inline-block;
    color: white;
}

.custom-underline::after {
    content: '';
    position: absolute;
    left: 3px;
    bottom: -2px;
    width: 100%;
    height: 3.5px;
    background-color: #12c2e9;
}

.pfp {
    border-radius: 50%;
    height: 150px;
    width: 150px;
    left: 4em;
    position: relative; 
    top: 4.5em;
    animation-delay: 2s;
    border: 0.7em solid lightpink;
    z-index: 1;
    margin-right: 2em;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: fit-content;
    bottom: 0;
    background-color: transparent;
    position: fixed;
    padding: 1em;
}

.socialIcon {
    height: 30px;
    width: 30px;
    margin: 1em;
    border-radius: 50%;
    background-color: lightpink;
    border: 5px solid lightpink;
    transition: all 0.2s linear;
}

.socialIcon:hover {
    transform: scale(1.2);
}

@keyframes fadeOut {
    0%  { 
        opacity: 1;
        font-size: 3em;
        display: block;
    }

    100% { 
        opacity: 0;
        font-size: 3.5em;
        display: none;
    }
}

div.container:nth-child(2) {
    animation: fadeIn 750ms linear 2.5s 1 normal both, emergeRight 750ms ease-in-out 2.5s 1 normal both;
}

div.container:nth-child(3) {
    animation: fadeIn 750ms linear 2.8s 1 normal both, emergeLeft 750ms ease-in-out 2.8s 1 normal both;
    margin-bottom: 70px;
}

div.fadeLater:nth-child(2) {
    animation: emergeLeft 0.4s ease-in-out 2s 1 both, fadeIn 0.4s ease-in-out 1.4s 1 both;
}

h2.fadeLater {
    animation-delay: 2.55s;
}

h1.fadeLater {
    animation-delay: 2.35s; 
}

@media only screen and (max-width: 1170px) {
    .introContainer {
        width: 90%;
    }

    div.fadeLater:nth-child(2) {
        margin-top: 3em;
        left: 11%;
        width: 89%;
        animation: fadeIn 0.5s ease-in-out 1.6s 1 both;
        font-size: 0.8em;
    }

    .introContainer {
        flex-direction: column;
        width: 100%;
    }
    
    h1.fadeLater {
        animation-delay: 1.8s;
    }

    h2.fadeLater {
        width: 89%;
        margin-bottom: 2em;
        animation-delay: 2s;
    }

    .pfp {
        left: 50%;
        transform: translateX(-50%);
        animation-delay: 1.4s;
    }

    div.container:nth-child(2), div.container:nth-child(3) {
        width: 80%;
        left: 50%;
        transform: translateX(-50%);
        float: left;
    }

    div.container:nth-child(2) {
        animation: fadeIn 750ms linear 2.2s 1 normal both, emergeRight 750ms ease-in-out 2s 1 normal both
    }

    div.container:nth-child(3) {
        animation: fadeIn 750ms linear 2.4s 1 normal both, emergeRight 750ms ease-in-out 2.2s 1 normal both
    }

    ul {
        font-size: 0.8em;
    }
}

@keyframes fadeIn2 {
    0%  { opacity: 0.2; }
    100% { opacity: 1; }
}

@keyframes fadeIn {
    0%  { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInOut {
    33% { opacity: 0; }
    66% { opacity: 1; }
    100% { opacity: 1; }
}

@keyframes emergeLeft {
    0% { 
        left: -10em;
    }

    100% {
        left: 5em;
    }
}

@keyframes emergeRight {
    0% { 
        right: -10em;
    }

    100% {
        right: 5em;
    }
}