/*GLOBALES*/
html {
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    margin: 0;
    font-size: 1.6rem; /* 1.6rem = 16px */
    font-family: 'Lato', sans-serif;
}
img {
    max-width: 100%;
}

h1 {
    font-size: 3.0rem;
}

h2 {
    font-size: 3.0rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

/*REUTILIZABLES*/
.contenedor{
    max-width: 90rem;
    margin: 0 auto 0 auto;
}

/* HEADER */
.cabercera.inicio{
    background-image: url(../img/Banner-Diseño-grafico.jpg);
    background-position: NONE;
    background-size: cover;
    height: 100vh;
    min-width: 50rem;
}

.cabecera{
  background-color: #01004e;
  padding: 0 0 3rem 0;
}

.logo-y-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
}

.enlace-logo{
  display: inline-block;
  max-width: 30rem;
  min-width: 8rem;
  text-align: center;
}

.navegacion{
  display: flex;
}

.navegacion a {
color: #ffffff;
text-decoration: none;
font-size: 2rem;
margin-right: 1.6rem;
font-weight: 700;
display: block;
}

.navegacion a:last-of-type{
    margin: 0rem;
}

.navegacion a:hover{
    color: #0ee6ee;
}

.titulo {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.titulo h1{
    color: #ffffff;
    padding-bottom: 4.5rem;
    max-width: 80%;
    line-height: 1.6;
    font-weight: 900;
}

/*Más sobre mí*/
.sobre-mi {
    display: flex;
    justify-content: space-between;
}

.sobre-mi h3 {
    text-transform: uppercase;
}

.seccion {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.cajas-sobre-mi {
    flex-basis: calc(33.3% - 2rem);
    text-align: center;
    line-height: 1.5;
}

.seccion h2 {
    text-align: center;
    font-weight: 900;
}

.tres-servicios {
    display: flex;
    justify-content: space-between;
}

.servicios {
    flex-basis: calc(33.3% - 1rem);
    border-style: solid;
    border-color: #858585;
    border-width: 1px;
    background-color: #F5F5F5;

}

.text-servicios{
  padding: 1rem;
  line-height: 1.7;
}

.text-servicios h3{
  margin: 0;
}

.text-servicios p{
  margin: 0;
}

.precio{
  color: #4ad80b;
  font-weight: 700;
}

.boton{
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.8rem;
  padding: 1rem 3rem;
  display: inline-block;
  margin-top: 1.7rem;
  box-sizing: border-box;
  text-align: center;
  border: none;
}

.boton:hover{
  background-color: red;
}

.btn-verde{
  background-color: #4ad80b;
}

.ver-todo{
  display: flex;
  justify-content: flex-end;
}

.btn-naranja{
  background-color: #ea610f;
  display: block;
}

.btn-naranja-contáctame{
  background-color: #ea610f;
}

.img-contacto{
  background-image: url(../img/workplace-2230698_1920.jpg);
  background-position: center center;
  height: 50rem;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
}

#izq{
	width: 1000px;
	height: auto; overflow: hidden;
	float: left;
	padding: 5px; color: #fbfbfb;
  align:center;
  margin:0px 120px;
}

#der{
	width: 1500px;
	height: 500px;
	float: right;
  align:center;
  margin: 0px 0px;
  color: #ffffff;
}

.text-contacto{
  flex: 1;
  color: #ffffff;
}

.text-contacto p{
  font-size: 2rem;
}

.footer{
  background-color: #333333;
  margin: 0;
}

.footer p{
  margin: 0;
  color: #ffffff;
  font-size: 1.7rem;
  font-style: italic;
}

.text-footer{
  padding: 3rem 0;
  display: flex;
  justify-content: space-between;
}

/* MEDIA Responsive Design */
@media screen and (max-width: 44rem){
    .sobre-mi {
        display: inline-block;
        text-align: center;
    }

    .cajas-sobre-mi {
        max-width: 25rem;
        display: inline-block;
    }
}

@media screen and (max-width: 34rem){
    .sobre-mi {
        display: inline-block;
        text-align: center;
    }

    .cajas-sobre-mi {
        max-width: 100%;
        display: inline-block;
    }
}
/*....DOCUMENTO contacto.html....*/

.contenedor-contacto{
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

legend{
  font-size: 2rem;
  color: #8a8a8a;
}

label{
  display: block;
  font-weight: 700;
  text-transform: uppercase;
}

input:not([type="submit"]), textarea, select{
  padding: 0.5rem;
  box-sizing: border-box;
  display: block;
  width: 100%;
  background-color: #ebebeb;
  border: none;
  border-radius: 0.7rem;
  margin-bottom: 2rem;
}

textarea{
  height: 7rem;
}

form p{
  margin: 2rem 0 .5rem 0;
}

.forma-contacto-pago{
  max-width: 30rem;
  display: flex;
}

.social-media a{
  margin: 0 1rem;
  font-size: 2.5rem;
  text-decoration: none;
  color: #c0c0c0;
}

.social-media a:hover{
  color: #ffffff;
}
