/* Generic */
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
}

/* Navigation */
nav {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-around;
  transition: 0.7s;
  padding: 16px 0;
  z-index: 10;
}

.nav__mobile {
  display: none;
}

nav.abajo {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  padding: 16px 0;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15));
}

nav .logo {
  position: relative;
  height: 50px;
  width: 138px;
  transition: all 1s ease;
}

nav .logo svg {
  width: 100%;
  height: auto;
}

nav .logo svg path {
  fill: #fff;
}

nav.abajo svg path {
  fill: #222;
}

nav ul.list {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

nav ul li a.link {
  display: inline-block;
  margin: 2px 15px;
  text-decoration: none;
  color: #fff;
  position: relative;

  font-weight: 600;
  letter-spacing: 2px;
}

nav.abajo ul li a.link {
  color: #222;
}

nav ul li a.link::after {
  content: '';
  width: 100%;
  height: 2px;
  background-color: #ffa502;
  border-radius: 4px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

nav ul li a.link:hover::after {
  transform: scaleX(1);
}

a.button {
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  margin-left: 16px;

  font-weight: bold;

  background-color: #fff;
  color: #222;

  transition: all 1s ease;
}

a.button:hover {
  background-color: #ffa502;
  color: #1c1b1f;
}

nav.abajo a.button {
  background-color: #222;
  color: #fff;
}

/* Sections header */
header {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  width: 100%;
  height: 500px;

  background-image: url(../images/imgfondo.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #ffa502;
}

header .title {
  padding: 0 16px;

  font-family: 'Ubuntu', sans-serif;
  font-size: 2.5em;

  color: #fff;
}

header .title b {
  font-weight: bold;

  color: #ffa502;
}

/* sections */
.section {
  padding: 88px 0;
}

.section .container {
  width: 80%;
  margin: 0 auto;
}

.section .container h1.title {
  padding: 0;
  margin-bottom: 24px;
  text-align: left;

  font-family: 'Ubuntu', sans-serif;
  font-weight: bold;
  font-size: 2em;

  color: #222;
}

.section .container p {
  text-align: left;

  font-family: 'Roboto', sans-serif;
  line-height: 22px;
  font-size: 1.1em;

  color: #222;
}

.section.services {
  background: #efefef;
}

.section.services .container .list {
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 32px;
}

.list ul {
  display: flex;
  flex-direction: column;
  padding: 50px;
  margin: 24px;
  list-style: none;
  border-radius: 8px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.5s;

  background-color: #ffdb99;
}

.list ul:hover {
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.35);

  background-color: #ffd78c;
}

.list ul h1 {
  width: 100%;
  margin: 0 0 32px 0;
  padding: 0 0 8px 0;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 1px solid #000;

  font-size: 1.5em;
  letter-spacing: 0.1em;
}

.list ul li {
  display: flex;
  align-items: center;
  flex-direction: row;

  list-style: none;
  margin-bottom: 1.5em;
  text-align: left;

  font-size: 1.2em;
}

.list ul li img {
  margin-right: 8px;
}

.list ul li:last-child {
  margin-bottom: 0;
}

.section.work .content {
  display: flex;
  flex-direction: row;
}

.box {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin: 24px;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}

.box img {
  margin: 0 24px 0 0;
}

.section.support {
  background: #ffa502;
  height: auto;
}

.section.support .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  width: 50%;
  margin: 0 auto;
}

.section.support .container .title {
  display: flex;
  align-items: center;
  flex-direction: row;
  text-align: center;
  margin-left: 24px;

  font-size: 1.6em;

  color: #000;
}

.content.support {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}

a.box-link {
  display: flex;
  align-items: center;
  flex-direction: row;
  margin: 24px;
  padding: 24px;
  border-radius: 4px;
  border: 2px solid #000;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.4s;
  min-width: 250px;

  font-size: 2em;

  color: #000;
}

a.box-link:hover {
  border: 2px solid #fff;

  color: #fff;
}

a.box-link img {
  height: 1.5em;
  margin-right: 16px;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;

  background: #222;
  color: white;
}

.footer span {
  font-size: 12px;
  color: #fff;
}

.footer b {
  color: #ffa502;
  font-size: 12px;
}

.footer span a{
  text-decoration: none;
  color: white;
}

/* Media */
@media (max-width: 1100px) {
  .list ul {
    width: 100%;
  }

  .section.work .content {
    flex-wrap: wrap;
  }

  .box {
    width: 100%;
  }

  .section.support .container {
    justify-content: center;
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 550px) {
  .nav__desktop {
    display: none;
  }

  .nav__mobile {
    display: flex;
  }
}
