/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&family=Poppins:wght@400;500&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --title-color: hsl(0, 0%, 95%);
  --text-color: hsl(0, 0%, 70%);
  --text-color-light: hsl(0, 0%, 60%);
  --body-color: hsl(0, 0%, 0%);
  --container-color: hsl(0, 0%, 8%);

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --second-font: 'Montserrat', sans-serif;
  --biggest-font-size: 2.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 1152px) {
  :root {
    --biggest-font-size: 5.5rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html{
  scroll-behavior: smooth;
}

body,
button,
input{
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
}

body{
  background-color: var(--body-color);
}

button,
input{
  outline: none;
  border: none;
}

h1,h2,h3,h4{
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
}

ul{
  list-style: none;
}

a{
  text-decoration: none;
}

img{
  display: block;
  max-width: 100%;
  height: auto;
}

/*================== REUSABLE CSS CLASSES ================*/
.container{
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid{
  display: grid;
  gap: 1.5rem;
}

.section{
  padding-block: 2rem 1rem;
}

.section__title{
  text-align: center;
  font-size: var(--h1-font-size);
  margin-bottom: 1.5rem;
}

.main{
  overflow: hidden;
}

.header {
  position: fixed;
  width: 100%;
  background-color: transparent;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: rgba(0,0,0,.4);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
}

.nav__logo-img{
  width: 170px;
}

.nav__toggle,
.nav__close {
  display: flex;
  font-size: 1.25rem;
  color: var(--title-color);
}

/* Navigation for mobile devices */

@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: hsla(0, 0%, 0%, .3);
    width: 100%;
    padding-block: 4rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px); /* For safari */
    transition: top .4s;
  }
}

.nav__list {
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link {
  position: relative;
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-medium);
}

.nav__link::after {
  content: '';
  width: 0;
  height: 2px;
  background-color: var(--title-color);
  position: absolute;
  left: 0;
  bottom: -.5rem;
  transition: width .3s;
}

.nav__link:hover::after {
  width: 70%;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.nav__logo-img{
  width: 110px;
}

/* show menu */
  .show-menu {
    top: 0;
  }

/*== Add blur to header ==*/

.blur-header::after{
  content: '';
  position: absolute;
  width: 1000%;
  height: 100%;
  background-color: hsla(0, 0%, 0%, .3);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); 
  top: 0;
  left: 0;
  z-index: -1;
}

/* Active link*/
.active-link::after {
  width: 70%;
}

/*========== HOME ==========*/

.home {
  position: relative;
}

.home__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 750px;
  object-fit: cover;
  object-position: center;
}

.home2 {
  position: relative;
  height: 100vh;
  padding-top: 100px;
}

.home2__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height:100vh;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.home2__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
  z-index: 10;
}

.home__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 750px;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
  z-index: 0;
}

.home__container {
  position: relative;
  padding-top: 1rem;
  row-gap: 3rem;
}

.home__data {
  text-align: center;
}

.home__subtitle {
  font-size: var(--h3-font-size) -.2rem;
  margin-bottom: .5rem;
}

.home__title {
  font-size: 4.5rem;
  margin-bottom: 1rem;
}

.home__description {
  margin-bottom: 2rem;
  color: var(--title-color);
}

.home__cards {
  grid-template-columns: 240px;
  justify-content: center;
}

.home__card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.home__card-img {
  transition: transform .4s;
}

.home__card-shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
}

.home__card-title {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: var(--h3-font-size);
  z-index: 1;
}

.home__card:hover .home__card-img {
  transform: scale(1.2);
}

/*========== BUTTON ==========*/

.button {
  background-color: hsla(0, 0%, 100%, .2);
  padding: 1.25rem 1.5rem;
  color: var(--title-color);
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); /* For safari */
}

.button i {
  font-size: 1.25rem;
  transition: transform .4s;
}
.brands__shadow
.button:hover i {
  transform: translateX(.25rem);
}

/*========== ABOUT ==========*/

.about__container {
  row-gap: 3rem;
}

.about__data {
  text-align: center;
}

.about__description {
  margin-bottom: 2rem;
}

