
@import url('https://fonts.googleapis.com/css2?family=Caprasimo&family=DM+Serif+Display:ital@0;1&family=Dancing+Script:wght@400..700&family=Edu+QLD+Hand:wght@400..700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Pacifico&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;

}

body{

  font-family: 'Libre Baskerville', serif;
  padding-top: 80px;
}
img{
    max-width: 100%;

}
.container{
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    background: linear-gradient(
        rgba(231, 225, 225, 0.4),
        rgba(231, 225, 225, 0.4)
    ),
url(img_Farmacia/descarga_enfermera.png);
   background-position: center center;
   background-repeat: no repeat;
   background-size: cover;
   display: flex;
   align-items: center;
   min-height: 60vh;
   padding: 50px 0 0 0;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);

  
}
.FarmaCielo {
    font-family:'Caprasimo', serif;
    font-size: 30px;
    color: rgb(123, 63, 219);
    font-weight: 200;

}
.branding {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 30px;
}

.branding img {
    width: 40px;
    height: auto;
}

.branding .FarmaCielo {
    font-family: 'Caprasimo', serif;
    font-size: 30px;
    color: rgb(123, 63, 219);
    font-weight: 200;
}
.menu .navbar ul li  { 
    position: relative;
    float: left;
}
.menu .navbar ul li a { 
    font-size: 18px;
padding: 30px;
color: rgb(1, 28, 80);
display: block;
}
.menu .navbar ul li a:hover {
color: rgb(64, 64, 236);
border-radius: 20px;
background-color: #e3f0fb;
outline: 2px solid #c7cbd3;
outline-offset: -7px ;
}
 #menu {
    display: none;
 }
.menu-icono {
    width: 25px;
}
.menu label {
    cursor: pointer;
    display: none;
}
.submenu {
    position: relative;
}
.submenu #carrito {
    display: none;
}
.submenu:hover #carrito {
    display: block;
    position: absolute;
    right: 0;
    backdrop-filter: blur(10px);
    top: 100%;
    z-index: 1;
    background-color: #4E4B5076;
    padding: 20px;
    min-width: 400px;
}
#img-carrito {
  margin-right: 20px; 
}

table{
    width: 100%;
}
th, td {
    color: #FFFFFF;
}

