/* Reset some default styles */
body, h1, h2, p, ul, li {
   height: 100%;
   margin: 0;
   padding: 0;
   font-family: 'Montserrat', sans-serif;
}
body {
   overflow-x: hidden;
}
img {
   display: block;
   max-width: 100%;
}
.green {
   color: #99c358;
}
img {
   display: block;
   max-width: 100%;
}
.header {
   padding: 2rem;
}
.navbar {
   display: flex;
   margin: 1rem;
   text-align: center;
   align-items: center;
   justify-content: space-evenly;
}
 
.navbar a {
   padding: 1rem;
   color: white;
   text-decoration: none;
   font-size: 17px;
   text-align: center;
   align-items: center;
}
.logotipo {
   width: 15rem;
}
main {
   display: flex;
   gap: 2rem;
   flex-wrap: wrap;
   max-width: 95%;
   justify-content: center;
   align-items: center;
   margin: 2rem;
   background-color: white;
   padding: 3rem;
   border-radius: 25px;
}span{
   font-weight: bold;
}
.titlegl {
   align-items: center;
   font-size: 4rem;
   text-align: center;
}
.image {
   border-radius: 25px;
   max-height: 30rem;
}
.container {
   display: grid;
   place-content: center;
   position: relative;
   overflow: hidden;
   border-radius: 1rem;
   --position: 50%;
}
.image-container {
   max-width: 700px;
   max-height: 90vh;
   aspect-ratio: 1/1;
}

.slider-image {
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: left;
}

.image-before {
   position: absolute;
   inset: 0;
   width: var(--position);
   height: 133%;
}
.image-beforet {
   position: absolute;
   inset: 0;
   width: var(--position);
   height: 100%;
 }

.slider {
   position: absolute;
   inset: 0;
   cursor: pointer;
   opacity: 0;
   width: 100%;
   height: 100%;
}
.slider:focus-visible ~ .slider-button {
   outline: 5px solid black;
   outline-offset: 3px;
}
.slider-line {
   position: absolute;
   inset: 0;
   width: .2rem;
   height: 100%;
   background-color: #fff;
   left: var(--position);
   transform: translateX(-50%);
   pointer-events: none;
}
.slider-button {
   position: absolute;
   background-color: #fff;
   color: black;
   padding: .5rem;
   border-radius: 100vw;
   display: grid;
   place-items: center;
   top: 50%;
   left: var(--position);
   transform: translate(-50%, -50%);
   pointer-events: none;
   box-shadow: 1px 1px 1px hsl(0, 50%, 2%, .5);
}
body {
   font-family: 'Arial', sans-serif;
   line-height: 1;
   background-color: #f4f4f4;
   color: #333;
   margin: 0;
   display: flex;
   flex-direction: column;
   min-height: 100vh;
}
body::before {
   content: "";
   background: url("src/demo.jpg") center/cover no-repeat;
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   opacity: 0.5;
   z-index: -1;
}
header {
   background-color: rgba(20,93,160,255);
   color: #fff;
   padding: 1rem;
}
section {
   flex: 1;
   max-width: 800px;
   margin: 20px auto;
   padding: 20px;
   background-color: #fff;
}
.bookn {
   margin: 3rem;
   padding: 5rem;
   transition: 0.5s;
   text-decoration: none;
   color: white;
   border: 2px solid white;
   border-radius: 10%;
}
.bookn:hover{
   color:#99c358;
   border: 2px solid #99c358;
   border-radius: 15%;
}
.linkk {
   font-weight: bold;
   text-decoration: none;
}
.welc {
   font-size: 3rem;
   padding:1rem
}
.parrafo {
   padding: 1rem;
   font-size: large;
}
footer {
   background-color: #333;
   color: #fff;
   font-size: small;
   line-height: 1.5;
   text-align: center;
   padding: 1em 0;
   margin-top: auto;
}
.bold {
   font-weight: bolder;
}
.img {
   position: fixed;
}

ul {
   text-align: center;
}
.services-grid {
   display: flex;
   flex-wrap: nowrap;
   justify-content: space-between;
   align-items: flex-start; 
   gap: 2rem;
   margin: 2rem;
}

.ssection {
   flex: 1;
   min-height: 15rem;
   margin: 20px 0;
   padding: 10px;
   background-color: #fff;
   box-sizing: border-box;
   text-align: center;
   border-radius: 25px;
   border: solid 1px #99c358;
   transition: border-width 0.2s linear;
}
.ssection:hover{
   border-width: 5px;
}
.link {
   color: white;
   text-decoration: none;
   margin: 3rem;
   padding: 0.3rem;
   transition: 0.5s;
   background-color: rgba(20,93,160,255);
}

.logo {
   font-size: 3rem;
   text-align: center;
   padding-top: 1rem;
   padding-bottom: 2rem;
}
.contact-section {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 20px;
   max-width: 1200px;
   margin: 20px auto;
   padding: 20px;
   background-color: #fff;
   box-sizing: border-box;
   text-align: center;
}
.grid {
   padding: 5rem;
}
.contactus {
   grid-column: span 2;
   padding: 1rem;
   padding-bottom: 0;
}

form {
   max-width: 500px;
   margin: 20px auto;
   display: grid;
   gap: 10px;
   padding: 1rem;
   align-items: center;
}
.form-group {
   display: grid;
   gap: 10px;
   grid-template-columns: 1fr;
}

label {
   font-weight: bold;
   text-align: right;
   padding-right: 10px;
}

input,
textarea,
select {
   padding: 10px;
   width: 100%;
   border: 1px solid #ccc;
   border-radius: 4px;
   box-sizing: border-box;
}

input[type="submit"] {
   background-color: #4CAF50;
   color: white;
   cursor: pointer;
}

.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
	margin-top:16px;
}
/* Responsive styles */
@media (min-width: 768px) and (max-width: 1024px) {
   .navbar ul {
      padding: 10px;
   }

   .link, .bookn {
      padding: 20px;
      display: inline-block;
   }
}

@media (max-width: 767px) {
   .container {
      max-width: 100%;
      box-sizing: border-box;
   }
   .navbar .link:not(.bookn) {
      display: none; /* Esto ocultará todos los enlaces que no tienen la clase 'bookn' */
  }

  .navbar {
      flex-direction: column;
      align-items: center;
  }

  .navbar .bookn {
      display: block; /* Esto asegurará que el botón 'Book Now!' se mantenga visible */
      width: auto;
      margin-top: 20px;
      margin-bottom: 20px;
  }
   .services-grid{
      flex-direction: column;
   }
}