@import "https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css";

:root {
    --background-def: #2f3542;
    --background-def-rgb: 47, 53, 66;
    --green: #5cd3ad;
    --green-rgb: 92, 211, 173;
    --orange: #f5c156;
    --orange-rgb: 245, 193, 86;
    --red: #e6616b;
    --red-rgb: 230, 97, 107;
    --purple: #c678dd;
    --purple-rgb: 198, 120, 221;
    --white-ish: #e8e8e8;
    --white-ish-rgb: 232, 232, 232;
    --overlay-position: 0;
    --background-radial-soft: radial-gradient(#3d4556, #2f3542)
}

html {
    height: auto !important;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    font-weight: 500;
    line-height: 1.6;
    font-size: calc(14px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
    box-sizing: border-box
}

h1 {
    font-size: 2em
}

h2 {
    font-size: 1.5em
}

h1, h2 {
    font-weight: 700;
    line-height: 1;
    margin-bottom: .8em
}

#fullpage {
    background: linear-gradient(to bottom, var(--green), var(--orange), var(--red), var(--purple))
}

.hidden {
    visibility: hidden
}

.not-displayed {
    display: none
}

#myNav {
    z-index: 1000;
    background-color: var(--background-def);
    opacity: .7;
    border-bottom: .5px solid #000;
    font-size: 16px
}

.navbar {
    padding: 8px 16px !important
}

#navbarNav {
    justify-content: flex-end
}

.logo {
    font-size: 18px;
    font-family: "Roboto", sans-serif
}

.logo:hover {
    color: var(--white-ish) !important
}

.logo span {
    background: linear-gradient(135deg, var(--green), var(--orange), var(--red), var(--purple));
    font-family: "Raleway", sans-serif;
    font-weight: bold !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.nav-item {
    font-size: 16px
}

.nav-link {
    color: var(--white-ish) !important
}

.navbar-nav a::before, .navbar-nav a::after {
    display: inline-block;
    opacity: 0;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
    -moz-transition: -moz-transform 0.3s, opacity 0.2s;
    transition: transform 0.3s, opacity 0.2s
}

.navbar-nav a::before {
    margin-right: 10px;
    content: "[";
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    transform: translateX(20px)
}

.navbar-nav a::after {
    margin-left: 10px;
    content: "]";
    -webkit-transform: translateX(-20px);
    -moz-transform: translateX(-20px);
    transform: translateX(-20px)
}

.navbar-nav a.active::before, .navbar-nav a.active::after, .navbar-nav a:hover::before, .navbar-nav a:hover::after {
    background-color: transparent !important;
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0)
}

#home-link.active, #home-link:hover {
    color: var(--green) !important
}

#aboutMe-link.active, #aboutMe-link:hover {
    color: var(--orange) !important
}

#myProjects-link.active, #myProjects-link:hover {
    color: var(--red) !important
}

#contactMe-link.active, #contactMe-link:hover {
    color: var(--purple) !important
}

.canvas-show {
    opacity: 1
}

#overlay {
    position: fixed;
    height: 101vh !important;
    width: 100vw !important;
    transform: translate3d(0, var(--overlay-position), 0);
    pointer-events: all
}

#initial_overlay {
    pointer-events: none;
    position: fixed;
    height: 101vh !important;
    width: 100vw !important;
    background-color: var(--background-def);
    opacity: 1
}

.overlay-transition {
    transition: all 1200ms ease 0s
}

.section {
    pointer-events: none
}

.hero-section {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 50%);
    mask-image: radial-gradient(black, transparent 50%);
    background: var(--background-radial-soft);
    z-index: -1
}

.quote {
    -webkit-box-flex: 0;
    -webkit-flex: 0 auto;
    -ms-flex: 0 auto;
    flex: 0 auto;
    font-family: "Marck Script", sans-serif;
    color: var(--white-ish);
    letter-spacing: 0;
    text-indent: 0;
    text-shadow: 0 7px 4px #000;
    white-space: nowrap;
    margin-top: 2rem;
    font-weight: 300
}

.hero-center {
    text-align: center
}

.hero-center h1 {
    line-height: 1.2
}

.hero-text {
    font-family: Roboto, sans-serif;
    color: var(--white-ish);
    letter-spacing: 1px;
    text-shadow: -1px 3px 4px #000
}

.hero-text-second-line {
    font-size: 1.8em
}

