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


html{
    height: 100%;
}

body{
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgb(28, 28, 28);
}

#cargarpagina {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 100px;
  background: rgb(255, 255, 255)
}

/* Estilos para las imágenes */
.image-container {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f0f0f0;
  position: relative;
  width: 300px;
  height: 300px;
  background-color: rgba(137, 43, 226, 0);
}

.uno {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
/*  transition: opacity 1s ease-in-out, transform 1s ease-in-out; */
  transform-origin: center center;
}

.dos {
  position: absolute;
  top: 10%;
  left: 24%;
  width: 70%;
  height: 68%;
  opacity: 1;
  transform-origin: center center;
}

.tres {
  position: absolute;
  top: 19%;
  left: 60%;
  width: 33%;
  height: 33%;
  opacity: 1;
  transform-origin: center center;
}



/* Animación de imágenes */
@keyframes rote1 {
  0% {
    transform: rotate(0deg);
  }
  33.33% {
    transform: rotate(360deg);
  }
  66.66% {
    transform: rotate(720deg);
  }
  100% {
    transform: rotate(720deg);
  }
}

  /* Animación de imágenes */
  @keyframes rote2 {
  0% {
    transform: rotate(0deg);
  }
  33.33% {
    transform: rotate(-360deg);
  }
  66.66% {
    transform: rotate(-720deg);
  }
  100% {
    transform: rotate(-720deg);
  }
}


.uno {
  animation: rote1 3s  ;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  
 }

.dos {
  animation: rote2 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  
}

.tres {
  animation: rote1 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;

}


.grid-container{
    display: grid;
    gap: 5px;
    height: 100vh;
    grid-template:
    "nav" 110px
    "slider" auto
    "video" auto 
    "contenido" auto
    "footer" auto;
}


.nav{
    grid-area: nav;
    margin: 0;
    top: 0;
    z-index: 100;
}

.header-main{
  position:fixed;
  width: 90%;
  top: 5px;
  z-index: 100;
}

.slider{
    grid-area: slider;
    top: 0;
    margin-top: -110px;
}

.contenido{
    grid-area: contenido;
    margin: 0;
    top: 0;
}

.video{
  grid-area: video;
  margin: 0;
  top: 0;
}

.footer{
    grid-area: footer;
    margin: 0;
    top: 0;
    background-color: rgb(0, 0, 0);
}


.float{
	position:fixed;
	width:40px;
	height:40px;
	bottom:40px;
	right:10px;
    top:94%;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}
.float:hover {
	text-decoration: none;
	color: #25d366;
  background-color:#fff;
}

.my-float{
	margin-top:6px;
}

/* PANTALLA MOVIL */
@media (max-width: 768px) {
    .grid-container{
        display: grid;
        gap: 5px;
        height: 100vh;
        grid-template:
        "nav" 110px
        "slider" auto
        "contenido" auto
        "footer" auto;
    }

    .slider{
        grid-area: slider;
        top: 0;
        margin-top: 0px;
    }

    .float{
        position:fixed;
        width:40px;
        height:40px;
        bottom:4px;
        right:15px;
        top: 92%;
        background-color:#25d366;
        color:#FFF;
        border-radius:50px;
        text-align:center;
      font-size:30px;
        box-shadow: 2px 2px 3px #999;
      z-index:100;
    }
    .float:hover {
        text-decoration: none;
        color: #25d366;
      background-color:#fff;
    }
    
    .my-float{
      margin-top:6px;
    
    }


    .image-container {
      width: 200px;
      height: 200px;
    }
    


 
}


