/* CSS RESET */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*Empieza CSS general proyecto Lina Useche */

* {
  box-sizing: border-box;
}

body {
  background-image: url(RecursosGraf/FONDO-MENU1.png);
  background-size: 100%;
  width: 100%;
  height: 100%;
}

/* HEADER */

.header {
  width: 96%;
  display: block;
  position: sticky;
  margin: 1% auto;
  text-align: center;
  top: 1.5%;
}

.header img {
  float: left;
  width: 5%;
  margin-top: 1%;
}

.header .menu {
  text-align: center;
  float: right;
  width: 92%;
}

.header .menu .material-icons {
  font-size: 60pt;
  display: inline-block;
  position: relative; /*PARA CENTRAR EL ICONO*/
  right: 5%;
  cursor: pointer;
}

.header::after {
  content: "";
  display: block;
  clear: both;
}

/*CONTACT FORM*/

.sec3 {
  width: 90%;
  height: 80vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 70% 30%;
  grid-template-rows: 50% 40%;
  align-content: center;
  justify-content: center;
  grid-gap: 10px;
  position: relative;
  overflow: hidden;
}

.sec3 .material-icons {
  width: 5%;
  height: 10%;
  grid-column: 1/2;
  grid-row: 1/3;
  font-size: 3vw;
  color: #333366;
  display: inline-block;
  position: relative;
  top: 5%;
}

.sec3 #hola {
  width: 50%;
  height: 20%;
  grid-column: 1/2;
  grid-row: 1/3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 5vw;
  font-weight: 400;
  color: #333366;
  text-decoration: none;
  display: inline-block;
  position: relative;
  left: 10%;
}

.sec3 a:hover {
  font-style: italic;
}

.sec3 h3 {
  width: 50%;
  height: 10%;
  grid-column: 1/2;
  grid-row: 1/3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 2vw;
  font-weight: 400;
  color: #ff3300;
  display: inline-block;
  position: relative;
  top: 20%;
  left: 12%;
}

.sec3 .formato {
  grid-column: 1/2;
  grid-row: 1/3;
  width: 70%;
  display: inline-block;
  position: relative;
  top: 30%;
  left: 12%;
}

.sec3 .formato input[type="text"],
#e-mail {
  width: 50%;
  margin-top: 2%;
  border: none;
  background-color: #f5f5f520;
  border-bottom: 2px solid #333366;
}

.sec3 .formato #subject {
  width: 70%;
  margin-top: 2%;
  background-color: #f5f5f520;
  border: 2px solid #333366;
  border-radius: 5px;
  font-family: sans-serif;
}

.sec3 .formato #cbox-label {
  font-family: sans-serif;
  font-size: 0.8vw;
}

.sec3 .formato #cbox-label a {
  color: black;
}

.sec3 .formato input[type="submit"] {
  margin-top: 2%;
  font-family: "IBM Plex Mono", monospace;
  color: #ff3300;
  font-weight: 600;
  background-color: #f5f5f520;
  border: none;
  border-bottom: 1px solid #333366;
  font-size: 1vw;
  cursor: pointer;
}

.sec3 .formato input[type="submit"]:hover {
  background-color: #33336620;
}

.sec3 .sec2 {
  position: absolute;
  bottom: 1%;
  grid-column: 2/3;
  grid-row: 1/2;
  width: 100%;
  height: 30%;
}

.sec3 .sec4 {
  grid-column: 2/3;
  grid-row: 2/3;
  margin-top: 10%;
  width: 100%;
  height: 30%;
}

.sec2 h3 {
  width: 40%;
  height: fit-content;
  display: block;
  position: relative;
  top: 0;
  left: 0;
  margin: 3% 0;
}

.sec2 span {
  margin: 2% 0;
}

.sec2 span {
  color: #333366;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.1vw;
  font-weight: 700;
}

.sec4 h3 {
  height: 60%;
  /*width: 40%;*/
  display: block;
  position: relative;
  left: 0;
  top: 0;
}

.sec4 span {
  color: #333366;
  padding: 0 2%;
}

.sec4 span a {
  text-decoration: none;
  color: #333366;
  width: 10%;
  text-decoration: none;
  color: #333366;
  font-size: 2.5vw;
  left: 0;
  margin-top: 5%;
  margin-left: 0;
}

.sec4 span a:hover {
  color: #ff3300;
}

/*Media queries para HEADER*/
@media screen and (max-width: 900px) {
  .header img {
    display: none;
  }

  .header .menu .material-icons {
    font-size: 50pt;
  }

  .msg {
    font-size: 5vw;
    right: 8%;
  }
}

#gracias {
	display: block;
  width: 100%;
  height: 15vh;
  background-color: #333366;
  z-index: 180;
  color: #f5f5f5;
  padding-top: 1%;
  text-align: center;
}

#gracias .titulo {
  font-family: "IBM Plex Mono", monospace;
  font-size: 2vw;
}

#gracias .texto {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.3vw;
}


/*Media queries para contact form*/

@media screen and (max-width: 900px) {
  .sec3 .material-icons {
    width: 15%;
    height: 5%;
    font-size: 6vw;
    top: 2%;
  }

  .sec3 #hola {
    height: 10%;
    font-size: 8.5vw;
    font-weight: 500;
  }

  .sec3 h3 {
    height: 5%;
    font-size: 5vw;
    top: 9%;
  }

  .sec3 .formato {
    grid-column: 1/3;
    grid-row: 1/2;
    width: 85%;
    top: 28%;
  }

  .sec3 .formato #cbox-label {
    font-size: 2.2vw;
  }

  .sec3 .formato input[type="submit"] {
    font-size: 3vw;
  }

  .sec3 .sec2 {
    grid-column: 1/2;
    grid-row: 2/3;
    padding-left: 12%;
  }

  .sec3 .sec2 h3 {
    font-size: 5vw;
    font-weight: 500;
    height: 30%;
  }

  .sec3 .sec2 span {
    font-size: 3vw;
    font-weight: 600;
  }

  .sec3 .sec4 {
    position: relative;
    height: 100%;
  }
  .sec3 .sec4 h3 {
    left: 0;
    top: 69%;
  }

  .sec3 .sec4 span {
    display: inline-block;
    position: relative;
    top: 80%;
  }

  .sec4 .fab.fa-linkedin,
  .fab.fa-instagram {
    font-size: 6vw;
  }
}
