@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
}

/* Menú */
nav {
    background-color: #f8f8f8;
    height: 4.375em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3.125em;
    box-shadow: 0 0.125em 0.1875em rgba(0,0,0,0.1);
}

nav .logo {
    color: #333;
    font-size: 1.6em;
    font-weight: bold;
}

nav a {
    color: #333;
    text-decoration: none;
    margin: 0 0.9375em;
}

/* Desplegable */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content,
.dropdown-idioma {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 8.5em;
    box-shadow: 0.125em 0.5em 1em 0 rgba(0,0,0,0.2);
    padding: 0.75em 1em;
    z-index: 1;
    color: #333;
}

.dropdown-content a,
.dropdown-idioma a {
    display: block;
    margin: 0.3125em 0;
}

.dropdown .dropbtn,
nav .about-us,
nav .login,
nav .cart,
nav .language {
    background-color: #333;
    color: #f8f8f8;
    padding: 0.625em 0.9375em;
    border-radius: 0.3125em;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dropdown .dropbtn:hover,
nav .about-us:hover,
nav .login:hover,
nav .cart:hover,
nav .language:hover {
    background-color: #444;
}

.dropdown-content a:hover,
.dropdown-idioma a:hover {
    background-color: #f1f1f1;
}

/* Carrusel */
.carousel {
    width: 80%;
    margin: 0 auto;
}

.slick-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 18.75em;
    color: #fff;
    margin: 0.9375em;
    border-radius: 0.625em;
}

.slick-prev,
.slick-next {
    position: absolute;
    bottom: -3.125em;
    top: 50%;
    width: 1.875em;
    height: 1.875em;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    font-size: 1.25em;
    line-height: 0.3125em;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    transform: translateY(-50%);
    z-index: 9999;
}

.slick-prev {
    left: -1.5625em;
}

.slick-next {
    right: -1.5625em;
}

.slick-prev:before {
    content: '\2190';
}

.slick-next:before {
    content: '\2192';
}

.slick-prev:hover,
.slick-next:hover {
    opacity: 1;
}

.carousel img {
    width: 100%;
    height: auto;
    max-width: 31.25em;
    object-fit: cover;
}

/* Productos */
main {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-height: 500px;
}

/* Footer */
footer {
    background-color: #f8f8f8;
    height: 4.375em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3.125em;
    box-shadow: 0 0.125em 0 0.1875em rgba(0,0,0,0.1);
}

.footer-item {
    margin: 0;
}

/* Test Login */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    background: #f1f1f1;
}

h1 {
    font-weight: bold;
    margin: 0;
}

h2 {
    text-align: center;
}

p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

span {
    font-size: 12px;
}

a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

.boton {
    border-radius: 20px;
    border: 1px solid #333;
    background-color: #333;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
}

.boton:active {
    transform: scale(0.95);
}

.boton:focus {
    outline: none;
}

.boton.ghost {
    background-color: transparent;
    border-color: #FFFFFF;
}

form {
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

input {
    background-color: #eee;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}

input:focus {
    outline: none;
}

input.valido {
    border-color: #36cc36;
}

input.invalido {
    border-color: orange;
}

.container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 
                0 10px 10px rgba(0,0,0,0.22);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 480px;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.container.right-panel-active .sign-in-container {
    transform: translateX(100%);
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.overlay {
    background: #333;
    background: -webkit-linear-gradient(to right, #333, #444);
    background: linear-gradient(to right, #333, #555);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.container.right-panel-active .overlay {
    transform: translateX(50%);
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-left {
    transform: translateX(-20%);
}

.container.right-panel-active .overlay-left {
    transform: translateX(0);
}

.overlay-right {
    right: 0;
    transform: translateX(0);
}

.container.right-panel-active .overlay-right {
    transform: translateX(20%);
}

/* Animaciones */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.fade-out {
    opacity: 0;
    transition: opacity 1s ease; /* Ajusta la duración y la función de temporización según desees */
  }

#aboutUs {
    padding: 20px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
  }

  #aboutUs h1 {
    color: #333;
    text-align: center;
  }

  #aboutUs p {
    color: #666;
    line-height: 1.6;
  }

  

@keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}

/* Prefijos de navegador */
@-webkit-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


#productDetails {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px;
    width: 80%; /* Adjust as needed */
    margin: auto;
    overflow: auto;
    animation: fadeIn 1s ease-in-out;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#productDetails .left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

#productDetails .right {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns items to the left */
    justify-content: flex-start; /* Aligns items to the top */
    flex: 1;
    padding-left: 20px; /* Adds some space between the left and right columns */
    margin-top: 30px; /* Increase as needed */
}

#productDetails .right p {
    font-size: 1.2em; /* Increase as needed */
}

#productDetails h1 {
    color: #333;
    font-size: 2em;
    margin-bottom: 20px;
}

#productDetails img {
    max-width: 100%;
    height: 400px;
    margin-bottom: 20px;
}

#productDetails p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}