

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --accent: #34ccff;
  --dark: #183650;
  --dark: rgba(24, 54, 80, 0.84);
}

* {
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: auto;
}



p,
a,
button {
  font-family: "Montserrat", sans-serif;
  color: black;
  text-decoration: none;
}

a,
button,
.logo-container {
  cursor: pointer;
}

/***********HEADER*****************/
.logo-container {
  display: flex;
  flex-direction: column;
  padding-top: 25px;
  align-items: center;
}

.logo-upper,
.logo-bottom {
  width: auto;
  font-size: 2.8125rem;
  font-weight: 700;
  color: white;
}

.logo-bottom {
  font-size: 1.5rem;
  letter-spacing: 15px;
}


main {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(30px, 1fr) repeat(6, minmax(50px, 300px)) minmax(
      30px,
      1fr
    );
  grid-row: auto;
}

header {
  grid-column: 1 / -1;

  background: linear-gradient(rgba(0, 0, 0, 0.31), rgba(0, 0, 0, 0.31)),
    url(../imagenes/containers.jpg);
  background-position: center;
  background-repeat: none;
  background-size: cover;
  height: 700px;
  height: auto;
  width: 100%;

  background-attachment: fixed;
}

nav {
  grid-column: 2 / span 6;
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1.5px solid white;
  padding-left: 15px;
  padding-right: 15px;
}

.links {
  margin-left: auto;
  margin-top: 20px;
}

.links a {
  color: white;
  font-size: 1.25rem;
  font-weight: 500;
  margin-right: 20px;
}



a:hover{
    color: var(--accent);
}

.contact-item a:hover{
    color: var(--accent);
}

.links .right-item {
  margin-right: 0px;
}

.links #current {
  color: var(--accent);
  padding-bottom: 5px;
  border-bottom: 1.5px solid var(--accent);
}

.slogan-container {
  grid-column: 2/-2;
  display: flex;
  height: 550px;
  align-items: center;
  flex-direction: row;
  justify-content: flex-end;
  flex-wrap: wrap;
}



.slogan {
  color: white;
  font-size: 4.5rem;
  width: 60%;
}

.slogan__text2, .slogan__text1{
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.slogan__text2 {
  color: var(--accent);
}

.contact-bar {
  display: grid;
  grid-template-columns: minmax(30px, 1fr) repeat(6, minmax(50px, 300px)) minmax(
      30px,
      1fr
    );
  height: 50px;
  grid-column: 1/-1;
  background-color: var(--dark);
  color: white;
}

.contact-bar-container {
  height: 100%;
  grid-column: 2 / span 6;
  display: flex;
  justify-content: flex-end;
  padding-right: 15px;
}


.contact-item {
  width: auto;
  display: flex;
  align-items: center;
  margin-left: 40px;
}

.contact-item a,
p {
  color: white;
  height: auto;
}

.contact-item img {
  margin: 0;
  height: 18px;
  margin-right: 7px;
}

.line {
  grid-column: 1/-1;
  height: 25px;
  background-color: var(--accent);
}

/*BODY*/
.services {
  grid-column: 2 / span 6;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 30px;
}

.services__title {
  width: 100%;
  margin-right: 15px;
  margin-top: 80px;
  margin-bottom: 80px;
  font-size: 3rem;
  font-weight: 700;
}

.services__title span {
  color: black;
}

.services__title .accent {
  color: var(--accent);
}

.services__title:nth-child(1) {
  color: var(--accent);
}

.service {
  display: flex;
  flex-direction: row;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 100px;
  height: auto;
}

.service img {
    margin-top: 5px;
  height: 85px;
  width: 85px;
}

.service__info {
  color: black;
  margin-left: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 325px;
  margin-right: 5px;
}

.service__top {
  font-weight: 700;
  color: black;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.service__bottom {
  color: black;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 400;
}

.nested {
  display: grid;
  grid-template-columns: minmax(30px, 1fr) repeat(6, minmax(50px, 300px)) minmax(
      30px,
      1fr
    );
  grid-template-rows: repeat(2, minmax(30px, auto)) auto;
}

/*FOOTER*/
footer {
  display: flex;
  background-color: var(--dark);
  grid-column: 1/-1;
  height: 45px;
  align-items: center;
  justify-content: center;
}

footer p {
  text-align: center;
}

@media only screen and (max-width: 875px) {
  .slogan-container {
    height: 500px;
  }

  nav {
    display: flex;
    flex-direction: column;
  }

  nav .links {
    margin-left: auto;
    margin-right: auto;
  }
}

@media only screen and (max-width: 780px) {
  .slogan-container {
    height: 470px;
  }

  .slogan {
    font-size: 4rem;
    width: 70%;
  }
}

@media only screen and (max-width: 582px) {
  .contact-bar {
    padding-top: 12px;
    height: auto;

    padding-bottom: 10px;
  }
  .contact-bar-container {
    flex-direction: column;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .contact-item {
    justify-content: flex-end;
    margin-bottom: 5px;
  }

  .slogan-container {
    height: 430px;
  }

  .slogan {
    font-size: 4rem;
    width: 80%;
  }
}

@media only screen and (max-width: 531px) {
  .contact-bar {
    padding-top: 12px;
    height: auto;

    padding-bottom: 10px;
  }
  .contact-bar-container {
    flex-direction: column;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .contact-item {
    justify-content: flex-end;
    margin-bottom: 5px;
  }

  .links a {
    font-size: 1.2rem;
    margin-right: 15px;
  }

  .slogan-container {
    height: 430px;
  }

  .slogan {
    font-size: 3.8rem;
    width: 90%;
  }

  .services__title {
    font-size: 2.8rem;
    margin-top: 50px;
    margin-bottom: 45px;
  }
}

@media only screen and (max-width: 498px) {
  

  .links {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .links a {
    font-size: 1rem;
  }

  .slogan-container {
    height: 430px;
  }

  .slogan {
    font-size: 3.7rem;
    width: 90%;
  }

  .services__title {
    font-size: 2.8rem;
    margin-top: 50px;
    margin-bottom: 45px;
  }
}

@media only screen and (max-width: 470px) {

    .slogan-container{
        grid-column: 1/-2;
    }

    .slogan{
        width: 85%;
        font-size: 3.5rem;
    }

    .links a {
        font-size: 1rem;
    }

    .service__info{
        width: 100%;
    }
}

@media only screen and (max-width: 425px){

    .contact-item{
        margin-left: 0;
    }

    .links .right-item{
        margin: 0;
        margin-top: 10px;
    }

    .service__top{
        word-wrap: break-word;
        width: 100%;
    }

    .service__bottom{
        width: 100%;
    }
}