/* General styles */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-align: center;
    margin-bottom: 0;
}

.secondary-text {
    font-weight: 500;
    color: #c2c2c2;
    font-size: 30px;
    text-shadow: 1px 2px 1px #000;
    font-family: monospace, sans-serif;
}

.principal-text {
    font-weight: 600;
    color: #d76cde;
    text-shadow: 1px 1px 1px #000;
}

.icon-down {
    font-weight: 500;
    color: #c2c2c2;
}

.information-text {
    color: #c2c2c2;
    text-shadow: 1px 1px 1px #000;
    font-family: monospace, sans-serif;
}

/* Fullpage.js */

#fp-nav ul li a span {
    background: #c2c2c2;
}

#fp-nav ul li .fp-tooltip {
    color: #c2c2c2;
}

/* Navigation menu*/

.nav {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 70;
    width: 100%;
    margin: 0;
    padding: 10px 20px;
}

.nav li,
.nav a {
    display: inline-block;
    margin: 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 19px;
    color: #c2c2c2;
    transition: .5s ease;
}

.nav li.active {
    border-bottom: 2px solid #ba6cde;
}

.menu li a {
    transition: .5s ease;
    margin: 0;
    padding: 0;
}

.menu li.active a,
.menu li:hover a {
    color: #ba6cde;
}

.logo img {
    height: auto;
    width: 40px;
    border-radius: 100%;
}

/* Header */

.header {
    background-image: radial-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url(../media/home-image.jpg);
    background-position: center;
    background-size: cover;
}

.header .title-container {
    text-align: center;
    position: absolute;
    z-index: 99;
}

.header .title {
    font-size: 80px;
    font-family: monospace, sans-serif;
}

.header .icon-container {
    position: absolute;
    z-index: 99;
    bottom: 3%;
    left: 49%;
    font-size: 40px;
    animation: up-down 1s ease infinite;
}

/* Particles animation */

.particles {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: inherit;
}

/* About section */

.about article {
    background-position: center;
    background-size: cover;
}

.about article:nth-child(1) {
    background-image: radial-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../media/about-image-one.jpg');
}

.about article:nth-child(2) {
    background-image: radial-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../media/about-image-two.jpg');
}

.about .information-about {
    margin: 0 20%;
}

.about .title {
    font-size: 35px;
    margin-bottom: 2rem;
    font-family: monospace, sans-serif;
}

.about .description {
    font-size: 22px;
    margin-bottom: 2.5rem;
}

/* About skills section: icons and tooltip */

.technologies-icon {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    font-size: 80px;
    color: #fff;
}

.react-icon {
    margin-top: -5px;
}

.fa-react {
    background-color: #fff;
    border-radius: 40px;
    color: #0d2e51;
    font-size: 70px;
    border: 5px solid #fff;
}

.technologies-icon:hover {
    cursor: grab;
}

.javascript-icon:hover {
    color: #f4e866;
}

.html-icon:hover {
    color: #ed7e53;
}

.css-icon:hover {
    color: #5490d1;
}

.fa-react:hover {
    background:#61dbfb;
    border-color: #61dbfb;
}

.angular-icon:hover {
    color: #eb3838;
}

.git-icon:hover {
    color: #fc7826;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #d76cde;
    color: #3c3a3a;
    font-size: 15px;
    font-family: monospace;
    font-weight: 500;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Slide */

.fp-controlArrow.fp-next,
.fp-controlArrow.fp-prev {
    top: 52%;
}

.fp-controlArrow.fp-prev {
    left: 4rem;
    border-width: 25px 25px 25px 0;
    border-color: transparent #fff transparent transparent;
    animation: left-right 4s ease infinite;
}

.fp-controlArrow.fp-next {
    right: 4rem;
    border-width: 25px 0 25px 25px;
    border-color: transparent transparent transparent #fff;
    animation: right-left 4s ease infinite;
}

.fp-controlArrow.fp-prev:hover {
    border-color: transparent #ba6cde transparent transparent;
}

.fp-controlArrow.fp-next:hover {
    border-color: transparent transparent transparent #ba6cde;
}

@keyframes right-left {
    12% {
        transform: translatex(20px);
    }

    25% {
        transform: translatex(0px);
    }
}

@keyframes left-right {
    12% {
        transform: translatex(-20px);
    }

    25% {
        transform: translatex(0px);
    }
}

.about .icon-container {
    position: absolute;
    z-index: 99;
    bottom: 3%;
    left: 49%;
    font-size: 40px;
    animation: up-down 1s ease infinite;
}

/* Animations */

@keyframes up-down {
    0% {
        transform: translateY(20px);
    }

    25% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(20px);
    }
}

/* MyProjects section */