.borrar
{
    background-color: rgb(7, 239, 58);
    border-radius: 50%;
    padding: 5px 10px;
    color: #FFFFFF;
    font-weight: 800;
    cursor: pointer;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.header-txt {
    flex-basis: 50%;
    margin-right: 25px;
 background-color: #f8f8f8;
  text-align: center;
  
}

.header-txt h1 {
    font-family:'Dancing Script', serif;
    font-size: 55px;
    text-transform: capitalize;
    line-height: 1;
    color: rgb(2, 2, 89);
    margin-bottom: 30px;
}

.header-txt p {
    font-size: 17px;
    color: #515557;
    margin-bottom: 25px;
font-family:'Roboto', serif;
}

.butons {
    display: flex;
 justify-content: center;
}

.btn-1 {
    display: inline-block;
    padding: 13px 25px;
    background-color: blueviolet;
    margin-right: 20px;
    color: #FFFFFF;
    text-transform: capitalize;
    margin-bottom: 20px;
    border-radius: 10px;
}

.oferts {
    padding: 70px 0;
    display: flex;
    justify-content: space-between;
}

.ofert-1 {
    flex-basis: calc(33.3% - 20px);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.b1 {
    background-color: #91ddd8;
}
.b2 {
    background-color: #61afeb;
}
.b3 {
    background-color: #74eecf;
}
.ofert-txt {
    flex-basis: 50%;
}
.ofert-txt h3 {
    color: #FFFFFF;
    font-size: 20px;
}
.ofert-txt a {
    color: #FFFFFF;
}
.ofert-img {
    flex-basis: 50%;
}

.products {
    padding: 0 0 70px 0;
    text-align: center;
 background-color: #bee3f4d5;
}

h2{
    font-family:'DM Serif Display', serif;
    font-size: 40px;
    color: #111419;
}
.box-container {
    margin-top: 55px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.box{
    border-top: 2px solid #61afeb;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    background-color: #f6fafb;
    display: none;
}

.box:nth-child(1),
.box:nth-child(2),
.box:nth-child(3),
.box:nth-child(4),
.box:nth-child(5),
.box:nth-child(6),
.box:nth-child(7),
.box:nth-child(8) {
    display: inline-block;
}

.box img{
    height: 200px;
}

.product-txt h3 {
    font-size: 20px;
    color: #111419;
    margin-bottom: 10px;
}

.product-txt p {
   font-family:  'Roboto', serif ;
    margin-bottom: 25px;
    color: #515557;
}
.precio {
    font-size: 17px;
    font-weight: 700;
    color: blueviolet !important;
}
.btn-2, .btn-3 {
    background-color: rgb(34, 65, 150);
    margin-top: 50px;
    display: inline-block;
    padding: 11px 35px;
    border-radius: 25px;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.btn-2:hover, .btn-3:hover {
    background-color: #6aaff0;
}
.btn-1:hover {
    background-color: #c4a3f2;
}
.btn-3{
    margin: 0;
    padding: 8px 25px;
    border-radius: 5px;  
}
.testimonial{
    padding: 100px 0;
    text-align: center;
}
.testimonial-content {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}
.testimonial-1
{
    flex-basis: calc(50% - 20px);
    padding: 50px;
    text-align: left;
    background-color: #f6fafb;
    border-top: 5px solid blue;
}
.testimonial-1 h3{
    font-family:'Dancing Script', serif;
margin-bottom: 25px;
    color: #0a0b0c;
     font-size: 35px;
}
.testimonial-1 p{
  
    color: #0a236d;
    margin-bottom: 25px;
}
.footer {
    background-color: #88a9d2;
    padding: 100px 0;
}
.footer-content{
    display: flex;
    justify-content: space-between;
}
.link h3 {
    color: #FFFFFF;
    font-size: 18px;
    margin-bottom: 15px;
     
 

}
.link p {
     color: #dfe0e0;
}
.link a{
color: black;
   display: block;
    margin-bottom: 15px;
}
.link a:hover {
    color: #b2dcf7;
}

@media (max-width:991px)
{
    .menu{
        padding: 20px;

    }
    .menu label {
        display: initial;
        
    }
    .menu .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #bce0fb;
        display: none;
    }
    .menu .navbar ul li {
        width: 100%;
    }

    #menu:checked ~ .navbar{
        display: initial;

    }
   .branding {
    display: none;
}
    .menu .navbar ul li a:hover {
        color: rgb(64, 64, 236);
    }
    .submenu:hover #carrito {
        width: 100%;
    }
    .header {
        padding: 50px 0 0 0;
    }
    .header-content {
        padding: 30px;
        flex-direction: column;
        text-align: center;
    }
    .header-txt {
    margin-right: 0;
    }
    .butons{
        justify-content: center;
    }
    .btn-1{
        margin-bottom: 0;
    }
    .header-img{
        display: none;
    }
    .oferts{
        padding: 30px;
        flex-direction: column;
    }
    .ofert-1{
        margin-bottom: 15px;
    }

    .products{
        padding: 0 30px 30px 30px;
    }
    .testimonial{
        padding: 30px;

    }
    .testimonial-content{
        margin-top: 20px;
        flex-direction: column;
    }
    .testimonial-1{
        padding: 25px;
        margin-bottom: 25px;
    }
    .footer{
        padding: 30px;

    }
    .footer-content{
        flex-direction: column;
        text-align: center;
    }

}
html {
    scroll-behavior: smooth;
}

a, .btn-1, .btn-2, .btn-3 {
    transition: all 0.3s ease-in-out;
}

