@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

/* 
    Dev: Juls & Caffas / Xerif
    Start: September, 2022
    Updated: July, 2023
    Release: July, 2023
    Client: Dubloc  
*/

/* ----------------------------------------------------------------------------- */

/* COLOURS */
:root {
  /* PRIMARY */
  --one: #630fae;
  --two: #303030;
  --three: #705fff;
  --four: #380864;
  --five: #15d7c2;

  /* GENERIC */
  --black: #212121;
  --white: #ffffff;
  --grey: #7d7d7d;

  /* FONT SIZE */
  --text: 24px;
  --subtext: 20px;
}

/* TYPOS */

/* GLOBAL */
body {
  padding: 0;
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
}
a {
  text-decoration: none;
}
ul,
li {
  list-style: none;
  padding: 0;
}
hr {
  margin: 0;
}

/* BTNS */

/* BANNERS */
.main-banner {
  background: var(--one) url("../images/main-banner-dubloc.jpg") no-repeat
    center center;
  background-size: cover;
  height: 740px;
  position: relative;
  overflow: hidden;
}

.main-banner:after {
  content: "";
  background-color: #fff;
  display: block;
  width: 120%;
  height: 109px;
  left: 0;
  position: absolute;
  right: 0;
  bottom: -47px;
  transform: rotate(-1.5deg);
}
.main-banner .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100% - 65px);
}
.main-banner h2 {
  color: white;
  font-size: 90px;
  font-weight: 300;
  line-height: 80px;
}
.main-banner h2 b {
  font-weight: 700;
  display: block;
}
.main-banner p {
  color: white;
  font-weight: 300;
}
.main-banner a {
  color: white;
  background-color: var(--four);
  border-color: var(--four);
  font-size: 32px;
  font-weight: 400;
  width: fit-content;
}
.main-banner a:hover {
  background-color: var(--one) !important;
  border-color: var(--one) !important;
}
.subtext {
  font-size: var(--subtext);
}
/* HEADER */
.header {
  background-color: white;
  margin: 4rem auto;
}
.navbar-brand {
  background: url("../images/logo-main-dubloc.svg") no-repeat;
  width: 250px;
  height: 110px;
  display: flex;
}
.navbar-expand-lg .navbar-collapse {
  justify-content: flex-end;
}
.changeLang {
  text-align: center;
}
.nav-link {
  text-transform: capitalize;
}
/* BODY */
.carousel {
  margin-bottom: 2rem;
}
.carousel-item {
  height: 380px;
  background-color: aqua;
}

.company-image {
  background: url("../images/company.png") no-repeat center center;
  display: block;
  height: 547px;
}

.product-image {
  background: url("../images/product.png") no-repeat center center;
  display: block;
  height: 547px;
}

.subtitle {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
  color: var(--two);
}
.title {
  font-size: 80px;
  font-weight: 600;
  color: var(--two);
  margin-bottom: 3rem;
  line-height: 80px;
}
.text {
  font-size: var(--text);
  color: var(--two);
  line-height: 36px;
}

.whatwedo {
  background: #dedaff;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  margin: 5rem 0;
}

