@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    /* variables for UI-colors*/

    /* Blue */
    --First-Blue: #0052E2;
    --Third-Blue: #0035AD;
    --Fifth-Blue: #001877;
    /* White */
    --First-White: #FFFFFF;
    --Third-White: #DBDBDB;
    --Fifth-White: #B6B6B7;
    /* Black */
    --First-Black: #303033;
    --Third-Black: #1A1A1A;
    --Fifth-Black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

html {
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    font-size: 62.5%;
    font-style: normal;
    font-display: swap;
    
}

h1 {
    display: block;
    height: auto;
    width: 100%;
    margin: 30px auto;
    padding: 0px 20px;
    font-family: "Permanent Marker", sans-serif;
    font-weight: 400;
    font-size: 9.2rem;
    letter-spacing: 0.2rem;
    line-height: 0.8;
    text-align: center;
    color: var(--First-White);
    animation: h1 0.5s 1;
}

h2 {
    display: block;
    width: 100%;
    height: auto;
    margin: 30px auto;
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-size: 7.2rem;
    letter-spacing: 0.1rem;
    line-height: 0.8;
    color: var(--First-White);
    text-align: center;
}

.spacer {
    display: block;
    margin: 10px auto;
    text-align: center;
    width: 70%;
    height: 2px;
    background-color: var(--First-Black);
    border-radius: 12px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--First-White);
    background-color: var(--Fifth-Black);
}

header {
    display: flex;
    width: 100%;
    height: auto;
    position: fixed;
    z-index: 1;
}

header ul li {
        display: block;
        margin: 20px auto;
        font-size: 1.4rem;
        font-weight: 600;
        text-align: right;
        text-transform: uppercase;
        letter-spacing: 0.0rem;
        line-height: 1.0;
        list-style-type: none;
}
a {
    color: var(--First-White);
    text-decoration: none;
}

a:visited {
    color: var(--First-White);
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    gap: 25%;
    width: 100%;
    height: 200px;
    margin: 0 auto;
    text-align: center;
}
.nav-logo{
    display: block;
    animation: nav-logo 0.5s 1;
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.1));
}
.nav-sections ul li{
    display: block;
    animation: nav-sections 0.5s 1;
    text-shadow: 3px 3px 5px rgba(0,0,0,0.6);
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    text-align: center;
}

/*------HOME------*/
.home {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
    height: 1000px;
    background-color: var(--First-Black);
    background-image: url(/img/bg-home.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.home article {
    display: block;
    margin: 0 auto;
    margin-top: 100px;
  
}

.home article p {
    display: inline-block;
    height: auto;
    width: auto;
    margin: 0 auto;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 500;
    font-size: 2.1rem;
    text-align: center;
    color: var(--First-White);
    animation: p1 0.5s 1;
}

.home article img {
    display: block;
    margin: 0 auto;
    margin-top: 100px;
    width: 30px;
    height: 30px;
}
/*------ABOUT------*/
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    height: 1000px;
    margin: 0 auto;
    background-color: transparent;
    text-align: center;
}

.about article {
    display: block;
    width: 60%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 100px;
    text-align: center;

}

.about article p {
    display: inline-block;
    margin: 30px auto;
    max-width: 100% ;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 300;
    font-size: 3.2rem;
    color: var(--First-White);
    text-align: justify;
}

.about-links {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    margin: 20px auto;

}

.about-links li {
    display: inline-block;
    margin: 0 30px;
    list-style: none;
}

.about-links li a img {
    display: inline-block;
    margin: 0px 0px auto;
    width: auto;
    height: 50px;
}

/*------WORK------*/
.work {
    display: flex;
    width: 100%;
    height: auto;
}

/*------PORTFOLIO------*/
.portfolio {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    max-width: 1200px;
    margin: 100px auto;
    text-align: center;
}

.portfolio-content img {
    display: block;
    width: 360px;
    height: auto;
    object-fit: cover;
    margin: 0 auto;
}

/*------CONTACT------*/
.contact {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 1000px;
    margin: 0 auto;
    color: var(--First-White);
    background-color: transparent;
    text-align: center;
}

h3 {
    display: block;
    height: auto;
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-size: 4.8rem;
    letter-spacing: 0.0rem;
    line-height: 0.8;
    text-align: center;
    color: var(--First-White);
}

.contact p {
    display: block;
    margin: 30px auto;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 500;
    font-size: 1.8rem;
    color: var(--Third-White);
}

.buttom {
    width: 200px;
    height: 40px;
    border: 2px solid var(--Third-Blue);
    background-color: transparent;
    border-radius: 12px;
    color: var(--First-Blue);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    text-align: center;
    cursor: pointer;
}

::placeholder {
    color: var(--Fifth-White);
}

/* Cambiar el estilo del scroll */
body::-webkit-scrollbar {
    width: 9px;
    /* Ancho del scroll */
    background-color: var(--First-Black);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--First-White);
    /* Color del scroll thumb */
    border-radius: 12px;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: var(--First-Black);
    /* Color del scroll thumb al pasar el cursor */
}

/* This section if for Footer */
footer {
    display: inline-block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0 auto;
    text-align: center;
}

.footer-social {
    display: flex;
    width: 100%;
    height: auto;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    flex-direction: row column;
    flex-wrap: wrap;
}
.footer-social a{
    display:flex;
    min-width: 100px;
     min-height: 100px;
}
.footer-social img {
    margin: 30px;
}

.footer-copyright {
    display:block;
    margin: 20px auto;
    text-align: center;

}


.footer-copyright p {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--Fifth-White);
}

.footer-scroll {
    display: inline-block;
    margin: 30px auto;
}

.footer-scroll button{
    width: 45px;
    height: auto;
    border-style:none;
    color: var(--First-White);
    text-align: center;
    cursor: pointer;
    background-color: transparent;
}


/*------------------Breakpoints------------------*/
@media only screen and (max-width: 600px) {
    header {
        height: 100px;

    }
    nav {

    }

    h1 {
        font-size: 5.2rem;

    }

    h2 {
        font-size: 4.8rem;
    }

    .about article p {
        font-size: 2.1rem;
    }
}

@keyframes nav-logo{
    0%{
        opacity: 0%;
        color:var(--Fifth-White);
        margin-bottom: -50px;
    }
   100%{
        opacity: 100%;
   }
}

@keyframes nav-sections{
    0%{
        opacity: 0%;
        color:var(--Fifth-White);
        margin-bottom: -10px;
    }
    100%{
        opacity: 100%;
   }
}

@keyframes h1 {
    0%{
        opacity: 0%;
        color:var(--Fifth-White);
        margin-bottom: -50px;
    }
    100%{
        opacity: 100%;
   }
    
}
@keyframes p1 {
    0%{
        opacity: 0%;
        color:var(--Fifth-White);
        margin-top: 50px;
    }
    100%{
        opacity: 100%;
   }
    
}