.about__image {
  position: relative;
  justify-self: center;
  overflow: hidden;
}

.about__img {
  width: 300px;
  transition: transform .4s;
}

.about__shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
}

.about__image:hover .about__img {
  transform: scale(1.2);
}

/*========== BRANDS ==========*/


/*============ services ============*/



/*============ EXPLORE ============*/

.explore {
  position: relative;
}

.explore__image {
  position: absolute;
  overflow: hidden;
}

.explore__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

.explore__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
              hsl(0, 0%, 0%) 5%,
              hsla(0, 0%, 0%, 0) 40%,
              hsla(0, 0%, 0%, 0) 60%,
              hsl(0, 0%, 0%) 92%);
}

.explore__conent {
  position: relative;
  padding-top: 16rem;
  text-align: center;
  row-gap: 2.5rem;
}

.explore__user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: .5rem;
}

.explore__perfil {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.explore__name {
  font-size: var(--small-font-size);
  color: var(--title-color);
}

/*============ JOIN ==============*/

.join__container {
  row-gap: 3rem;
  padding-bottom: 2.5rem;
}

.join__data {
  text-align: center;
}

.join__description {
  margin-bottom: 2rem;
}

.join__form {
  display: grid;
  row-gap: 1rem;
}

.join__input {
  padding: 1.25rem 1rem;
  background-color: var(--container-color);
}

.join__button {
  cursor: pointer;
}

.join__image {
  position: relative;
  justify-self: center;
  overflow: hidden;
}

.join__img {
  width: 300px;
  transition: transform .4s;
}

.join__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
              hsla(0, 0%, 0%, 0) 50%,
              hsl(0, 0%, 0%) 125%);
}

.join__image:hover .join__img {
  transform: scale(1.2);
}


/*============ contact page =============*/