.whatwedo:after {
  content: "";
  background-color: #fff;
  display: block;
  width: 120%;
  height: 109px;
  left: 0;
  position: absolute;
  right: 0;
  bottom: -47px;
  transform: rotate(-1.5deg);
}
.whatwedo:before {
  content: "";
  background-color: #fff;
  display: block;
  width: 120%;
  height: 109px;
  left: 0;
  position: absolute;
  right: 0;
  top: -47px;
  transform: rotate(-1.5deg);
}
.whatwedo .subtitle,
.whatwedo .title,
.whatwedo h3 {
  color: var(--one);
}
/* FOOTER */
footer {
  background: #151d4c;
  color: white;
  padding: 3rem 0;
  margin-top: 2rem;
}
.breadcrumbs {
  background: #020317;
}
.badge-dev {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.badge-dev a {
  background: url("../images/badge-Xerif-Design.svg") no-repeat center center;
  height: 40px;
  width: 84px;
  display: block;
  margin-left: 1rem;
  transition: 0.5s;
}
.badge-dev a:hover {
  background: url("../images/badge-Xerif-Design-hover.svg") no-repeat center
    center;
}

.instagram {
  background: url("../images/icons/icon-instagram.svg") no-repeat center center;
  height: 45px;
  width: 45px;
  display: block;
}
.facebook {
  background: url("../images/icons/icon-facebook.svg") no-repeat center center;
  height: 45px;
  width: 45px;
  display: block;
}
footer .title {
  font-weight: 600;
  color: white;
}
footer .text {
  color: white;
  font-weight: 300;
}
form {
  display: flex;
  flex-direction: column;
}
input,
textarea {
  background: none;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: var(--text);
  color: white;
  border-radius: 0.5rem;
  border: 1px solid var(--five);
}
input::placeholder,
textarea::placeholder {
  opacity: 0.5;
}
button.btn-primary {
  background-color: var(--five);
  color: #151d4c;
  font-size: var(--text);
  border-color: var(--five);
  width: fit-content;
  align-self: flex-end;
}
footer h2 {
  color: white;
  font-weight: 600;
  font-size: var(--text);
}
a.text {
  color: var(--five);
}
.footer-brand,
.networks {
  padding-top: 4rem;
  padding-bottom: 4rem;
  align-items: center;
}
.networks {
  display: flex;
  justify-content: end;
  flex-direction: row;
}
.footer-brand a {
  background: url("../images/logo-secondary-dubloc.svg") no-repeat center center;
  height: 81px;
  width: 180px;
  display: block;
}
.breadcrumbs p {
  color: white;
  padding: 3rem 0;
  margin: 0;
  align-items: center;
  font-weight: 300;
}
.breadcrumbs hr {
  border-color: var(--five);
}
#btn-back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: none;
  border: none;
  background: none;
  z-index: 100;
}

.arrow-up {
  background: url("../images/icons/icon-arrow-up.svg") no-repeat;
  width: 24px;
  height: 24px;
  display: block;
}
#contact-form .form-control {
  background: none;
  border-color: var(--five);
  color: var(--five);
}
#contact-form .form-control:focus {
  color: var(--five);
  background: none !important;
  box-shadow: 0 0 0 0.25rem rgba(21, 215, 194, 0.25) !important;
}
.form-floating > .form-control-plaintext ~ label::after,
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.form-floating > .form-select ~ label::after {
  background: none;
}
.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  color: #ffffffa6;
}
.form-floating textarea {
  height: auto !important;
}
#checkEnviar {
  background: none;
  border-color: var(--five);
  color: var(--five);
}
#checkEnviar:checked {
  background: var(--five);
  color: white;
}

/* MOBILE HACKS */
@media only screen and (max-width: 600px) {
  .header {
    margin: 0 auto;
  }
  .navbar-brand {
    background: url(../images/logo-main-dubloc.svg) no-repeat center;
    width: 180px;
    display: flex;
  }
  .title {
    font-size: 50px;
    margin-bottom: 1rem;
  }
  .subtitle {
    font-size: 16px;
  }
  .footer-brand,
  .networks {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .footer-brand a {
    width: auto;
  }
  .breadcrumbs p {
    padding: 1rem 0;
  }
  .badge-dev,
  .networks {
    justify-content: center;
    margin-bottom: 1rem;
  }
  .copyright {
    display: flex;
    justify-content: center;
  }
  .main-banner h2 {
    font-size: 70px;
    line-height: 70px;
  }
  #contact-form {
    margin-top: 1rem;
  }
  input,
  textarea {
    padding: 1rem;
  }
}
@media (min-width: 992px) {
  .subtext-banner {
    width: 60% !important;
  }
}

/* .form-floating label {
  opacity: 0.75;
  color: #212529;
}
 */
