@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&family=Crimson+Text&display=swap');

/* Normalizar estilos */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos generales */
body {
    font-family: 'Crimson Text', serif;
    background-image: url("../imagenes/fondo_inicio.png");
    background-repeat: repeat-y;
    background-size: 100%;
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

a {
    text-decoration: none;
    color: black;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

.img {
    max-width: 100%;
    height: auto;
  }

/* Header */
header {
    border-bottom: 1px solid black;
    padding: 1em 0;
    position: fixed;
    background-color: #f7f5ed;
    right: 0;
    left: 0;
    z-index: 1030;
    top: 0;
}

header nav .logo img 
{
    max-width: 70%;
    height: auto;
    min-width: 130px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5em;
}

header nav ul li {
    padding-right: 1em;
    padding-left: 1em;
}


header nav ul li a {
    font-family: 'Courier Prime', monospace;
    font-size: 1em;
    text-transform: uppercase;
    font-weight: 400;
}

main {
    padding-top: 5em;
}

/* Footer */
footer {
    margin-top: 5em;
    background-color: #212121;
}

footer p {
    font-family: 'Courier Prime', monospace;
    color: #F5F5F5;
    padding: 3em;
    font-size: 10px;
    margin: 0;
}

/* Inicio */
.presentation,
.interactive-map,
.case-files,
.profile-detective,
.other-theories
{
    margin-top: 5em;
}

#inicio .presentation .row {
    display: flex;
    flex-direction: column;
}

#inicio .presentation h2 {
    text-align: right;
    font-size: 1.2em;
    margin-bottom: 2em;
    font-weight: unset;
    width: 50%;
    align-self: end;
}

#inicio .presentation img 
{
    width: 75%;
    align-self: start;
    max-width: 400px;
}

#inicio .presentation h3 {
    text-align: left;
    font-size: 1em;
    margin-bottom: 2em;
    font-weight: unset;
    margin-top: 2em;
    background-color: #FFF;    
    padding: 1em;
    width: 75%;
    align-self: end;
}

#inicio .map .row {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#inicio .map
{
    margin-top: 5em;
}

#inicio .map img,
#inicio .files img
 {
    height: 30px;
    max-height: 30px;
}

#inicio .map h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-top: 1em;
    width: 75%;
    margin-bottom: 5em;
}

#inicio .files .row {
    display: flex;
    flex-direction: column;
    align-items: end;
}

#inicio .files h4,
#inicio .other-theories h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-top: 1em;
    width: 75%;
    margin-bottom: 5em;
}

#inicio .create-your-theory .row {
    display: flex;
    flex-direction: column;
    align-items: end;
}

#inicio .create-your-theory h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-top: 1em;
    width: 75%;
}

#inicio .other-theories .row {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#inicio .other-theories h4 {
    margin-right: 1em;
}

/* Galería */
#gallery .gallery-photos .row {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#gallery .gallery-photos h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-bottom: 5em;
}

#gallery .gallery .row {
    display: flex;
    align-items: center;
    justify-content: center;
}

#gallery .gallery .row img {
    padding: 0.5em;
}

#gallery .gallery .row .column1 {
    flex-basis: 30%;
    text-align: right;
}

#gallery .gallery .row .column2 {
    flex-basis: 50%;
    text-align: left;
}





/* Mapa */
#mapa .interactive-map .row {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#mapa .interactive-map h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-bottom: 5em;
}

#mapa .map
{
    position: relative;
}

#mapa .map .map-image
{
    width: 300px;
}

#mapa .map-markers
{
    height: 30px;
    position: absolute;
}

#mapa #marker1
{
    left: 80px;
    top: 54px;
}

#mapa #marker2
{
    left: 210px;
    top: 125px;
}

#mapa #marker3
{
    left: 110px;
    top: 190px;
}

#mapa #marker4
{
    left: 170px;
    top: 240px;
}

#mapa #marker5
{
    left: 200px;
    top: 270px;
}

#mapa #marker6
{
    left: 150px;
    top: 305px;
}

#mapa .map-tooltip
{
    font-family: 'Courier New', Courier, monospace;
    display: none;
    position: absolute;
    background-color: #e4dfc9;
    top: 365px;
    left: 155px;
    padding: 0.5em;
}

#mapa .map-tooltip h5 {
    text-transform: uppercase;
    font-size: 16px;
    margin-top: 3em;
}

#mapa .map-tooltip ul {
    margin-top: 1em;
    margin-bottom: 2em;
}

#mapa .map-tooltip ul li {
    font-size: 12px;
}

#mapa .map-tooltip .close-tooltip-btn {
    float: right;
    height: 25px;
}

/* Archivos */
#archivos .case-files .row {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#archivos .case-files h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-bottom: 5em;
}

#archivos .photos .row,
#archivos .posts .row {
    display: flex;
    flex-direction: column;
    align-items: end;
}

#archivos .photos img,
#archivos .filmes img,
#archivos .posts img {
    height: 30px;
    max-height: 30px;
}

#archivos .photos h4,
#archivos .posts h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-top: 1em;
    width: 75%;
    margin-bottom: 5em;
}

#archivos .filmes .row {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#archivos .filmes h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-top: 1em;
    width: 75%;
    margin-bottom: 5em;
}

.go-back-btn {
    display: flex;
    justify-content: right;
    align-items: end;
    margin-top: 5em;
}

.go-back-btn img {
    height: 30px;
    max-height: 30px;
}

/* Filmes */
#filmes .case-files .row {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#filmes .case-files h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-bottom: 5em;
}