.contact-bg {
  height: 55vh;
  background: linear-gradient(180deg,
              hsl(0, 0%, 0%) 5%,
              hsla(0, 0%, 0%, 0) 40%,
              hsla(0, 0%, 0%, 0) 60%,
              hsl(0, 0%, 0%) 92%) , url(contact.jpg);
  background-position: 50% 100%;
  background-repeat: no-repeat;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-bg h3 {
  font-size: 1.3rem;
  font-weight: 400;
}

.contact-bg h2 {
  font-size: 3rem;
  text-transform: uppercase;
  padding: 0.4rem 0;
  letter-spacing: 4px;
}

.line div {
  margin: 0 0.2rem;
}

.line div:nth-child(1),
.line div:nth-child(3) {
  height: 3px;
  width: 70px;
  background: #dfdfdf;
  border-radius: 5px;
}

.line {
  display: flex;
  align-items: center;
}

.line div:nth-child(2) {
  width: 10px;
  height: 10px;
  background: #dfdfdf;
  border-radius: 50%;
}

.text {
  font-weight: 300;
  opacity: 0.9;
}

.contact-bg .text {
  margin: 1.6rem 0;
}

.contact-body {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-info {
  margin: 2rem 0;
  text-align: center;
  padding: 1rem 0;
}

.contact-info span {
  display: block;
}

.contact-info a {
  text-decoration: none;
  color: #d6d6d6;
}

.contact-info div {
  margin: 0.8rem 0;
  padding: 1rem;
}

.contact-info span .fa-solid {
  font-size: 2rem;
  padding-bottom: 0.9rem;
  color: #d6d6d6;
}

.contact-info div span:nth-child(2) {
  font-weight: 500;
  font-size: 1.1rem;
}

.contact-info .text {
  padding-top: 0.4rem;
}

.contact-footer {
  padding: 2rem 0;
  background: #000000;
}

.contact-footer h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
}

.social-links a {
  text-decoration: none;
  width: 40px;
  height: 40px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.4rem;
  transition: all 0.4s ease;
}

.social-links a:hover {
  color: #8a8a8a;
  border-color: #8a8a8a;
}


@media screen and (min-width: 768px) {
  .contact-bg .text {
    width: 70%;
    margin-left: auto;margin-right: auto;
  }

  .contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 992px) {
  .contact-bg .text {
    width: 50%;
  }

  .contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

@media screen and (min-width: 1200px) {
  .contact-info {
    grid-template-columns: repeat(4, 1fr);
  }
}


/*============ SCROLL BAR =============*/

::-webkit-scrollbar {
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(0, 0%, 10%);
}

::-webkit-scrollbar-thumb {
  width: .5rem;
  background-color: hsl(0, 0%, 20%);
}

::-webkit-scrollbar-thumb:hover {
  width: .5rem;
  background-color: hsl(0, 0%, 30%);
}

/*============ SCROLL UP ============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: hsla(0, 0%, 100%, .1);
  padding: 6px;
  display: inline-flex;
  color: var(--title-color);
  font-size: 1.25rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); /*for safari */
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover {
  transform: translateY(-.25rem);
}

/* show scroll up */
.show-scroll {
  bottom: 3rem;
}

/*============== BREAKPOINTS ==============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .footer__data {
    grid-template-columns: max-content;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .home__container,
  .about__container,
  .explore__conent,
  .join__container {
    grid-template-columns: 380px;
    justify-content: center;
  }

  .footer__data {
    grid-template-columns: repeat(3, max-content);
  }
}

@media screen and (min-width: 768px) {
  .home__cards {
    grid-template-columns: repeat(2, 240px);
  }

  .about__container,
  .join__container {
    grid-template-columns: repeat(2, 350px);
    align-items: center;
  }

  .about__data,
  .about__data .section__title,
  .join__data,
  .join__data .section__title {
    text-align: initial;
  }  

  .popular__container {
    grid-template-columns: repeat(2,240px);
    justify-content: center;
  }

  .explore__img {
    width: 100vw;
  }

  .brands__img {
    width: 100vw;
  }

  .join__image {
    order: -1;
  }

  .footer__content {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }

  .footer__group {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__copy {
    order: -1;
  }
}

/* For large devices */
@media screen and (min-width: 1023px) {
  .nav__close,
  .nav__toggle {
    display: none;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }

  .popular__container {
    grid-template-columns: repeat(3, 240px);
  }

  .footer__data {
    grid-template-columns: repeat(4, max-content);
    column-gap: 6rem;
  }
}

@media screen and (min-width: 1152px){
  .container{
    margin-inline: auto;
  }

  .home {
    padding-block: 7rem 2rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .blur-header::after{
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px); /*for safari*/
  }

  .home__container {
    grid-template-columns: initial;
    justify-content: initial;
    margin-top: 2rem;
    row-gap: 4rem;
    z-index: 11;
  }

  .home__shadow {
    height: 750px;
  }

  .home__data {
    text-align: initial;
    width: 480px;
  }

  .home__subtitle {
    font-size: var(--h2-font-size);
  }

  .home__description {
    margin-bottom: 2.5rem;
  }

  .home__cards {
    grid-template-columns: repeat(4, 260px);
    margin-top: 2rem;
  }

  .home__card-title {
    left: 1.5rem;
    bottom: 1.5rem;
  }

  .button {
    column-gap: 1.5rem;
  }

  .about__container {
    grid-template-columns: 480px 460px;
    column-gap: 8.5rem;
    padding-block: 1rem;
  }

  .about__description {
    margin-bottom: 3rem;
  }

  .about__img {
    width: 460px;
  }

  .brands__img {
    height: 600px;
  }

  .brands__conent {
    padding-top: 28rem;
    grid-template-columns: 670px 1fr;
  }

  .popular__container {
    grid-template-columns: repeat(3, 300px);
    column-gap: 3rem;
    padding-top: 4rem;
  }

  .popular__title {
    font-size: var(--h2-font-size);
  }

  .popular__location {
    font-size: var(--normal-font-size);
  }

  .explore__img,
  .brands__img {
    height: 600px;
  }

  .explore__conent,
  .brands__conent {
    padding-top: 25rem;
    grid-template-columns: 670px 1fr;
  }

  .explore__data,
  .explore__data .section__title {
    text-align: initial;
  }

  .explore__user {
    justify-content: flex-end;
    align-items: flex-end;
    margin-bottom: 1.25rem;
  }

  .join__container {
    grid-template-columns: 460px 340px;
    column-gap: 8.5rem;
    padding-block: 1rem 5rem;
  }

  .join__img {
    width: 460px;
  }

  .join__description {
    margin-bottom: 3rem;
  }

  .footer {
    padding-block: 5rem 3rem;
  }

  .footer__title {
    margin-bottom: 1.5rem;
  }

  .footer__group {
    margin-top: 2rem;
  }

  .footer__social {
    column-gap: 2rem;
  }

  .footer__social-link {
    font-size: 1.5rem;
  }

  .scrollup {
    right: 3rem;
  }
}


/*=============== ABOUT PAGE ==============*/

/* MISSON */

.misson {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  background: #000000;
  padding: 1rem 0;
}

.misson-content {
  width: 1100px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.misson-box {
  position: relative;
  border-radius: 15px;
  width: 320px;
  background-color: var(--container-color);
  padding-top: 90px;
  padding-bottom: 40px;
  padding-right: 40px;
  padding-left: 40px;
  box-shadow: 0 15px 45px rgba(0,0,0,.1);
}

.misson-box:before{
  content: '';
  border-radius: 15px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #282A3A;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s ease-in-out;
}

.misson-box:hover:before{
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 0.5s;
}

.misson-box h2 {
  position: absolute;
  left: 40px;
  top: 40px;
  color: #ececec;
  opacity: .1;
  font-size: 4rem;
  font-weight: 1000;
  z-index: 1;
  transition: 0,5s;
  transition: transform 0.5s ease-in-out;
}

.misson-box:hover h2 {
  opacity: 1;
  color: white;
  transform: translateY(-40px);
  transition: transform 0.5s;
}

.misson-box h3 {
  position: relative;
  font-size: 1.8rem;
  padding-bottom: 10px;
  z-index: 2;
  color: #ffffff;
  transition: transform 0.5s;
  font-weight: 800;
}

.misson-box:hover h3 ,
.misson-box:hover p {
  color: white;
}

.misson-box p {
  position: relative;
  z-index: 2;
  color: #ffffff;
  transition: 0.5s;
  font-weight: 400;
  transition: transform 0.5s;
}


@media screen and (max-width: 1250px){

  .misson {
      background: #000000;
  }

  .misson-content {
      width: 100%;
      height: auto;
      padding: 25px 25px;
      text-align: center;
      justify-content: center;
      flex-wrap: wrap;
  }

  .misson-box {
      text-align: center;
      margin: 20px;
  }
}

/*======== HERO ==========*/

.hero {
  background: url(hero-bg.jpg);
  background-position: center;
  background-size: cover;
}

.hero__container {
  row-gap: 3rem;
}

.hero__data {
  text-align: center;
}

.hero__data h3 {
  margin-bottom: .5rem;
}

.hero__description {
  margin-bottom: 1rem;
}

.des-h {
  margin-bottom: 1rem;
}

.des-h a {
  color:#d6d6d6;
}

.hero__image {
  position: relative;
  justify-self: center;
  overflow: hidden;
}

.hero__img {
  width: 300px;
  transition: transform .4s;
}

@media screen and (min-width: 576px) {
  .hero__container {
    grid-template-columns: 380px;
    justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  .hero__container {
    grid-template-columns: repeat(2, 350px);
    align-items: center;
  }

  .hero__data,
  .hero__data .section__title{
    text-align: initial;
  }  
}

@media screen and (min-width: 1152px){

  .hero__container {
    grid-template-columns: 480px 460px;
    column-gap: 8.5rem;
    padding-block: 1rem;
  }

  .hero__description {
    margin-bottom: 1.5rem;
  }

  .hero__img {
    width: 460px;
  }
}

/*======== Certificate_From_Universe ==========*/

.Certificate_From_Universe {
  position: relative;
  justify-content: center;
  padding: 2rem 0;
}

.universe__image {
  position:  relative;
  justify-self: center;
  overflow: hidden;
}

.universe__img {
  width: 100%;
  height: auto;
  object-position: center;
}

.f-title {
  align-items: center;
  text-align: center;
  
}

#flags {
  background-image: url(4flags.jpg);
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  margin: 1rem 0;
}