html,
body,
.grid-container {
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100%;
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    max-width: 1920px;
    position: relative;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 0.5fr 1.2fr 1.2fr 1.2fr 1.2fr 0.5fr;
    grid-template-areas:
        "header"
        "menu"
        "gallery"
        "gallery"
        "gallery"
        "gallery"
        "footer";
}

.gallery {
    grid-area: gallery;
}

.header {
    grid-area: header;
}

.footer {
    grid-area: footer;
}

#about_container {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    grid-template-rows: 0.5fr 1.0fr 1.0fr 0.2fr;
    grid-template-areas:
        "menu2 profile profile profile"
        "menu2 profile profile profile"
        "menu2 profile profile profile"
        "menu2 footer footer footer";
}

.header {
    grid-area: header;
    color: #282828;
    text-align: center;
}

.header h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 50pt;
    font-weight: 100;
    padding-top: 20pt;
    margin: 0 auto;
    display: inline-block;
}

.header h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 30pt;
    font-weight: 100;
    padding-bottom: 10pt;
    margin: 0 auto;
    align-content: center;
    position: relative;
}

#projects_container {
    margin-top: 35%;
    position: absolute;
}

.menu {
    grid-area: menu;
    width: 100%;
    position: relative;
    background-color: #ffffff;
    color: #606060;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
}

.menu ul {
    width: 100%;
    position: absolute;
    list-style: none;
    text-align: center;
    align-content: center;
    z-index: 9999;
}

.menu ul li {
    padding-top: 0.3%;
    margin-left: 2%;
    display: inline-block;
}

.menu ul li:first-child {
    margin-left: -5%;
}

