@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Asset&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Corben:wght@700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Potta+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Reggae+One&display=swap');

/*/ Variables /*/
:root {
    /*/ Colors /*/
    --c1: #000;
    --c2: #fa2;
    --c3: #951;
    --c4: #68b;
}

/*/ General settings /*/
* {
    font-family: 'Corben', cursive;
    font-size: 2vh;
    font-variant-ligatures: none;
    /*border-radius: 20px;*/
}

/*/ Body settings /*/
body {
    margin: 0;
    background-color: var(--c1);
}

/*/ Color accent /*/
.accent {
    color: var(--c4);
    text-decoration: none;
    /*text-shadow: 0 0 1px var(--c1);*/
}

/*----------------------------------------------*/

/*/ Full header /*/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--c2); 
    
    box-shadow: 0px 0px 20px var(--c1);
    position: fixed;
    top: 0;
    width: 100vw;
    max-height: 10vh;
    z-index: 1;
}

/*/ Header text /*/
header p {
    margin: 0;
    width: 30vw;

    padding: 1vw;
    font-family: 'Corben', cursive;
    font-size: 2vh;
    text-transform: uppercase;
}

/*/ Navigation bar /*/
nav {
    margin-right: 1vw;
    margin-left: 5vw;
    white-space: nowrap; /* Para que los botones no se desacomoden en dispositivos verticales */
    overflow-x: auto;
}

/*/ Button settings /*/
button {
    height: 8vh;
    background-color: var(--c2);
    border: 0;
    
    padding: .5vw;
    position: relative;
    z-index: 1;

    font-family: 'Corben', cursive;
    font-size: 1.5vh;
    color: var(--c1);
}

button::before {
    content: '';
    position: absolute;

    top: 0;
    left: 0;
    height: 0;
    width: 100%;

    background-color: var(--c1);
    z-index: -1;
    transition: all 250ms;
   }
   
/*/ Button hover /*/
   button:hover {
    color: var(--c4);
    cursor: pointer;
   }
   
   button:hover::before {
    height: 100%;
    /*border-bottom: 3px var(--c1) solid;*/
   }

/*/ Style reset /*/
a {
    text-decoration: none;
    color: inherit;
    font-size: inherit;
}

/*----------------------------------------------*/

/*/ Section 1 - Name /*/
.section1 {
    height: 100vh;
    display: flex;
 
    background-image: linear-gradient(to right, var(--c4) 1px, transparent 1px),
    linear-gradient(to bottom, var(--c4) 1px, transparent 1px); /* Cuadrícula */
    background-size: 3vh 3vh; /* Tamaño de la cuadrícula */
    background-color: var(--c1);

    justify-content: center;
    align-items: center;

    box-shadow: 0px 0px 80px var(--c1) inset;
}

.section1 * {
    font-size: 10vmin;
}

/*/ Heading 1 /*/
h1 {
    color: var(--c2);
    font-size: 10vmin;
    text-align: center;
    text-shadow: 0px 0px 20px var(--c1);
    margin: 0;
    line-height: 5vh;
    margin-top: 5vh;
}

/*/ Katakana /*/
.section1 p {
    color: var(--c2);
    font-size: 4vmin;
    text-align: center;
    font-family: 'Mochiy Pop One', sans-serif;
    font-weight: bold;
    margin: 0;
    margin-top: 2vw;
}

.sectionanchor {
    display: block;
    position: relative;
    top: -8vh;
}

#s1anchor {
    top: -50vh;
}

/*----------------------------------------------*/

/*/ Section 2 - Questions /*/
.section2 {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    background-color: var(--c2); 
}

/*/ Heading 2 /*/
h2 {
    margin: 1vmin;
    margin-left: 1vmax;
    font-size: 4vh;
}

.questions {
    margin-left: 1vmax;
    margin-right: 1vmax;
}

.questions p, .questions span {
    font-size: 2vh;
}

hr {
    border-color: black;
    border-width: 1px;
    /*opacity: 50%;*/
}

/*
.questions p:nth-child(4n-2) {
    background-image: linear-gradient(to left, var(--c4), transparent);
    text-align: end;
}

.questions p:nth-child(4n) {
    background-image: linear-gradient(to right, var(--c4), transparent);
}
*/

/*----------------------------------------------*/

/*/ Section 3 - School /*/
.section3 {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    background-color: var(--c1);
    color: var(--c4);
    overflow: hidden;
}

.gallery {
    display: flex;
    width: 100%;
    margin: 4vw 1vw;

    flex-flow: row nowrap;
    overflow-x: auto;
}

.galleryimg {
    position: relative;
}

.galleryimg img {
    max-height: 50vh;
    /*object-fit: cover;*/

    display: inline-block;
    margin: 2vmax 1vmax;
    flex-shrink: 0;

    filter: grayscale(1);
    opacity: 80%;
    transition: .5s;
}