.myProjects {
    background-image: radial-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../media/about-image-three.jpg');
}

.myProjects .information-about {
    margin: 0 20%;
}

.myProjects .title {
    font-size: 35px;
    margin-bottom: 2rem;
    font-family: monospace, sans-serif;
}

.myProjects .description {
    font-size: 22px;
    margin-bottom: 2.5rem;
}

/* MyProjets work section */

.worked-project {
    display: flex;
    justify-content: center;
}

.portfolioImg-project {
    display: flex;
    width: 30%;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

.portfolioImg-project:hover,
.portfolioImg-project:focus {
    box-shadow: 0 0.3em 3em 0.3em #d76cde;
    transform: translateY(-0.25em);
    border-radius: 15px;
}

img {
    height: 100%;
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.see-button {
    display: flex;
    justify-content: center;
}

.seeMore-button {
    border-radius: 20px;
    height: 50px;
    width: 130px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5em;
    transition-duration: 0.4s;
    background: linear-gradient(90deg, rgba(49, 27, 58, 1) 0%, rgba(93, 53, 173, 1) 50%, rgba(180, 37, 232, 1) 100%);
}

.seeMore-button:hover {
    box-shadow: 0 0.3em 2em 0.1em hsl(270, 59%, 64%);
    cursor: pointer;
}

.myProjects .icon-container {
    position: absolute;
    z-index: 99;
    bottom: 3%;
    left: 49%;
    font-size: 40px;
    animation: up-down 1s ease infinite;
}

/* Footer */

.footer {
    background-image: radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../media/contact-image.jpg);
    background-position: center;
    background-size: cover;
}

.footer .principal-text {
    text-transform: uppercase;
    font-size: 60px;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.footer h2 {
    opacity: 0;
    font-family: 'Oswald', sans-serif;
    transition: .5s ease all;
}

.footer .social-media {
    display: flex;
    justify-content: center;
    margin: 0;
    font-size: 50px;
}

.footer .social-media a {
    display: flex;
    width: 100px;
    height: 100px;
    background: #fff;
    color: #30313a;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    margin: 0 20px;
}

/* Footer animation */

.footer .linked-in {
    color: rgb(24, 150, 196);
}

.footer .git-hub {
    color: rgb(209, 56, 181);
}

.footer .discord {
    color: rgb(50, 10, 183);
}

.footer .linked-in:hover {
    background: rgb(24, 150, 196);
}

.footer .git-hub:hover {
    background: rgb(209, 56, 181);
}

.footer .discord:hover {
    background: rgb(50, 10, 183);
}

.footer .linked-in:hover {
    color: #fff;
}

.footer .git-hub:hover {
    color: #fff;
}

.footer .discord:hover {
    color: #fff;
}

/* Responsive */

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

    .menu li a,
    .menu li.active a {
        font-size: 18px;
    }

    .header .icon-container,
    .about .icon-container {
        left: 47%;
    }

    .about .title {
        font-size: 30px;
    }

    .about .description {
        font-size: 18px;
    }

    .technologies-icon {
        font-size: 60px;
    }

    .footer h2 {
        font-size: 15px;
    }

    .footer .social-media {
        font-size: 30px;
    }

    .footer .social-media a {
        width: 70px;
        height: 70px;
    }

    .footer .principal-text {
        font-size: 40px;
    }
}

@media screen and (max-width: 576px) {
    .header .title {
        font-size: 60px;
    }

    .about .title {
        font-size: 25px;
    }

    .about .description {
        font-size: 15px;
    }

    .technologies-icon {
        font-size: 40px;
    }

    .fp-controlArrow.fp-next,
    .fp-controlArrow.fp-prev {
        top: 95%;
    }

}

@media screen and (max-width: 450px) {
    .nav {
        display: block;
        text-align: center;
    }

    .nav a {
        font-size: 16px;
        margin-bottom: 0;
    }

    .nav li {
        margin-left: 7%;
    }

    .menu {
        display: flex;
        justify-content: space-between;
    }

    .menu li a,
    .menu li.active a {
        font-size: 15px;
        padding: 5px;
    }

    .header .title {
        font-size: 40px;
    }

    .header .secondary-text {
        font-size: 26px;
    }

    .header .icon-container,
    .about .icon-container {
        left: 45%;
    }

    .about .information-about {
        margin: 30% 15%;
    }

    .about .title {
        font-size: 20px;
    }

    .about .description {
        font-size: 12px;
    }

    .myProjects .information-about {
        margin: 30% 15%;
    }

    .myProjects .title {
        font-size: 20px;
    }

    .myProjects .description {
        font-size: 12px;
    }

    .footer .principal-text {
        font-size: 18px;
    }

    .footer .social-media a {
        width: 50px;
        height: 50px;
    }
}