#filmes .videos .video {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5em;
}

#filmes .videos .video:nth-child(even) {
    flex-direction: row-reverse;
}

#filmes .videos .video .data {
    flex-basis: 50%;
}

#filmes .videos .video .data h4 {
    font-family: 'Courier New', Courier, monospace;
    text-align: right;
    padding: 1em 0;
    font-size: 17px;
}

#filmes .videos .video .data iframe {
    width: 100%;
    height: 200px;
}

#filmes .videos .text {
    flex-basis: 50%;
    padding: 0 1em;
}

#filmes .videos .text h5 {
    text-transform: uppercase;
    font-family: 'Courier New', Courier, monospace;
}

/* Publicaciones */
#posts .gallery-posts .row {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#posts .gallery-posts h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-bottom: 5em;
}

#posts .posts .post {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5em;
}

#posts .posts .post .data {
    flex-basis: 50%;
}

#posts .posts .post .description {
    flex-basis: 50%;
    padding: 0 1em;
}

#posts .posts .post .description img {
    margin: 1em 0;
}

/* Perfil */
#perfil .profile-detective .row {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#perfil .profile-detective h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-bottom: 5em;
}

#perfil .login .row {
    display: flex;
    flex-direction: column;
    align-items: end;
}

#perfil .login img {
    height: 30px;
    max-height: 30px;
}

#perfil .login h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-top: 1em;
    width: 75%;
    margin-bottom: 5em;
}

#perfil .create-your-theory .row {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#perfil .create-your-theory h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-top: 1em;
    width: 75%;
}

/* Identifícate */
#identificate .login
{
    font-family: 'Courier New', Courier, monospace;
    padding: 0.5em;
    text-transform: uppercase;
}

#identificate .login .form {
    background-color: #e4dfc9;
    padding: 3em 2em;
}

#identificate .login .form h2 {
    text-transform: uppercase;
    font-size: 16px;
    margin-top: 2em;
    margin-bottom: 3em;
}

#identificate .login .form label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

#identificate .login .form .form-label {
    display: block;
    margin: 2em 0;
    font-weight: bold;
}

#identificate .login .form .form-label input {
    font-family: 'Courier New', Courier, monospace;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background: transparent;
    border: none;
    border-bottom: 2px solid black;
}

#identificate .login .form .form-label input:focus {
    outline: none;
}

#identificate .login .form button {
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
    background-color: #a7b3bf;
    border: transparent;
    padding: 0 5px;
    float: right;
}

/* Crea tu teoría */
#crea-tu-teoria .create-your-theory
{
    font-family: 'Courier New', Courier, monospace;
    padding: 0.5em;
    text-transform: uppercase;
}

#crea-tu-teoria .create-your-theory .form-theory {
    background-color: #e4dfc9;
    padding: 3em 2em;
}

#crea-tu-teoria .create-your-theory .form-theory label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

#crea-tu-teoria .create-your-theory .form-theory .form-label {
    display: block;
    margin: 2em 0;
    font-weight: bold;
}

#crea-tu-teoria .create-your-theory .form-theory .form-label input {
    font-family: 'Courier New', Courier, monospace;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background: transparent;
    border: none;
    border-bottom: 2px solid black;
}

#crea-tu-teoria .create-your-theory .form-theory .form-label input:focus,
#crea-tu-teoria .create-your-theory .form-theory .form-label textarea:focus {
    outline: none;
}

#crea-tu-teoria .create-your-theory .form-theory .form-label textarea {
    font-family: 'Courier New', Courier, monospace;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background: transparent;
    border: none;
    line-height: 4ch;
    background-image: linear-gradient(transparent, transparent calc(4ch - 2px), black 0px);
    background-size: 100% 4ch;
}

#crea-tu-teoria .create-your-theory .form-theory button {
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
    background-color: #a7b3bf;
    border: transparent;
    padding: 0 5px;
    float: right;
}

/* Teorías */
#teorias .other-theories .row {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#teorias .other-theories h4 {
    font-size: 1em;
    font-weight: unset;
    background-color: #fff;
    padding: 1em;
    margin-bottom: 5em;
}

#teorias .theories {
    margin-bottom: 10em;
}

#teorias .theories .row {
    display: flex;
    padding: 5px;
    flex-wrap: wrap;
    position: relative;
}

#teorias .theories .row .column {
    flex: 25%;
    padding: 5px;
}

#teorias .theories .row .column img {
    padding: 10px;
}

#teorias .theories .file-tooltip
{
    font-family: 'Courier New', Courier, monospace;
    display: none;
    font-size: 12px;
    position: absolute;
    background-color: #e4dfc9;
    width: 100%;
    padding: 0.5em;
}

#teorias .theories .file-tooltip p {
    margin-top: 0;
    margin-bottom: 1rem;
}

#teorias .theories .file-tooltip .close-tooltip-btn {
    float: right;
    height: 25px;
}



/* Media queries */
@media (min-width: 576px) {

    .container {
        max-width: 540px;
    }

    #teorias .theories {
        margin-bottom: 0;
    }

    #teorias .theories .file-tooltip
    {
        top: 75px;
        font-size: 16px;
    }
}

@media (min-width: 768px) {

    .container {
        max-width: 720px;
    }

    #teorias .theories .file-tooltip
    {
        top: 165px;
    }
}

@media (min-width: 992px) {

    .container {
        max-width: 960px;
    }

    #teorias .theories .file-tooltip
    {
        top: 260px;
    }
}

@media (min-width: 1200px) {

    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {

    .container {
        max-width: 1320px;
    }
}