.hero-span {
    text-shadow: none;
    font-family: Raleway, sans-serif;
    font-weight: 700;
    background-image: -o-linear-gradient(315deg, var(--green), var(--orange), var(--red), var(--purple));
    background-image: linear-gradient(135deg, var(--green), var(--orange), var(--red), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 0
}

.hero-span::after {
    background: none;
    content: attr(data-text);
    left: 0;
    position: absolute;
    text-shadow: -1px 3px 4px #000;
    z-index: -1
}

.hero-button {
    pointer-events: all;
    margin-bottom: 2rem;
    display: inline-block;
    color: var(--white-ish);
    letter-spacing: .1em;
    text-decoration: none;
    text-shadow: -1px 3px 4px #000;
    white-space: nowrap;
    transition: opacity 0.3s;
    text-transform: uppercase
}

.hero-button span {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-right: 2px solid var(--white-ish);
    border-bottom: 2px solid var(--white-ish);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-animation: down_arrow_animation 2s infinite;
    animation: down_arrow_animation 2s infinite;
    opacity: 0;
    box-sizing: border-box;
    box-shadow: 3px 2px 6px -4px #000;
    --space-before-text: -45px
}

.hero-button span:nth-of-type(1) {
    margin-top: -64px;
    margin-top: calc(var(--space-before-text) - 5vh);
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s
}

.hero-button span:nth-of-type(2) {
    margin-top: -50px;
    margin-top: calc(var(--space-before-text) - 2.5vh);
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s
}

.hero-button span:nth-of-type(3) {
    margin-top: var(--space-before-text);
    -webkit-animation-delay: 0s;
    animation-delay: 0s
}

@-webkit-keyframes down_arrow_animation {
    0% {
        opacity: 0
    }
    50% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

@keyframes down_arrow_animation {
    0% {
        opacity: 0
    }
    50% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

.hero-button:hover {
    opacity: .5;
    color: var(--white-ish);
    text-decoration: none
}

.hero-button:hover span:nth-of-type(1) {
    border-color: #e8e8e8
}

.hero-button:hover span:nth-of-type(2) {
    border-color: #e8e8e8
}

.hero-button:hover span:nth-of-type(3) {
    border-color: #e8e8e8
}

@keyframes ldio {
    0% {
        transform: scale(2)
    }
    100% {
        transform: scale(1)
    }
}

.ldio div {
    position: absolute;
    width: 17px;
    height: 17px;
    top: 22px;
    left: 22px;
    background: #5cd3ad;
    animation: ldio 1s cubic-bezier(.17, .67, .83, .67) infinite;
    animation-delay: -0.3s
}

.ldio div:nth-child(2) {
    top: 22px;
    left: 61px;
    background: #f5c156;
    animation-delay: -0.2s
}

.ldio div:nth-child(3) {
    top: 61px;
    left: 22px;
    background: #c678dd;
    animation-delay: 0s
}

.ldio div:nth-child(4) {
    top: 61px;
    left: 61px;
    background: #e6616b;
    animation-delay: -0.1s
}

.loadingio-spinner-cube {
    position: absolute;
    width: 74px;
    height: 74px;
    display: inline-block;
    overflow: hidden;
    background: none;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.ldio {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(.74);
    backface-visibility: hidden;
    transform-origin: 0 0
}

.ldio div {
    box-sizing: content-box
}

.section-container {
    height: 100vh;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

.white-box {
    background: rgba(var(--white-ish-rgb), .8);
    box-shadow: 0 1px 1px rgba(47, 53, 66, .25), 0 2px 2px rgba(47, 53, 66, .2), 0 4px 4px rgba(47, 53, 66, .15), 0 8px 8px rgba(47, 53, 66, .1), 0 16px 16px rgba(47, 53, 66, .05);
    margin-inline: auto;
    width: min(90%, 70.5rem);
    padding: 1.8rem;
    border-radius: 10px;
    text-align: justify;
    text-justify: inter-word
}

#section2-white-box{
    width: auto !important;
    max-height: 89vh;
}

.split {
    font-size: calc(6px + (20 - 6) * ((100vw - 150px) / (1600 - 250))) !important;
}

.bg-white-ish {
    background: rgba(var(--white-ish-rgb), .8);
    box-shadow: 0 1px 1px rgba(47, 53, 66, .25), 0 2px 2px rgba(47, 53, 66, .2), 0 4px 4px rgba(47, 53, 66, .15), 0 8px 8px rgba(47, 53, 66, .1), 0 16px 16px rgba(47, 53, 66, .05)
}

.card-container {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    pointer-events: all
}

.front, .back {
    background-size: cover;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .25);
    border-radius: 10px;
    background-position: center;
    -webkit-transition: -webkit-transform 0.7s cubic-bezier(.4, .2, .2, 1);
    transition: -webkit-transform 0.7s cubic-bezier(.4, .2, .2, 1);
    -o-transition: transform 0.7s cubic-bezier(.4, .2, .2, 1);
    transition: transform 0.7s cubic-bezier(.4, .2, .2, 1);
    transition: transform 0.7s cubic-bezier(.4, .2, .2, 1), -webkit-transform 0.7s cubic-bezier(.4, .2, .2, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: center;
    min-height: clamp(280px, 360px, 70vh);
    height: auto;
    border-radius: 10px;
    color: #fff;
    font-size: 1.3em
}

.back {
    background: #e6616b;
    background: -webkit-linear-gradient(45deg, #e6616b 0%, #2f3542 40%);
    background: -o-linear-gradient(45deg, #e6616b 0%, #2f3542 40%);
    background: linear-gradient(45deg, #e6616b 0%, #2f3542 40%)
}

.front:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    content: "";
    display: block;
    opacity: .6;
    background-color: #000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px
}

.card-container:hover .front, .card-container:hover .back {
    -webkit-transition: -webkit-transform 0.7s cubic-bezier(.4, .2, .2, 1);
    transition: -webkit-transform 0.7s cubic-bezier(.4, .2, .2, 1);
    -o-transition: transform 0.7s cubic-bezier(.4, .2, .2, 1);
    transition: transform 0.7s cubic-bezier(.4, .2, .2, 1);
    transition: transform 0.7s cubic-bezier(.4, .2, .2, 1), -webkit-transform 0.7s cubic-bezier(.4, .2, .2, 1)
}

.back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%
}

.inner {
    -webkit-transform: translateY(-50%) translateZ(60px) scale(.94);
    transform: translateY(-50%) translateZ(60px) scale(.94);
    top: 50%;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0 2rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 1px solid transparent;
    -webkit-perspective: inherit;
    perspective: inherit;
    z-index: 2
}

.back .inner {
    text-align: justify;
    text-justify: inter-word;
    display: flex;
    justify-content: space-between;
    flex-direction: column
}

@media (max-width: 350px) {
    .back .inner {
        font-size: 1rem !important
    }

    .hero-center {
        font-size: .7rem
    }
}

.project-link {
    position: absolute;
    bottom: 20px;
    right: 20px
}

.project-link-svg {
    width: 2em;
    height: 100%
}

.project-link-path {
    animation: github-focused 1s ease-in infinite;
    fill: var(--red)
}

@keyframes github-focused {
    0%, 100% {
        fill: var(--red)
    }
    50% {
        fill: var(--white-ish)
    }
}

@media (max-width: 400px) {
    .back .inner {
        font-size: .9em
    }
}


@media (max-width: 570px) {
    .split {
        font-size: calc(6px + (20 - 6) * ((100vw - 75px) / (1600 - 975))) !important;
    }
}

.card-container .back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.card-container .front {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.card-container:hover .back {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.card-container:hover .front {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.front .inner p {
    font-size: 1.5em;
    margin-bottom: 2rem;
    position: relative
}

.front .inner p:after {
    content: "";
    width: 3em;
    height: 2px;
    position: absolute;
    background: #c6d4df;
    display: block;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -.75rem
}

.front .inner span {
    color: rgba(255, 255, 255, .7);
    font-weight: 400
}

form {
    text-shadow: 0 1px 1px rgba(47, 53, 66, .25), 0 2px 2px rgba(47, 53, 66, .2), 0 4px 4px rgba(47, 53, 66, .15), 0 8px 8px rgba(47, 53, 66, .1), 0 16px 16px rgba(47, 53, 66, .05);
    font-size: 1.2rem
}

.form-control {
    border-color: var(--purple);
    color: var(--background-def)
}

.form-control:focus {
    border-color: var(--purple);
    color: var(--background-def);
    box-shadow: 0 1px 1px rgba(47, 53, 66, .25), 0 2px 2px rgba(47, 53, 66, .2), 0 4px 4px rgba(47, 53, 66, .15), 0 8px 8px rgba(47, 53, 66, .1), 0 16px 16px rgba(47, 53, 66, .05)
}

input, select {
    pointer-events: all
}

#inputMessage {
    pointer-events: all;
    resize: vertical;
    min-height: max(15vh, 15vw);
    max-height: min(35vh, 35vw)
}

#submit-button {
    pointer-events: all;
    border: none;
    outline: none !important;
    transition: all ease 0.2s;
    font-size: 1.2rem;
    font-family: "Roboto";
    font-weight: 700;
    background: linear-gradient(135deg, var(--green), var(--orange), var(--red), var(--purple));
    border-bottom: 6px solid #2f3542;
    box-shadow: 0 1px 1px rgba(47, 53, 66, .25), 0 2px 2px rgba(47, 53, 66, .2), 0 4px 4px rgba(47, 53, 66, .15), 0 8px 8px rgba(47, 53, 66, .1), 0 16px 16px rgba(47, 53, 66, .05)
}

#submit-button:hover {
    filter: brightness(1.1);
    margin-top: 2px;
    border-bottom: 4px solid #2f3542;
    box-shadow: 0 1px 1px rgba(47, 53, 66, .25), 0 2px 2px rgba(47, 53, 66, .2), 0 4px 4px rgba(47, 53, 66, .15), 0 8px 8px rgba(47, 53, 66, .1), 0 16px 16px rgba(47, 53, 66, .05)
}

#submit-button:active {
    filter: brightness(1.2);
    margin-top: 5px;
    border-bottom: 1px solid #2f3542;
    box-shadow: 0 1px 1px rgba(47, 53, 66, .25), 0 2px 2px rgba(47, 53, 66, .2), 0 4px 4px rgba(47, 53, 66, .15), 0 8px 8px rgba(47, 53, 66, .1), 0 16px 16px rgba(47, 53, 66, .05);
    color: var(--background-def)
}

.glide__controls {
    position: relative;
    margin-top: 30px
}

.glide__bullets {
    top: 47%
}