@import url("https://cdn.jsdelivr.net/gh/MonadABXY/mona-font/web/mona.css");

@import url("https://cdn.jsdelivr.net/gh/MonadABXY/mona-font/web/monas.css");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #00072D;
    font-family: "Mona12", sans-serif;
    color: #A6E1FA;
}

nav {
    background-color: #001C55;
    text-align: center;
    padding: 20px;
    z-index: 10000;
}

.oculto {
    display: none !important;
}

nav {
    position: sticky;
    top: 0;
}

.section-page {
    scroll-margin-top: 80px;
}

nav a {
    text-decoration: none;
    color: #A6E1FA;
    margin: 0 15px;
}

.banner-dulak {
    width: 100%;
    max-width: 1000px;
    height: 380px;
    margin: 0 auto 20px auto;

    background-image: url('imagenes/banner/mosaic.webp'); 
    background-repeat: repeat;
    background-size: 100px 100px;

    animation: moveMosaic 4s linear infinite;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.banner-characters img {
    display: block;
    max-height: 360px;
    width: auto;
}

@keyframes moveMosaic {
    from {
        background-position: 0 0;
    } to {
        background-position: -100px 100px;
    }
}

#home {
    padding-bottom: 40px;
    min-height: calc(100vh - 65px);
}

#home header {
    width: 100%;
    max-width: 600px;
    margin: 0px auto 10px auto;
    text-align: left;
}

.socials-home {
    max-width: 600px;
    margin: 20px auto;
    background-color: #001C55;
    border: 2px solid #0E6BA8;
    padding: 20px;
}

.socials-header {
    background-color: #0E6BA8;
    padding: 8px 15px;
    margin: -20px -20px 20px -20px;
    text-align: left;
}

.socials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;;
    gap: 15px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #00072D;
    color: #A6E1FA;
    border: 2px solid #0E6BA8;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
}

.btn-social:hover {
    background-color: #0E6BA8;
    border-color: #A6E1FA;
}


#about {
    background-color: #0A2472;
    color: #A6E1FA;
    padding: 40px 20px;
}


#about h1{
    text-align: center;
    margin-bottom: 30px;
}



.about-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
}



#about ul {
    list-style-type: none;
    margin-bottom: 15px;
}



.about-txt {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.table-skills {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #0E6BA8;
    margin-top: 25px;
}

.table-skills td {
    border-bottom: 2px solid #0E6BA8;
    padding: 12px 15px;
}

.table-skills tr:last-child td {
    border-bottom: none;
}

.table-skills strong {
    background-color: #0E6BA8;
    color: #A6E1FA;
    padding: 5px 10px;
    margin-right: 5px;
}

#gif-ovni {
    display: block;
    margin: 0 auto;
    margin-top: 40px;
    width: 500px;
    height:auto
}

#gallery {
   padding: 40px 20px;
   background-color: #00072D;
   max-width: 1000px;
   margin: 0 auto;
}

#gallery h1 {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-year {
    margin-bottom: 40px;
}

.gallery-year h2 {
    color: #00072D;
    background-color: #A6E1FA;
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.cuadrito-container {
    border-top: 2px dashed #0E6BA8; /* Línea punteada superior */
    padding-top: 20px;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.cuadrito-container img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: top;
    cursor: pointer;
    transition: 0.2s;
}

.cuadrito-container img:hover {
    border: 2px solid #A6E1FA;
        transform: scale(1.05);
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 7, 45, 0.9);

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border: 2px solid #A6E1FA;
}

.category-title {
    color: #00072D;
    background-color: #A6E1FA;
    padding: 5px 10px;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
    display: block;
}

#commissions {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

#comms-content {
    width: 100%;
    margin: 0;
    padding:0;
}

#comms-content h2 {
    color:#00072D;
    background-color: #A6E1FA;
    padding: 5px 10px;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

#comms-content ul {
    list-style-type: none;
    margin-bottom: 20px;
    text-align: left;
}

.status-closed {
    color: #e93d3d;
    font-weight: bold;
}

.status-open {
    color: #47f586;
    font-weight: bold;
}


#check-tos {
    max-width: 800px;
    margin: 0 auto;
    background-color: #001C55;
    border: 2px solid #0E6BA8;
    padding: 30px;
    text-align: left;
}

#check-tos h3 {
    color: #d9e8ee;
    margin-top: 20px;
    margin-bottom: 5px;
    border-bottom: 1px dashed #0E6BA8;
    padding-bottom: 4px;
}

#check-tos ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

#check-tos li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.tos-confirmation {
    margin-top: 30px;
    border-top: 2px solid #0E6BA8;
    padding-top: 20px;
    text-align: center;
}

.tos-confirmation p {
    margin-bottom: 10px;
    font-weight: bold;
}

.tos-confirmation input[type="checkbox"] {
    margin-right: 10px;
}

.btn-calc {
    background-color: #00072D;
    color: #A6E1FA;
    border: 2px solid #0E6BA8;
    padding: 10px 15px;
    margin: 5px;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
}

.btn-calc:hover {
    background-color: #0E6BA8;
}

.btn-calc.selected {
    background-color: #A6E1FA;
    color: #00072D;
    border: 2px solid #A6E1FA;
    font-weight: bold;
}

.panel-calc {
    border-top: 2px dashed #0E6BA8;
    padding-top: 20px;
    margin-top: 20px;
}

.calculator-layout {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 20px auto 0 auto;
}

.column-left{
    flex: 1;
}

.column-right{
    flex: 1;
}

#preview-img{
    max-width: 100%;
    height: auto;
}

.panel-calc ul{
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.panel-calc li {
    margin-bottom: 5px;
}

#comms-content table {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0 auto;
    border: 2px solid #0E6BA8;
    border-collapse: collapse;
    background-color: #001C55;
}

#comms-content table th{
    background-color: #0E6BA8;
    padding: 10px;
    text-align: center;
    font-size: 1.1em;
}

#comms-content table td{
    padding: 10px 15px;
    border-bottom: 2px solid #0E6BA8;
    border-right: 2px solid #0E6BA8;
    text-align: left;
}

#comms-content table td:last-child {
    border-right: none;
}

#commissions h1 {
    text-align: center;
    margin-bottom: 30px;
}

.section-page {
    display: none;
}

.section-page:target {
    display: block;
}

body:not(:has(.section-page:target)) #home {
    display: block;
}

@media screen and (max-width:600px) {
    .socials-container {
        grid-template-columns: 1fr;
    }

    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
        padding: 12px 10px;
    }

    nav a{
        margin: 0;
        font-size: 14px;
    }

    .banner-dulak {
        height: 250px;
        margin: 15px auto;
    }

    #gif-ovni {
        width: 100%;
        height: auto;
    }

    .banner-characters img {
        max-height: 230px;
    }

    .calculator-layout {
        flex-direction: column;
        gap: 20px;
    }

    .section-page {
        scroll-margin-top: 130px;
    }
}

