@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700;800&display=swap");

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

body {
  font-family: "Raleway", sans-serif;
  background-image: url(../img/Portada_cero.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  display: flex;
}
p {
  font-size: 1em;
  color: rgb(255, 255, 255);
  padding-right: 50px;
}
.container {
  background: rgba(0, 0, 0, 0.315);
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.izquierdo {
  width: 50%;
  height: 200;
  display: flex;
  justify-content: left;
}

.derecho {
  width: 50%;
  height: 200;
  justify-content: space-between;
}

.derecho p {
  font-size: 1.3em;
  font-weight: 500;
  color: rgb(248, 236, 211);
  border: 1px 1px;
  box-shadow: rgb(29, 29, 29);
  padding-right: 50px;
  text-align: justify;
}

object.img {
  max-width: 30%;
  max-height: 30%;
  margin-top: 70px;
  margin-left: 5vw;
}

h1 {
  margin-top: 70px;
  margin-right: 50px;
  font-size: 3em;
  line-height: 1.2em;
  color: #fff;
  text-align: left;
  font-weight: 800;
}

.subtitulo {
  width: 100%;
  margin-top: 0.5em;
  display: flex;
  justify-content:center;
  align-content: center;
  flex-wrap: wrap;
}

.subtext{
  width: 100%;
  height: min-content;
  padding-bottom: 20px;
}

.subtext h2 {
  padding-bottom: 0px;
  font-size: 1.5em;
  color: #fff;
  text-align: center;
}

.btningres {  
  width: 200px;
  height: 40px;
  text-align: center;
  font-weight: 600;
  color: #fff;
  background: #fff;
  border: 1px solid currentColor;
  padding: 10px 15px;
  border-radius: 30px;
}
.btn_cta{
text-decoration: none;
color: rgb(194, 31, 31);
}

.btningres:hover {
  background: rgb(214, 214, 214);
  color: rgb(214, 214, 214);
}

.social-media {
  width: 90%;
  height: auto;
  padding-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-media-icon {
  display: inline-block;
  margin-left: 21px;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  border-radius: 50%;
  text-align: center;
  color: #fff;
}
.social-media-icon:hover {
  background: #fff;
  color: #4a4a4a;
}
.social-media-icon i {
  font-size: 24px;
  line-height: 38px;
}

@media only screen and (max-width: 480px) {
 
  h1 {
    margin-top: 80px;
    margin-right: 40px;
    font-size: 1.3em;
    line-height: 1.2em;
    color: #fff;
    text-align: left;
  }


  .img {
    max-width: 40%;
    max-height: 40%;
    margin-top: 25px;
  }

  .izquierdo {
    width: 40%;
    height: 200;
    display: flex;
    justify-content: left;
  }
  
  object.img {
    max-width: 60%;
    max-height: 60%;
    margin-top: 20px;
    margin-left: 6vw;
  }

  .derecho {
    width: 60%;
    justify-content: space-between;
  }
  .derecho p {
    font-size: 1em;
    font-weight: 400;
    color: rgb(248, 236, 211);
    border: 1px 1px;
    box-shadow: rgb(29, 29, 29);
    padding-right: 50px;
    text-align: justify;
  }
  .subtext h2 {
    padding-bottom: 0px;
    font-size: 1em;
    color: #fff;
    text-align: center;
  }


}
