/*v3*/

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.zen-maru-gothic-regular {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
}

.zen-maru-gothic-medium {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
}

.zen-maru-gothic-bold {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 700;
    font-style: normal;
}

.lexend-peta-regular {
    font-family: "Lexend Peta", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h1,
h2,
h3,
h4 {
    font-weight: 400;
}

h3 {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: black;
    margin-inline: 43px;
    font-size: 1.5em;
}

/*NAV*/
.navbar-main {
    height: 339px;
}

.navbar-nav .nav-link.active {
    text-decoration: underline;
}

.language-switcher {
    background-color: transparent;
    border-radius: 0px;
    border-color: black;
}

.dropdown-item.active {
    background-color: black;
}

.dropdown-item:active {
    background-color: gray;
}

.background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    display: block;
    background-color: #d9d4cd;
    background-image: url("https://msalas.art/img/headv5.jpg");
    background-size: initial;
    padding-top: 95px;
    transition: background-color .3s ease-in-out;
}

.sidebar {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background-color: #eaeaea;
    background-image: url("https://msalas.art/img/sidebar.jpg");
    padding: 20px;
    font-size: 50px;
    text-align: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: -10;
    width: 225px;
    color: #f9f9f9;
    padding-right: 70px;
}

.logo {
    font-family: "Lexend Peta", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 45px;
}

.logo-main {
    font-size: 90px;
}

.logo-sub {
    display: none;
}

.menu {
    margin-top: 100px;
}

.menu-main {
    margin-top: 250px;
}

@media (max-width: 991px) {
    .navbar-main {
        height: auto;
    }

    .background {
        background-size: cover;
        padding-top: 30px;
    }

    .sidebar {
        display: none;
    }

    .side {
        margin-left: 0px !important;
    }

    .content-sub {
        margin-top: 155px !important;
    }

    .logo-sub {
        display: block;
    }

    .menu-main {
        margin-top: 100px;
    }

    .logo-main {
        font-size: 45px;
    }

    .pleca {
        height: 42px !important;
        background-size: contain !important;
    }
}

/*CONTENT*/
.side {
    margin-left: 225px;
}

.pleca {
    background-image: url("https://msalas.art/img/head-main.jpg");
    height: 110px;
    background-size: initial;
}

.content-sub {
    margin-top: 165px;
}

.art-title {
    font-size: 1.1rem;
    /* font-weight: bold; */
    margin-bottom: 10px;
    text-align: right;
    font-style: italic;
}

.art-details {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.art-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

.social-icons a {
    all: unset;
}

.social-icons-ig {
    display: none !important;
}

.footer {
    background-color: #535353;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    width: 100%;
    z-index: 1021;
}

.footer p {
    font-size: 1.2rem;
}

.hidden {
    display: none;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-top: auto;
}

.gallery .caption {
    text-align: center;
    font-style: italic;
    font-size: 1em;
    margin-top: 5px;
    min-height: 2rem;
    text-decoration: none;
}

.gallery .card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    border: none;
    box-shadow: none;
    background-color: transparent;
}

.gallery .card a {
    color: black;
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

.loading-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-style: italic;
}

#gallery {
    transition: all 0.5s ease-in-out;
}

#btn-cargar-mas {
    background-color: transparent;
    border-color: black;
    border-radius: 0px;
    color: black;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes loading {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

/* Animación de carga */
.spinner {
    display: none;
    margin-left: 10px;
}

.input form {
    align-self: center;
    box-sizing: border-box;
    color: rgb(29, 30, 32);
    display: grid;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    line-height: 28.8px;
    margin: 0;
    padding: 0;
    text-align: start;
    text-transform: none;
    unicode-bidi: isolate;
    width: 606px;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.input textarea {
    appearance: auto;
    background-color: rgb(255, 255, 255);
    border-color: rgb(0, 0, 0);
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    color: rgb(0, 0, 0);
    column-count: auto;
    cursor: text;
    display: inline-block;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    height: 96px;
    letter-spacing: normal;
    line-height: 28.8px;
    margin: 0;
    min-height: 96px;
    outline: none;
    overflow-wrap: break-word;
    overflow-x: auto;
    overflow-y: auto;
    padding: 10px;
    resize: vertical;
    text-align: start;
    text-rendering: auto;
    text-shadow: none;
    text-transform: none;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    white-space-collapse: preserve;
    width: 606px;
    word-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -webkit-rtl-ordering: logical;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


.input input {
    appearance: auto;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(0, 0, 0);
    border-radius: 0px;
    box-sizing: border-box;
    color: rgb(0, 0, 0);
    cursor: text;
    display: inline-block;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    height: 45px;
    line-height: 28.8px;
    margin: 0px;
    outline: none;
    overflow: clip;
    padding: 10px;
    text-align: start;
    text-indent: 0px;
    text-transform: none;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    width: 606px;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.input label {
    box-sizing: border-box;
    color: rgb(0, 0, 0);
    cursor: default;
    display: inline-block;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    height: 25.1875px;
    line-height: 25.2px;
    margin: 0;
    padding: 0;
    text-align: start;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.input-button {
    align-items: center;
    align-self: center;
    appearance: button;
    background-color: rgb(0, 0, 0);
    border: 0px solid rgb(0, 0, 0);
    border-radius: 0px;
    box-shadow: none;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: flex;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    height: 56px;
    justify-self: start;
    margin: 0px;
    max-width: 100%;
    overflow: hidden;
    padding: 16px 40px;
    text-align: center;
    text-decoration: none;
    text-indent: 0px;
    text-overflow: ellipsis;
    text-transform: none;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    z-index: 1;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    margin-top: 20px;
}

.credits {
    font-size: 0.8rem;
    text-align: left;
}