
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Lato&display=swap');

* {
    box-sizing: border-box;
}

body, html{
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #b8010c;
    color: white;
    overflow-x: hidden;
    width: 100%;

}

main {
    max-width: 800px;
    margin: 0 auto;
}

.images {
    margin-top: 80px;
    font-size: 0;
}

.images img {
    width: 100%;
}

.logo {
    background-image: url(../assets/planeta.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    transform: rotate(-360deg);
    width: 380px;
    height: 380px;
    top: 1600px;
}

.submain {
    max-width: 680px;
    margin: 20px auto;
}


.table2 {
     border-spacing: 15px;
    border-collapse: collapse;
    margin: 10px auto 0;
    background: rgb(12 145 168);
    background: linear-gradient(43deg, rgb(95 91 2) 1%, rgb(56 144 0) 80%);
    box-shadow: 0 0 30px #42424294;
    width: 100%;
    border: 2px dashed #ffffffb0;
}

.table2 td {
    padding: 5px 20px;
    text-shadow: 1px 1px 4px rgba(0,0,0, 0.5);
    text-align: left;
}

.table2 tr {
    border-bottom: 1px solid #8efec352;
}

.table2 tr:last-child {
    border-bottom: none;
}


.parrafo {
    background-color: rgba(69, 69, 69, 0.55);
    padding: 25px;
    border-radius: 5px;
}

.parrafo h1, .parrafo h2 {
    text-shadow: 1px 1px 4px rgba(0,0,0, 0.5);
}

.parrafo p {
    text-align: justify;
}

.big-text {
    font-family: 'Lato', sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.0em;
    color: rgb(255 255 255);
    text-shadow: 1px 1px 4px rgba(0,0,0, 0.5);
    margin-bottom: 20px;
}

.button {
    position: relative;
    width: 120px;
    height: 40px;
    margin: 10px auto;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.2s linear;
}

.button.outstock .but-bg {
    background: #a08989 !important;
}

.button.disabled .but-bg {
    background: #a08989 !important;
}

.button .but-bg {
    position: absolute;
    top: 0;
    left: 0;
    background: #dbce5c;
    width: 100%;
    height: 100%;
    border-radius: 2px;
}

.button p {
    position: absolute;
    top: 9px;
    left: 0;
    width: 100%;
    margin-top: 0;
    height: 17px;
    font-family: "Open Sans", sans-serif;
    text-align: center;
    color: black;
    font-weight: bold;
    pointer-events: none;
    user-select: none;
    font-size: 0.9em;
    letter-spacing: 1px;
    text-shadow: 0 0 0 black;
}

.button:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.precio {
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffffff;
    font-size: 1.1em;
}

.precio2 {
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffffff;
    font-size: 0.9em;
    display: none;
}



.table {
    width: 100%;
    font-size: 0.8em;
    border-radius: 5px;
    overflow: hidden;
    color: #222;
    border-collapse: collapse;
    box-shadow: 0 0 30px #42424294;
    background: #ffffffe0;
}



.table td {
    padding: 10px;
    text-align: left;
}

.table td:nth-child(1) {
    width: 180px;
    font-weight: 800;
    font-size: 0.9em;
}

.table tr:nth-child(odd) {
    background-color: rgb(215 200 200);
}













  /* Overlay de nieve */
  #snow-overlay {
    position: fixed; inset: 0;
    z-index: 9999; pointer-events: none;
    opacity: 0.7;
  }
  #snow-overlay canvas { width:100%; height:100%; display:block; }




  

@media (max-width: 600px) {

    .images {
        margin-top: 50px;
    }

     .submain {
        padding: 0 20px;
    }

    .precio {
        display: none;
    }

    .precio2 {
        display: block;
    }

    .button {
        width: 100px;
        height: 40px;
        margin: 5px;
    }

    .table2 td {
        padding: 5px 8px;
        font-size: 0.9em;
    }

    .table2 {
        margin: 0;
    }



    .table {
        font-size: 0.8em;
    }

    .table td {
        padding: 5px;
    }

    .table td:nth-child(1) {
        width: 120px;
    }

    .big-text {
        font-size: 1.0em;
    }

}