.menu ul li a {
    color: #5f5f5f;
    letter-spacing: 5pt;
    text-decoration: none;

    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.menu ul li a:hover {
    color: #606060;
    font-weight: 500;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.gallery {
    grid-area: gallery;
    overflow-x: hidden;
    overflow-y: auto;
}

.footer {
    grid-area: footer;
    width: 100%;
    margin: 0 auto;
    font-size: 14pt;
    padding-top: 10pt;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
}

.social {
    text-decoration: none;
    margin-right: 30px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    color: #606060;

    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.social:hover {
    color: #ebb35f;

    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

/*About------------------------------------------------------------------------------------------------------------------------------------*/

#boldi {
    font-weight: 300;
    color: #ffffff;
}

#profile {
    grid-template-columns: 1fr;
    grid-template-rows: 0.5fr 1.2fr 1.2fr 1.2fr 1.2fr 0.5fr;
    grid-template-areas:
        "menu"
        "gallery"
        "gallery"
        "gallery"
        "gallery"
        "footer";

    background-color: #282828;
    color: #ffffff;
}

.title_name {
    grid-area: title_name;
    text-align: center;
}

.title_name h1 {
    font-weight: 100;
    font-size: 50pt;
    margin-bottom: 0;
    margin-top: 30px;
}

.title_name h3 {
    font-weight: 100;
    font-size: 30pt;
    margin: 0 auto;
}

.title_name img {
    width: 20%;
    height: auto;
    border-radius: 50%;
    margin: 25px;
}

/*.spanish_profile {
    width: 48%;
    margin: 0;
    display: inline-block;
}

.spanish_profile p {
    padding: 0 30pt 30pt 70pt;
    text-align: justify;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 100;
    font-size: 12pt;
}*/

.english_profile {
    width: 100%;
    margin: 0;
}

.english_profile p {
    padding: 20pt 30pt;
    text-align: justify;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 100;
    font-size: 13pt;
}

/*exhibition-------------------------------------------------------------------------------------------------------------------------------*/

.exhibition-item {
    width: 100%;
}

.exhibition-text-date {
    width: 45%;
    display: inline-block;
    margin: 0 auto;
}

.exhibition-text-date h3 {
    font-weight: 100;
    font-size: 40pt;
    text-align: right;
    padding-right: 10%;
}

.exhibition-text-box {
    width: 45%;
    display: inline-block;
    margin: 0 auto;
}

.exhibition-text-en {
    font-weight: 300;
    margin: 0 auto;
    font-size: 14pt;
}

.exhibition-text-es {
    font-weight: 200;
    margin: 0 auto;
    font-size: 14pt;
}

/*items------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.picture_profile {
    width: 100%;
    height: auto;
}

.picture_profile img {
    width: 50%;
    height: auto;
    text-align: center;
    margin: 0 25%;
    align-content: center;
}

.technice_profile {
    width: 100%;
    height: auto;
    padding: 3% 0;
}

.technice_profile p {
    margin: 0 25%;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 14pt;
    padding: 0 70pt 30pt 30pt;
    text-align: justify;
}

.technice_profile p span {
    font-weight: 500;
}

/*hilos--------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.hilo {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: 9998;
}

.hilo .line {
    height: auto;
    width: 100%;
    margin: 0 auto;
}

.hilo .line path {
    fill: none;
    stroke: #e42320;
    stroke-width: 1;

    stroke-dasharray: 2750;
    stroke-dashoffset: 2750;
}

.menu:hover .hilo .line path {
    animation: animate-red 10s ease-In-Out forwards;
}

.menu2:hover .hilo .line path {
    animation: animate-red 10s ease-In-Out forwards;
}

.menu3:hover .hilo .line path {
    animation: animate-red 10s ease-In-Out forwards;
}

@keyframes animate-red {
    0% {
        fill: none;
        stroke-dashoffset: 2750;
    }

    50% {
        fill: none;
        stroke-dashoffset: 0;

    }

    100% {
        fill: none;
        stroke-dashoffset: 2750;
    }
}

/*name_animation---------------------------------------------------------------------------------------------------------------------------------------------------*/

.hilo_letter {
    width: 40%;
    height: auto;
    padding-top: 10pt;
    padding-bottom: 10pt;
    margin: 0 auto;
    align-content: center;
}

.hilo_letter .line_letter {
    height: auto;
    width: 100%;
    margin: 0 auto;
}

.hilo_letter .line_letter .name_line {
    fill: none;
    stroke: #000;
    stroke-width: 1.5px;

    stroke-dasharray: 490;
    stroke-dashoffset: 490;

    animation: animate-name 5s ease-Out forwards;
}

#white_line {
    stroke: #ffffff;
}

@keyframes animate-name {
    0% {
        fill: none;
        stroke-dashoffset: 490;
    }

    100% {
        fill: none;
        stroke-dashoffset: 0;
    }
}


/*Responsive----------------------------------------------------------------------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 1280px) {
    .menu ul li {
        padding-top: 0.2%;
        margin-left: 1%;
    }

    .menu ul li:first-child {
        margin-left: -10%;
    }

    .menu ul li a {
        font-size: 14pt;
    }

    .hilo_letter {
        width: 60%;
        padding-top: 20pt;
        padding-bottom: 10pt;
    }
}

@media only screen and (max-width: 1024px) {
    .menu ul li {
        padding-top: 0.2%;
        margin-left: 1%;
    }

    .menu ul li:first-child {
        margin-left: -10%;
    }

    .menu ul li a {
        font-size: 10pt;
    }

    .hilo_letter {
        width: 65%;
        padding-top: 15pt;
        padding-bottom: 10pt;
    }
}

@media only screen and (max-width: 720px) {
    .menu ul li {
        padding-top: 0.1%;
        margin-left: 1%;
    }

    .menu ul li:first-child {
        margin-left: -10%;
    }

    .hilo_letter {
        width: 70%;
        padding-top: 15pt;
        padding-bottom: 10pt;
    }

    .title_name img {
        width: 30%;
    }
}

@media only screen and (max-width: 480px) {
    .menu ul {
        align-items: center;
        align-content: left;
        text-align: center;
        position: relative;
    }

    .menu ul li {
        padding-top: 0.3% 0.1%;
        margin-left: 1%;
    }

    .menu ul li:first-child {
        margin-left: -19%;
    }
    
    .menu ul li:last-child {
        margin-left: 0;
    }

    .menu ul li a {
        font-size: 10pt;
    }

    .hilo_letter {
        width: 80%;
        padding-top: 20pt;
        padding-bottom: 5pt;
    }
    
    .picture_profile{
        align-items: center;
        align-content: center;
    }

    .picture_profile img {
        width: 90%;
        margin: 0 5%;
    }

    .technice_profile p {
        padding: 5% 0;
        margin: 0 10%;
        font-size: 18pt;
    }

    .title_name img {
        width: 50%;
    }
}

@media only screen and (max-width: 320px) {
    .menu ul {
        margin-bottom: 2%;
    }

    .menu ul li {
        width: 30%;
        align-content: center;
        margin-left: 0%;
        margin-right: 1%;
        padding-top: 1%;
        display: inline-block;
    }

    .menu ul li:first-child {
        margin-left: -29px;
    }

    .menu ul li a {
        font-size: 8pt;
        letter-spacing: 2pt;
        padding-bottom: 1%;
    }

    .hilo_letter {
        width: 80%;
        padding-top: 20pt;
        padding-bottom: 5pt;
    }

    .title_name img {
        width: 50%;
    }
}
