@import url('https://fonts.googleapis.com/css?family=Kaushan+Script&display=swap');

#background {
    z-index: -9000;
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    transform: translateX(calc((100% - 100vw)/2));
}

#title {
    max-width: 50%;
    height: auto;
    width: auto;
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 50%; right: 0;
}

.animation img {
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}

@keyframes fade {
    0% {opacity:1;}
    25% {opacity:1;}
    75% {opacity:0;}
    100% {opacity:0;}
}

.animation img.on {
    animation-name: fade;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 3s;
    animation-direction: alternate;
}

ul {
    list-style-type: none;
    margin-block-end: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.25);
    position: fixed;
    bottom: 0;
    height: 2em;
    width: 100%;
    display: flex;
    align-items: center;
}

li {
    float: left;
    margin-left: 0.5em;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 0 0.5em 0 0.34em;
    text-decoration: none;
}

li a:hover {
    background: rgba(255, 255, 255, 0.75);
    color: black;
}

.page, :target ~ .default {
    display: none;
    overflow-y: scroll;
    height: 34vh;
}

.default, :target {
    display: block;
}

.active {
    background: white;
    color: black;
}

h1, h2 {
    color: #ff7d00;
    margin-block-start: -0.25em;
    margin-block-end: 0;
    display: inline-block;
}

p {
    margin: 0 0.5em 0.5em 0.5em;
    margin-block-start: -0.25em;
}

a {
    text-decoration: none;
}

#copyright {
    margin-left: auto;
    margin-right: 0.5em;
}

.content {
    position: fixed;
    left: 0; bottom: 0; right: 0;
    background: rgba(0, 0, 0, 0.75);
    font-family: 'Kaushan Script', cursive;
    font-size: 24px;
    color: white;
    width: 100%;
    padding: 0.5em 0 2em 0;
}

.container { display: flex; justify-content: space-between }

.photos {
    max-height: 8em;
    width: auto;
    position: relative;
    align-self: baseline;
}

.photos_project {
    max-height: 4em;
    width: auto;
    position: relative;
    align-self: center;
    margin-right: 0.5em;
}

.container_social {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0 10vw 0 10vw;
}

.social {
    width: 10vw;
    height: auto;
}

.break {
  flex-basis: 100%;
  height: 0;
}

@media screen and (orientation:portrait) {
    .photos {
        max-width: 25%;
        height: auto;
    }
    .photos_project {
        max-width: 33%;
        height: auto;
    }
    .social {
    height: 20vh;
    width: auto;
    }
    
    #copyright { display: none; }
    .container_welcome { flex-direction: column; }
    figcaption { display: inline-block; }  
    .container_social { padding: 0; }
}

::-webkit-scrollbar { width: 0.5em; }
::-webkit-scrollbar-track { background: none; }
::-webkit-scrollbar-thumb { background: rgba(140, 140, 140, 0.5); }
::-webkit-scrollbar-thumb:hover { background: rgba(100, 100, 100, 0.5); }

#button {
    z-index: 1;
    font-size: 32px;
    border: none;
    outline: none;
    background: none;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    position: fixed;
    top: 0;
    right: 0;
}

#button:hover {
    color: rgba(0, 0, 0, 1);
}

.container_welcome { display: flex; }

#gusta {
    margin-right: 0.5em;
    margin-left: 0.5em;
}

figure {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

figcaption {
    text-align: center;
    font-size: 0.5em;
}

figcaption a {
    text-decoration: underline;
    color: #ff7d00;
}

blockquote {
    display: inline-block;
    padding-right: 0.5em;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 1em;
    border-style: solid;
    border-width: medium;
    background: black;
}