/* FONTS */
@font-face {
  font-family: "Proxima Nova";
  src: url("fonts/Proxima-Nova.eot") format("embedded-opentype"),
       url("fonts/Proxima-Nova.otf") format("opentype"),
       url("fonts/Proxima-Nova.ttf") format("truetype"),
       url("fonts/Proxima-Nova.woff") format("woff"),
       url("fonts/Proxima-Nova.woff2") format("woff2");
}

html {
  padding: 0;
  margin: 0;
}

body {
  background: #F5F4F4;
  padding: 0;
  margin: 0;
}

p {
    font-family: "Proxima Nova", Sans-Serif;
}

.linkedin_icon {
    width: 50px;
}

#portfolio__more {
  text-align: center;
  position: relative;
}

#portfolio__more--btn {
    font-family: "Proxima Nova", Sans-Serif;
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    color: #1D385A;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

#portfolio__more--btn:hover {
  transform: translateY(-10px);
}

#portfolio__more--btn::before {
  content: "\f078";
  font-family: "fontawesome";
  position: absolute;
  top: 0px;
  left: calc(50% - 10px);
  margin: auto;
  opacity: 0;
  width: fit-content;
  transition: all .1s ease-in-out;
}

#portfolio__more--btn:hover::before {
  content: "\f078";
  font-family: "fontawesome";
  position: absolute;
  top: 50px;
  left: calc(50% - 10px);
  margin: auto;
  width: fit-content;
  opacity: 1;
}

#brands__more {
  margin-top: 50px;
}

.link__blocks {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: flex-end;
  gap: 30px;
  position: relative;
  padding: 0;
}

.link__block {
  background: #001F4550;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 50vh;
  background-position: center;
  background-size: cover;
  cursor: pointer;
}

.link__block:hover > div {
  width: 100%;
  background: #fff;
}


.link__block:hover > div a {
  color: #001F45;
}

.link__block > div {
  background: #001F45;
  padding: 20px 0 20px 20px;
  width: calc(50% - 20px);
  transition: all .2s ease-in-out;
  cursor: pointer;
}

.link__block > div:hover {
  width: 100%;
  background: #FFF;
}

.link__block > div:hover a {
  color: #001F45;
}

.link__block a {
  display: inline;
  font-family: "Proxima Nova", Sans-Serif;
  font-weight: 700;
  font-size: 20px;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
}

@media only screen and (min-width: 1025px) {
  .container {
    max-width: 1600px;
    margin: auto;
  }

  p {
    color: #1D385A;
    font-family: "Proxima Nova", Sans-Serif;
    font-size: 27px;
    line-height: 27px;
    letter-spacing: 0.01em;
    font-weight: 600;
  }

  .container {
    padding: 95px 135px;
  }

  .main-container {
    background-image: url("img/GB_BG.png");
    background-size: cover;
    background-position: center center;
  }

  #brands, #brands__more {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 150px;
  }

  #brands a, #brands__more a {
    width: 20%;
    transition: all .2s ease-in-out;
  }

  #brands a:hover, #brands__more a:hover {
    transform: translateY(-10px);
  }

  footer {
    background: #1D385A;
    padding: 20px 50px;
  }

  footer p {
    color: #FFFFFF;
    font-family: "Proxima Nova", Sans-Serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0.01em;
  }

  footer a {
    color: #FFFFFF;
    text-decoration: none;
  }

  footer #footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  footer #footer-copy {
    display: inline-flex;
    align-items: center;
    width: 100%;
    gap: 20px;
  }

  footer i {
    color: #1D385A;
    background: white;
    font-size: 40px;
    padding: 5px;
    border-radius: 3px;
  }

  footer a.icon-link {
    margin-left: auto;
    transition: all .2s ease-in-out;
  }

  footer a.icon-link:hover {
    transform: rotate(1deg) translateY(-2px) translateX(-2px);
  }
}

/* Responsive Styling */
/* Tablet */
@media only screen and (min-width: 541px) and (max-width: 1024px) {
  p {
    color: #1D385A;
    font-family: "Proxima Nova", Sans-Serif;
    font-size: 27px;
    line-height: 27px;
    letter-spacing: 0.01em;
    font-weight: 600;
  }

  #logo {
    text-align: center;
    margin-bottom: 40px;
  }

  .container {
    padding: 50px;
  }

  .container p {
    text-align: center;
    font-size: 18px;
  }

  #brands {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
  }

  #brands a {
    width: 20%;
  }

  #brands a {
    transition: all .2s ease-in-out;
  }

  #brands a:hover {
    transform: translateY(-10px);
  }

  .link__blocks {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: flex-end;
    gap: 30px;
    position: relative;
    padding: 0;
  }

  .link__block > div {
    background: #001F45;
    padding: 20px 0 20px 20px;
    width: calc(100%);
    transition: all .2s ease-in-out;
  }

  footer {
    background: #1D385A;
    padding: 30px 50px;
  }

  footer #footer-copy {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  footer p {
    color: #FFFFFF;
    font-family: "Proxima Nova", Sans-Serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0.01em;
  }

  footer a {
    color: #FFFFFF;
    text-decoration: none;
  }

  footer i {
    color: #1D385A;
    background: white;
    font-size: 40px;
    padding: 5px;
    border-radius: 3px;
  }

  footer a.icon-link {
    margin: auto;
  }
}

/* Mobile */
@media only screen and (max-width: 540px) {

  p {
    color: #1D385A;
    font-family: "Proxima Nova", Sans-Serif;
    font-size: 27px;
    line-height: 27px;
    letter-spacing: 0.01em;
    font-weight: 600;
  }

  #logo {
    text-align: center;
    margin-bottom: 40px;
  }

  .container {
    padding: 50px;
  }

  .container p {
    text-align: center;
    font-size: 18px;
  }

  #brands {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 50px;
  }

  #brands a {
    width: 70%;
  }

  #brands__more a {
    width: 70%;
    margin: auto;
  }

  #brands__more {
    flex-direction: column;
    gap: 50px;
  }

  .link__blocks {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: flex-end;
    gap: 30px;
    position: relative;
    padding: 0;
  }

  .link__block > div {
    background: #001F45;
    padding: 20px 0 20px 20px;
    width: calc(100%);
    transition: all .2s ease-in-out;
  }

  #portfolio__more--btn {
      font-family: "Proxima Nova", Sans-Serif;
      font-weight: 700;
      font-size: 22px;
      text-transform: uppercase;
      color: #1D385A;
      text-decoration: none;
      transition: all .2s ease-in-out;
  }

  #portfolio__more--btn:hover {
    transform: translateY(-10px);
  }

  #portfolio__more--btn::before {
    content: "\f078";
    font-family: "fontawesome";
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    opacity: 0;
    transition: all .1s ease-in-out;
  }

  #portfolio__more--btn:hover::before {
    content: "\f078";
    font-family: "fontawesome";
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    opacity: 1;
  }

  footer {
    background: #1D385A;
    padding: 30px 50px;
  }

  footer #footer-copy {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  footer p {
    color: #FFFFFF;
    font-family: "Proxima Nova", Sans-Serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0.01em;
  }

  footer a {
    color: #FFFFFF;
    text-decoration: none;
  }

  footer i {
    color: #1D385A;
    background: white;
    font-size: 40px;
    padding: 5px;
    border-radius: 3px;
  }

  footer a.icon-link {
    margin: auto;
  }
}
