/* UTILITIES */
:root {
  --background-table-color: #656363;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-family: 'Lato', sans-serif;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}
/* NAVBAR STYLING STARTS */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: #000;
  color: #fff;
}

.menu a {
  color: #fff;
}

.nav-menu {
  color: #fff;
}

.nav-links a {
  color: #fff;
}

/* LOGO */
.logo {
  font-size: 1rem;
}

/* NAVBAR MENU */
.menu {
  display: flex;
  gap: 1em;
  font-size: .8rem;
}

.menu li:hover {
  background-color: #000;
  border-radius: 5px;
  transition: 0.3s ease;
}

.menu li {
  padding: 5px 14px;
}

.flag-london {
  width: 80%;
  margin-top: -40px;
}

/* DROPDOWN MENU */
.services {
  position: relative; 
}

.dropdown {
  background-color: #000;
  padding: 1em 0;
  position: absolute; /*WITH RESPECT TO PARENT*/
  display: none;
  border-radius: 8px;
  top: 35px;
}

.dropdown li + li {
  margin-top: 10px;
}

.dropdown li {
  padding: 0.5em 1em;
  width: 8em;
  text-align: center;
}

.dropdown li:hover {
  background-color: #000;
}

.services:hover .dropdown {
  display: block;
}

/* RESPONSIVE NAVBAR MENU STARTS */

/* CHECKBOX HACK */

#checkbox_toggle {
  display: none;
} 

/* HAMBURGER MENU */
.hamburger {
  display: none;
  font-size: 24px;
  user-select: none;
}

.header-img {
  width: 100%;
  height: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* section table  */

.title-home-section {
  font-weight: 600;
  font-size: 1.5rem;
  margin-left: 20px;
  margin-top: 50px;
}

.content-table-text {
  font-size: .8rem;
}

.content-table-space {
  vertical-align: top;
  display: inline-block;
  margin-left: 15px;
}
.section-tables {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}


.section-tables .content-table {
  width: 90%;
}

.content-table {
  width: 50%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  min-width: 400px;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.content-table thead tr {
  background-color: var(--background-table-color);
  color: #ffffff;
  text-align: left;
  font-weight: bold;
}

.content-table th,
.content-table td {
  padding: 12px 15px;
}

.content-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.content-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.content-table tbody tr:last-of-type {
  border-bottom: 2px solid var(--background-table-color);
}

.content-table tbody tr.active-row {
  font-weight: bold;
  color: var(--background-table-color);
}

/* Add background color to the last column cells */
.content-table .last-column {
  background-color: #f2f2f2; /* Light gray background color */
}

/* slider */

/* .section-slider{
  align-items: center;
  background: #ffff;
  display: flex;
  height: 100vh;
  justify-content: center;
} */

@-webkit-keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(calc(-250px * 2));
            transform: translateX(calc(-250px * 2));
  }
}

@keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(calc(-250px * 2));
            transform: translateX(calc(-250px * 2));
  }
}
.slider {
  background: white;
  /*box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);*/
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 95%;
}
.slider::before, .slider::after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  -webkit-transform: rotateZ(100deg);
          transform: rotateZ(100deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  -webkit-animation: scroll 10s linear infinite;
          animation: scroll 10s linear infinite;
  display: flex;
  width: calc(250px * 4);
}
.slider .slide {
  height: 50px;
  width: 250px;
}

/* .slide img{
  width: 100px;
} */

/* section networking */

.subtitle-home-section {
  margin-left: 20px; 
  margin-top: 20px;
  font-size: .9rem;
}

.content-table-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}


.image-size-table {
  width: 45%;
  padding: 10px;
  margin-top: 15px;
}

/* form to payment */

.container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

.container h2 {
  text-align: center;
  margin-bottom: 30px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 20px;
  font-size: 16px;
}

.form-group {
  margin-bottom: 10px;
}

.btn-submit {
  background-color: var(--background-table-color);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#forma-pago {
  margin-bottom: 10px;
}



.button-div {
  display: flex;
  justify-content: flex-end;
  margin-right: 50px;
}


.comments-section-button {
  width: 25%;
  background-color: var(--background-table-color);
  color: #fff;
  border: none;
  padding: 10px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
}


/* Footer */

.footer {
  background-color: #fff;
  color: #fff;
  padding: 20px;
  text-align: center;
  height: 10vh;
}

.footer img {
  width: 20%;
  margin-left: 10px;
  margin-top: -10px;
}


/* lines to every section */

.section-divider {
  border-top: 1px solid #ccc; /* Línea tenue que marca la diferencia entre las secciones */
  margin-top: 30px;
  padding-top: 10px; /* Espacio entre la línea y el contenido de la sección */
}

.container {
  margin-bottom: 20px;
  padding-bottom: 10px; /* Espacio entre la línea y el contenido del formulario */
}

/* Estilos específicos para la última sección para evitar la línea inferior */
.container:last-child {
  border-bottom: none;
}


/* APPLYING MEDIA QUERIES */

@media (max-width: 1100px) {
  .menu li {
    padding: 0px;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 0px;
  }
  .menu {
    display:none;
    position: absolute;
    background-color:#000;
    right: 0;
    left: 0;
    text-align: center;
    padding: 16px 0;
    z-index: 100;
  }

  .menu li:hover {
    display: inline-block;
    background-color:#000;
    transition: 0.3s ease;
  }

  .menu li + li {
    margin-top: 12px;
  }

  input[type=checkbox]:checked ~ .menu {
    display: block;
  }

  .hamburger {
    display: block;
  }

  .dropdown {
    left: 50%;
    top: 30px;
    transform: translateX(35%);
  }

  .dropdown li:hover {
    background-color: #000;
  }
  .flag-london {
    width: 40%;
    margin-top: -40px;
  }
  .flag-london {
    width: 8%;
    margin-top: 0px;
}
}


@media (max-width: 800px) {
  .content-table-image{
    flex-direction: column;
    align-items: center;
  }

  .title-home-section {
    margin-left: 10px;
  }

  .subtitle-home-section {
    margin-left: 10px;
  }

  .section-tables .content-table {
    width: 100%;
    font-size: .65rem;
  }

  .section-tables{
    width: 100%;
  }
  .content-table {
    margin: 10px;
    min-width: 90%;
    font-size: .7rem;
  }
  .content-table-image img {
    width: 80%;
  }
  .flag-london {
    width: 10%;
    margin-top: 0px;
  }
  .footer img {
    width: 30%;
    margin-left: 10px;
    margin-top: -10px;
  }
}

@media screen and (max-width: 600px) {
  input[type="text"],
  input[type="email"],
  select {
    width: 100%;
  }
  .footer img {
    width: 40%;
    margin-left: 10px;
    margin-top: -10px;
  }
}

@media (max-width: 400px) {
  .content-table {
    margin-top: 10px;
    min-width: 98%;
    font-size: .58rem;
  }
  .subtitle-home-section {
    margin-left: 10px;
    font-size: .6rem;
  }
  .title-home-section{
    margin-left: 10px;
    margin-top: 30px;
  }
  .content-table-image {
    align-items: center;
    margin: 5px;
  }
  .footer img {
    width: 70%;
    margin-left: 10px;
    margin-top: -10px;
  }
}
