@charset "utf-8";

/*******************************************************************************************************
 * Sección I. 		CSS Reset
 *
 * html5doctor.com Reset Stylesheet v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/)
 * Richard Clark (http://richclarkdesign.com)
 * http://cssreset.com
 *******************************************************************************************************/
* {
  box-sizing: border-box;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul {
  list-style: none;
}

blockquote {
  quotes: none;
}

blockquote:before,
blockquote:after {
  content: "";
  content: none;
}

q:before {
  content: open-quote;
}

q:after {
  content: close-quote;
}

a {
  text-decoration: none;
}

a,
a:visited {
  color: #fff;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

dfn {
  margin-right: 0.3125em;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #d8d9dd;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

body {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom left;
  background-attachment: fixed;
  background-image: url("../images/fondo-movil-vertical.jpg");
  color: #fff;
}

.logo {
  margin-top: 2rem;
}

.logo img {
  display: block;
  margin: 0 auto;
  max-width: 320px;
  width: 66%;
  height: auto;
}

.en-construccion {
  margin-top: 2rem;
  padding: 0 1rem;
}

.en-construccion p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

h1 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2.5rem;
  text-align: center;
}

h2 {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 2rem;
  text-align: center;
  margin-top: 1rem;
}

p {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.5rem;
  text-align: center;
  margin-left: 0.5em;
  margin-right: 0.5em;
}

.servicios {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.servicio {
  margin-top: 1rem;
}

.servicio img {
  display: block;
  margin: 0 auto;
  max-width: 300px;
  width: 66%;
  height: auto;
}

.emergencia {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1em;
  font-style: italic;
  margin-top: 2rem;
}

.nota-pie {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 0.8rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

div {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  .servicios {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .servicio {
    width: 50%;
  }
}

@media screen and (min-width: 1025px) {
  .servicios {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .servicio {
    width: 25%;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  p {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 600px) and (orientation: portrait) {
  .logo img {
    max-width: 350px;
  }
}

@media screen and(min-width: 900px) and (orientation: landscape) {
  .logo img {
    max-width: 550px;
  }
}

@media screen and (max-width: 900px) and (orientation: landscape) {
  body {
    background-image: url("../images/fondo-movil-horizontal.jpg");
  }
}

@media screen and (min-width: 481px) and (max-width: 1024px) and (orientation: portrait) {
  body {
    background-image: url("../images/fondo-tablet-vertical.jpg");
  }
}

@media screen and (min-width: 481px) and (max-width: 1024px) and (orientation: landscape) {
  body {
    background-image: url("../images/fondo-tablet-horizontal.jpg");
  }
}

@media screen and (min-width: 1025px) and (orientation: portrait) {
  body {
    background-image: url("../images/fondo-pc-vertical.jpg");
  }
}

@media screen and (min-width: 1025px) and (orientation: landscape) {
  body {
    background-image: url("../images/fondo-pc-horizontal.jpg");
  }
}