.galleryimg img:hover {
    opacity: 100%;
    filter: grayscale(0);
    cursor: grab;
}

.galleryimg img:active {
    cursor: grabbing;
}

.galleryimg p {
    position: absolute;
    padding: 1.4vw 1.8vw;
    top: 0;


    color: var(--c4);
    text-shadow: 0 0 .5vh var(--c1);

    opacity: 100%;
    transition: .5s;
}

.galleryimg:hover p {
    opacity: 0%;
}

/*
.galleryimg div {
    width: 2px;
    height: 50vh;
    background-color: var(--c4);
    margin-top: 2vw;
}
*/

.gallery::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.gallery::-webkit-scrollbar-thumb {
    background: var(--c4);
}

@media (orientation:portrait) {
    .galleryimg img {
        max-height: 25vh;
        max-width: 100vw;
    }

    .galleryimg p {
        padding: 0.8vh 2.4vh;
    }

    .gallery::-webkit-scrollbar {
        width: 0;
        height: 0;
    }
}

/*
.gallery::-webkit-scrollbar-track {
    background-image: linear-gradient(to right, var(--c4) 1px, transparent 1px),
    linear-gradient(to bottom, var(--c4) 1px, transparent 1px);
    background-size: 1vh 1vh;
    background-color: var(--c1);
  }
*/

/*----------------------------------------------*/

/*/ Section 4 - Likings /*/
.section4 {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    background-color: var(--c2); 
}

.lovehate {
    display: flex;
    flex-direction: row;
}

.love, .hate {
    margin-left: 1vmax;
    margin-right: 1vmax;
    margin-bottom: 1vw;
    width: 50vw;
}

hr {
    border-color: black;
    border-width: 1px;
    /*opacity: 50%;*/
}

.love div, .hate div {
    display: flex;
    align-items: center;
    height: 8vh;
}

.lovehate p {
    width: 40vw;
}

.lovehate img {
    margin-left: 4vw;
    width: 1vw;
    height: 1vw;
    /*filter: grayscale(1);*/

    opacity: 0%;
    transform: rotate(-90deg);
    transition: .5s;
}

.love div:hover img, .hate div:hover img {
    opacity: 100%;
    transform: rotate(0deg);
    width: 3vw;
    height: 3vw;
}

.gdimp {
    /*
    margin-left: 20px;
    margin-top: 0px;
    margin-bottom: 40px;
    transform: rotate(3deg);
    */

    font-family: 'Comic Sans MS';
    font-size: 3vh;
    font-style: italic;
    text-shadow: 3px 3px #000;

    background: -webkit-linear-gradient(#e3e, #3ee);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (orientation:portrait) {
    .lovehate {
        flex-direction: column;
    }
    .love, .hate {
        width: 98vw;
    }
    .lovehate p {
        width: 86vw;
    }
    .lovehate img {
        width: 4vw;
        height: 4vw;
        margin-left: 2vw;
    }
    .love div:hover img, .hate div:hover img {
        width: 8vw;
        height: 8vw;
    }
}

/*----------------------------------------------*/

/*/ Section 5 - Future /*/
.section5 {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    background-color: var(--c1);
    color: var(--c4);
    overflow: hidden;
}

.section5 div {
    display: flex;
    justify-content: center;
}

.section5 img {
    width: 80vw;
    margin: 5vw;
    /*margin-bottom: 0;*/
    border: 2px solid var(--c4);
}

.section5 p {
    /*margin-top: 1vw;*/
    /*margin-bottom: 2vw;*/
    align-self: center;
}

@media (orientation:portrait) {
    .section5 img {
        width: 80vw;
        margin-top: 20vw;
    }
}

/*----------------------------------------------*/

/*/ Section X - Extra /*/
.sectionX { 
    height: 6vh; /* Para que el footer no oculte lo de atrás */
    background-image: linear-gradient(to right, var(--c1) 1px, transparent 1px),
    linear-gradient(to bottom, var(--c1) 1px, transparent 1px);
    background-size: 2vh 2vh;
    background-color: var(--c2);
}

/*----------------------------------------------*/

/*/ Footer /*/
footer { 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--c2);

    box-shadow: 0px 0px 20px var(--c1);
    position: fixed;
    bottom: 0;
    width: 100vw;
    height: 6vh;

    /*transition: .5s;*/
}

/*
footer:hover {
    opacity: 0;
}
*/

@media (orientation:portrait) {
    footer {
        justify-content: left;
        padding-left: .75vh;
    }
}

.footerbutton {
    position: absolute;
    right: 1.5vmax;
    top: 1.5vh;
}

.footerbutton img {
    width: 3vh;
    padding-left: 1vh;
}

/*----------------------------------------------*/

::-webkit-scrollbar {
    width: 11px;
    height: 0px;
  }

::-webkit-scrollbar-thumb {
    background: var(--c4);
  }