Untitled

 avatar
unknown
plain_text
4 years ago
4.1 kB
3
Indexable
/* header */
:root {
  --hover-width: 75%;
  --other-width: 25%;
  --speed: 1000ms;
}
/* problema, no enseña el resto de la página */
html, body {
  padding:0;
  margin:0;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

.b-title{
  font-size: 4rem;
  color: #fff;
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.button {
  display: block;
  position: absolute;
  left: 50%;
  top: 40%;
  height: 2.5rem;
  padding-top: 1.3rem;
  width: 15rem;
  text-align: center;
  color: #fff;
  border: #fff solid 0.2rem;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateX(-50%);
}


.container {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--container-bg-color);
}

.split {
  position: absolute;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.split.left {
  left:0;
  background: url('https://images4.alphacoders.com/667/thumbbig-667676.webp') center center no-repeat;
  background-size: cover;
}

.split.left:before {
  position:absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--left-bg-color);
}

.split.right {
  right:0;
  background: url('https://images2.alphacoders.com/817/thumbbig-817857.webp') center center no-repeat;
  background-size: cover;
}

.split.right:before {
  position:absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--right-bg-color);
}

.split.left, .split.right, .split.right:before, .split.left:before {
  transition: var(--speed) all ease-in-out;
}

.hover-left .left {
  width: var(--hover-width);
}

.hover-left .right {
  width: var(--other-width);
}

.hover-left .right:before {
  z-index: 2;
}


.hover-right .right {
  width: var(--hover-width);
}

.hover-right .left {
  width: var(--other-width);
}

.hover-right .left:before {
  z-index: 2;
}

@media(max-width: 800px) {
  h1 {
    font-size: 2rem;
  }

  .button {
    width: 12rem;
  }
}

@media(max-height: 700px) {
  .button {
    top: 70%;
  }
}

.space{
  height: 500px;
}

/* el bloque de texto */

.animado{
  opacity: 0;
  transition: all 0.5s;
}

.b-text{
    font-family: 'Courier New', Courier, monospace;
    font-size: 50px;
    text-align: center;
 
}

.b-text__paraf{
  font-size: 25px;
  font-style: normal;
  font-family: serif;
  text-decoration-style: italic;
  margin-left: 25px;
  margin-right: 25px;
  margin-top: 50px;

}

.b-img{
  margin-left: 400px;
  height: 500px;
  width: 500px;
}

.b-margin__articule{
  margin-top: 50px;
  margin-bottom: 50px;
}

/* apartir de aqui empieza la galeria */
.b-text__galery{
  color: #fff;
  font-size: 30px;
  margin: 15px 0;
  text-align: center;
}

.galeria{
  width: 90%;
  
  margin: auto;
  list-style: none;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.galeria li{
  margin: 5px;
}

.galeria img {
  width: 250px;
  height: 200px;
}

/* para ampliar */

.modal{
  display: none;
}

.moda:target{
  display: block;
  position: fixed;
  background: rgba(0,0,0,0.8);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.imagen{
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagen a{
  color: #fff;
  font-size: 40px;
  text-decoration: none;
  margin: 0 10px;
}

.imagen a:nth-child(2) {
  margin: 0;
  height: 100%;
  flex-shrink: 2;
}

.imagen img{
  width: 500px;
  height: 100px;
  max-width: 100%;
  border: 7px solid #fff;
  box-sizing: border-box;
}

.close{
  display: block;
  background: #fff;
  width: 25px;
  height: 25px;
  margin: 15px auto;
  text-align: center;
  text-decoration: none;
  font-size: 25px;
  color: black;
  padding: 5px;
  border-radius: 50%;
  line-height: 25px;
}
Editor is loading...