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

body {
  font-family: "Roboto", sans-serif;
  background-color: white;
}

header {
	background-color: #000000;
  height: 10vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.logo img {
  width: auto;
  height: 8vh;
  margin: 1.25in;
}

.img-logo{
  width: 50%;
  height: 50%;
}

nav{
  margin-right: 10%;
}

nav ul {
	display: flex;
	list-style: none;
  white-space: nowrap;
}

nav li:not(:last-child) {
	margin-right: 25%;
}

nav a {
	color: #ffffff;
	text-decoration: none;
	font-size: 22px;
  font-weight: 200;
}

nav a:hover {
	color: #7F9CA4;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh; 
}

.conten_img {
  text-align: center;
}


.img_logo_icos {
  width: 50%;
  height: 50%; 
  animation: slideDown 2s forwards, jump 3s 2s 1 alternate, jumpToCenter 2s 5s forwards, pulse 10s 7s forwards;
}

@keyframes slideDown {
  0% {
      transform: translateY(-100%);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes jump {
  0%, 100% {
      transform: translateY(0);
  }
  20%, 60% {
      transform: translateY(-80px);
  }
  40%, 80% {
      transform: translateY(0);
  }
}

@keyframes jumpToCenter {
  0%, 100% {
      transform: translateX(0) translateY(0);
  }
  25% {
      transform: translateX(-10%) translateY(-40px);
  }
  50% {
      transform: translateX(0) translateY(-20px);
  }
  75% {
      transform: translateX(10%) translateY(-10px);
  }
  100% {
      transform: translateX(0) translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

footer {
  background-color: #000000;
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social a {
  margin: 0 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social img {
  height: 5vh;
}

.social small {
  color: white;
}

.carousel-container {
  position: relative;
  height: 80vh;
  background-color: white ;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16% ;
}

.carousel-control-prev-icon{
  background-color: #000000;
  padding: 10%;
}

.carousel-control-next-icon {
  background-color: #000000;
  padding: 10%;
}


/*  Extra large devices (large desktops, 1020px and up / Desktop */
/* add all content */
@media only screen and (min-width: 1024px) {

  body {
    font-family: "Roboto", sans-serif;
    background-color: white;
  }
  
  header {
    background-color: #000000;
    height: 10vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
  }
  
  .logo img {
    width: auto;
    height: 8vh;
    margin: 1.25in;
  }
  
  .img-logo{
    width: 50%;
    height: 50%;
  }
  
  nav{
    margin-right: 10%;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    white-space: nowrap;
  }
  
  nav li:not(:last-child) {
    margin-right: 10%;
  }
  
  nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 200;
  }
  
  nav a:hover {
    color: #7F9CA4;
  }
  
  
  main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; 
  }
  
  .conten_img {
    text-align: center;
  }
  
  
  .img_logo_icos {
    width: 50%;
    height: 50%; 
    animation: slideDown 2s forwards, jump 3s 2s 1 alternate, jumpToCenter 2s 5s forwards, pulse 10s 7s forwards;
  }
  
  @keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
  }
  
  @keyframes jump {
    0%, 100% {
        transform: translateY(0);
    }
    20%, 60% {
        transform: translateY(-80px);
    }
    40%, 80% {
        transform: translateY(0);
    }
  }
  
  @keyframes jumpToCenter {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-10%) translateY(-40px);
    }
    50% {
        transform: translateX(0) translateY(-20px);
    }
    75% {
        transform: translateX(10%) translateY(-10px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
  }
  
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
  }
  
  footer {
    background-color: #000000;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .social a {
    margin: 0 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .social img {
    height: 5vh;
  }
  
  .social small {
    color: white;
  }
  
  .carousel-container {
    position: relative;
    height: 80vh;
    background-color: white ;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16% ;
  }
  
  .carousel-control-prev-icon{
    background-color: #000000;
    padding: 10%;
  }
  
  .carousel-control-next-icon {
    background-color: #000000;
    padding: 10%;
  }
}

/* Small devices (landscape phones, 1024px and down ) */
@media not screen, (orientation: landscape) and (max-width: 1024px) {
  /* Header */
  header {
    background-color: #000000;
    height: 15vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* Div logo */
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
  }

  /* Img */
  .logo img {
    width: auto;
    height: 10vh;
    margin: 0.5in;
  }

  /* Espacio entre el borde derecho y ul */
  nav {
    margin-right: 10%;
  }

  nav ul {
    display: flex;
    list-style: none;
    white-space: nowrap;
  }

  /* Espacio entre los elementos de lista en el menú de navegación */
  nav li:not(:last-child) {
    margin-right: 10%;
  }

  /* Color y font-size de la letra */
  nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.6px;
  }

  main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
  }

  .conten_img {
    text-align: center;
  }

  /* =========================================================================================*/
  .img_logo_icos {
    width: 40%;
    height: 40%;
    animation: slideDown 2s forwards, jump 3s 2s 1 alternate, jumpToCenter 2s 5s forwards, pulse 10s 7s forwards;
  }

  footer {
    background-color: #000000;
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .social a {
    margin: 0 10px; 
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social img {
    height: 8vh;
  }

  .social small {
    color: white;
    font-size: 12px; /* Tamaño de la fuente */
  }
}

/* Pantallas de escritorio menores a 1024px  hasta 992px */
@media only screen and (min-width: 992px) and (max-width: 1023px) {
  header {
    background-color: #000000;
    height: 10vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
  }
  
  .logo img {
    width: auto;
    height: 7vh;
    margin: 1.25in;
  }
  
  .img-logo{
    width: 50%;
    height: 50%;
  }
  
  nav{
    margin-right: 10%;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    white-space: nowrap;
  }
  
  nav li:not(:last-child) {
    margin-right: 20%;
  }
  
  nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.6px;
  }
  
  nav a:hover {
    color: #7F9CA4;
  }
  
  main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; 
  }
  
  .conten_img {
    text-align: center;
  }
  
  
  .img_logo_icos {
    width: 50%;
    height: 50%; 
    animation: slideDown 2s forwards, jump 3s 2s 1 alternate, jumpToCenter 2s 5s forwards, pulse 10s 7s forwards;
  }
  
  footer {
    background-color: #000000;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .social a {
    margin: 0 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .social img {
    height: 5vh;
  }
  
  .social small {
    color: white;
  }
}

/* Medium devices (tablets, 768px and 991px)  */
@media not screen, (orientation: portrait) and (min-width: 768px) and (max-width: 991px){
  /* Header */
  header {
    background-color: #000000;
    height: 15vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* Div logo */
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
  }

  /* Img */
  .logo img {
    width: auto;
    height: 10vh;
    margin: 0.5in;
  }

  /* Espacio entre el borde derecho y ul */
  nav {
    margin-right: 10%;
  }

  nav ul {
    display: flex;
    list-style: none;
    
  }

  /* Espacio entre los elementos de lista en el menú de navegación */
  nav li:not(:last-child) {
    margin-right: 10%;
  }

  /* Color y font-size de la letra */
  nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.6px;
  }

  main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
  }

  .conten_img {
    text-align: center;
  }

  /* =========================================================================================*/
  .img_logo_icos {
    width: 60%;
    height: 60%;
    animation: slideDown 2s forwards, jump 3s 2s 1 alternate, jumpToCenter 2s 5s forwards, pulse 10s 7s forwards;
  }

  footer {
    background-color: #000000;
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .social a {
    margin: 0 10px; /* Aumentando el espacio entre elementos sociales */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social img {
    height: 6vh;
  }

  .social small {
    color: white;
    font-size: 16px; /* Reduciendo el tamaño de la fuente */
  }
}

/* Medium devices (tablets, min 577px and max 767px)  */
@media not screen, (orientation: portrait) and (min-width: 577px) and (max-width: 767px){
  /* Header */
  header {
    background-color: #000000;
    height: 15vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* Div logo */
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
  }

  /* Img */
  .logo img {
    width: auto;
    height: 8vh;
    margin: 0.5in;
  }

  /* Espacio entre el borde derecho y ul */
  nav {
    margin-right: 10%;
  }

  nav ul {
    display: flex;
    list-style: none;
    
  }

  /* Espacio entre los elementos de lista en el menú de navegación */
  nav li:not(:last-child) {
    margin-right: 10%;
  }

  /* Color y font-size de la letra */
  nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.6px;
  }

  main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
  }

  .conten_img {
    text-align: center;
  }

  /* =========================================================================================*/
  .img_logo_icos {
    width: 60%;
    height: 60%;
    animation: slideDown 2s forwards, jump 3s 2s 1 alternate, jumpToCenter 2s 5s forwards, pulse 10s 7s forwards;
  }

  footer {
    background-color: #000000;
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .social a {
    margin: 0 10px; /* Aumentando el espacio entre elementos sociales */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social img {
    height: 6vh;
  }

  .social small {
    color: white;
    font-size: 14px; /* Reduciendo el tamaño de la fuente */
  }
}

/* Small devices (phones, 576px and up ) */
@media not screen and (min-width: 576px) {
  /* Header */
  header {
    background-color: #000000;
    height: 10vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* Div logo */
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
  }

  /* Img */
  .logo img {
    width: auto;
    height: 5vh;
    margin: 0.5in;
  }

  /* Espacio entre el borde derecho y ul */
  nav {
    margin-right: 10%;
  }

  nav ul {
    display: flex;
    list-style: none;
    
  }

  /* Espacio entre los elementos de lista en el menú de navegación */
  nav li:not(:last-child) {
    margin-right: 6%;
  }

  /* Color y font-size de la letra */
  nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.6px;
  }

  main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
  }

  .conten_img {
    text-align: center;
  }

  /* =========================================================================================*/
  .img_logo_icos {
    width: 70%;
    height: 70%;
    animation: slideDown 2s forwards, jump 3s 2s 1 alternate, jumpToCenter 2s 5s forwards, pulse 10s 7s forwards;
  }

  footer {
    background-color: #000000;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .social a {
    margin: 0 10px; /* Aumentando el espacio entre elementos sociales */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social img {
    height: 4vh;
  }

  .social small {
    color: white;
    font-size: 10px; /* Reduciendo el tamaño de la fuente */
  }
}