@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:wght@500;600;700&display=swap');


/*  */

:root{
  --header-height:3rem;



  /* hsl color mode */
  --hue-color:190;
  --first-color:hsl(var(--hue-color),64%,22%);
  --first-color-second:hsl(var(--hue-color),64%,22%);
  --first-color-alt:hsl(var(--hue-color),64%,15%);
  --title-color:hsl(var(--hue-color),64%,18%);
  --text-color:hsl(var(--hue-color),24%,35%);
  --text-color-light:hsl(var(--hue-color),8%,60%);
  --input-color:hsl(var(--hue-color),24%,97%);
  --body-color:hsl(var(--hue-color),100%,99%);
  --white-color:#fff;
  --scroll-bar-color:hsl(var(--hue-color),12%,90%);
  --scroll-thumb-color:hsl(var(--hue-color),12%,75%);

  /* font */
  --body-font:'Open Sans', sans-serif;;
  --body-font:'Raleway', sans-serif;;
  --biggest-font-size:2.5rem;
  --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-medium:500;
  --font-semi-bold:600;

  /* margin bottom */
  --m-0-25:0.25rem;
  --m-0-50:0.50rem;
  --m-0-75:0.75rem;
  --m-1:1rem;
  --m-1-25:1.25rem;
  --m-1-5:1.5rem;
  --m-2:1.25rem;
  --m-2-25:2.5rem;

  /* z index */
  --z-tooltip:10;
  --z-fixed:100;

  /* hover overlay */
  --img-transition:.3s;
  --img-hidden:hidden;
  --img-scale:scale(1.1);
}


/*  */
*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html{
  scroll-behavior: smooth;
}

body{
  margin: var(--header-height) 0 0 0 ;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);

}
h1,h2,h3{
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
}
ul{
  list-style: none;
}
a{
  text-decoration: none;
}

img,video{
  max-width: 100%;
  height: auto;
}

button,input{
  border: none;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);

}
button{
  cursor: pointer;
}

input{
  outline: none;
}
.main{
  overflow-x: hidden;
}

.section{
  padding: 4.5rem 0 2.5rem;

}

.section_title{
  font-size: var(--h2-font-size);
  color: var(--title-color);
  text-align: center;
  text-transform: capitalize;
  margin-bottom: var(--m-2);
}

.container{
  max-width: 968px;
  margin-left: var(--m-1);
  margin-right: var(--m-1)

}

.grid{
  display: grid;
  gap:1.5rem;
}

.header{
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color:transparent;

}
.nav{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.nav_logo,.nav_toggle{
  color:var(--white-color);

}
.nav_logo{
  font-weight: var(--font-semi-bold);
}
.nav_toggle{
  font-size:1.2rem ;
  cursor: pointer;
}

.nav_menu{
  position: relative;
}

.nav_list{
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav_link{
  color: var(--text-color-light);
  font-weight:var(--font-semi-bold) ;
  text-transform: uppercase;
}

.nav_link:hover{
  color: var(--text-color);
}

.nav_close{
  position: absolute;
  top: .75rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

.active_link{
  position: relative;
  color: var(--title-color);
}
.active_link::before{
  content: '';
  position: absolute;
  background-color: var(--title-color);
  width: 100%;
  height: 2px;
  bottom: -.75rem;
  left: 0;
}
body.dark_theme{
    /* hsl color mode */

    --first-color-second:hsl(var(--hue-color),54%,12%);
    --title-color:hsl(var(--hue-color),24%,95%);
    --text-color:hsl(var(--hue-color),8%,75%);
    --input-color:hsl(var(--hue-color),29%,16%);
    --body-color:hsl(var(--hue-color),29%,12%);
    --scroll-bar-color:hsl(var(--hue-color),12%,48%);
    --scroll-thumb-color:hsl(var(--hue-color),12%,36%);
  

}
.nav_dark{
  display: flex;
  align-items: center;
  column-gap: 2rem;
  position: absolute;
  left: 3rem;
  bottom: 4rem;
}
.change_theme,
.change_theme_name{
  color: var(--text-color);
}
.change_theme{
  cursor: pointer;
  font-size: 1rem;
}
.change_theme_name{
  font-size: var(--small-font-size);
}

/*  */

.home_img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: 83%;
}
.home_container{
  position: relative;
  height:calc(100vh -  var(--header-height));
  align-content: center;
  row-gap: 3rem;
}

.home_data_subtitle,
.home_data_title,
.home_social_link,
.home_info{
  color: var(--white-color);
}
.home_data_subtitle{
 display: block;
 font-weight: var(--font-semi-bold);
 margin-bottom: var(--m-0-75);
}

.home_data_title{
  font-size: var(--biggest-font-size);
  font-weight: var(--font-medium);
  margin-bottom:var(--m-2-25);
}

.home_social{
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
}
.home_social_link{
  font-size: 1.2rem;
  width: max-content;
}

.home_info{
  background: var(--first-color);
  display: flex;
  padding: 1.5rem 1rem;
  align-items: center;
  column-gap: .5rem;
  position: absolute;
  right: 0;
  bottom: 1rem;
  width: 228px;
}

.home_info_title{
  display: block;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--m-0-75);
}
.home_info_button{
  font-size: var(--small-font-size);

}
.home_info_overlay{
  overflow:var(--img-hidden);
}
.home_info_img{
  width: 145px;
  transition: var(--img-transition);
}
.home_info_img:hover{
  transform: var(--img-scale);
}

.button{
  display: inline-block;
  background-color: var(--first-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  font-weight: var(--font-semi-bold);
  transition: .3s;
}
.button:hover{
  background-color:var(--first-color-alt) ;
}
.button_flex{
  display: flex;
  align-items: center;
  column-gap: .25rem;
}
.button_link{
  background: none;
  padding: 0;
}
.button_link:hover{
  background: none;
}
.scroll_header{
  background-color: var(--first-color-alt);
}
/*  */
.about_data{
  text-align: center;
}

.about_container{
  row-gap: 2.5rem;
}

.about_describtion{
margin-bottom: var(--m-2);
}

.about_img{
  display: flex;
  column-gap: 1rem;
  align-items: center;
  justify-content: center;
}

.about_img_overlay{
  overflow: var(--img-hidden);
}

.about_img_one{
  width: 130px;
}

.about_img_two{
  width: 180px;
}

.about_img_one,
.about_img_two{
  transition: var(--img-transition);
}

.about_img_one:hover,
.about_img_two:hover{
  transform: var(--img-scale);
}

/*  */

.descover_card{
position: relative;
width: 200px;
overflow: var(--img-hidden);
}

.descover_data{
  position: absolute;
  bottom: 1.5rem;
  left: 1rem;
}

.descover_title,
.descover_description{
  color: var(--white-color);
}

.descover_title{
  font-size: var(--h3-font-size);
  margin-bottom: var(--m-0-25);
}

.descover_description{
  display: block;
  font-size: var(--small-font-size);
}

.descover_img{
  transition: var(--img-transition);
}
.descover_img:hover{
  transform: var(--img-scale);
}

/*  */
.experience_container{
  row-gap: 2.5rem;
  justify-content: center;
  justify-items: center;
}

.experience_content{
  grid-template-columns: repeat(3,1fr);
  column-gap: 1rem;
  justify-items: center;
  padding: 0 2rem;
}

.experience_num{
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--m-0-50);
}

.experience_describtion{
  font-size: var(--small-font-size);
}
.experience_img{
  position: relative;
  padding-bottom: 2rem;
}

.experience_overlay:nth-child(1){
width: 263px;
margin-right: 2rem;

}

.experience_overlay:nth-child(2){
  width: 120px;
  position: absolute;
  top: 2rem;
  right: 0;
  
  }

  .experience_img_one,
  .experience_img_two{
transition: var(--img-transition);
  }

  .experience_img_one:hover,
  .experience_img_two:hover{
    transform: var(--img-scale);
  }

  .experience_overlay{
    overflow-x: var(--img-hidden);
  }

  /*  */

  .video_container{
    padding-bottom: 1rem;
  }

  .video_describtion{
    text-align: center;
    margin-bottom: var(--m-2-25);
  }

  .video_content{
    position: relative;
  }
  .video_button{
    position: absolute;
    right: 1rem;
    bottom: -1rem;
    padding: 1rem 1.5rem;
  }

  .video_button_icon{
    font-size: 1.2rem;
  }

/*  */

.place_card,.place_img{
  height: 230px;
}

.place_container{
  grid-template-columns: repeat(2,max-content);
  justify-content: center;
}
.place_card{
  position: relative;
  overflow: var(--img-hidden);
}


.place_content,
.place_title{
  color: var(--white-color);
}

.place_content{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: .75rem .75rem 1rem;
}
.place_rating{
  align-self: flex-end;
  display: flex;
  align-items: center;

}
.place_rating_icon{
  font-size: .75rem;
  margin-right: var(--m-0-25);
}

.place_rating_num{
  font-size: var(--small-font-size);
}

.place_subtitle,
.place_price{
  display: block;
}
.place_title{
  font-size: var(--h3-font-size);
  padding-bottom: var(--m-0-25);
}

.place_subtitle{
  font-size: var(--smaller-font-size);
  margin-bottom: var(--m-1-25);
}
.place_button{
  position: absolute;
  right: 0;
  bottom: 0;
  padding: .75rem 1rem;
}

.place_img{
  transition: var(--img-transition);
}
.place_card:hover .place_img{
  transform: var(--img-scale);
}

/*  */

.subscribe_bg{
  background-color: var(--first-color-second);
  padding: 2.5rem 0;
}

.subscribe_title,
.subscribe_describtion{
  color: var(--white-color);
}

.subscribe_describtion{
  text-align: center;
  margin-bottom: var(--m-2-25);
}

.subscribe_form{
  background-color: var(--input-color);
  padding: .5rem;
  display: flex;
  justify-content: space-between;
}

.subscribe_input{
  width: 70%;
  padding-right: .5rem;
  background-color: var(--input-color);
  color: var(--text-color);
}

.subscribe_input::placeholder{
  color: var(--text-color);
}


/*  */

.sponsor_container{
grid-template-columns: repeat(auto-fit,minmax(110px,1fr));
  justify-content: center;
  row-gap: 3.5rem;
}

.sponsor_img{
  width: 90px;
  filter: invert(.7);
  transition: var(--img-transition);
}

.sponsor_content:hover .sponsor_img{
  filter: invert(.5);

}

/*  */

.footer_container{
  row-gap: 5rem;
}

.footer_content{
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  row-gap: 2rem;
}

.footer_title,
.footer_subtitle{
  font-size: var(--h3-font-size);
}

.footer_title{
  margin-bottom: var(--m-0-5);
}

.footer_describtion{
  margin-bottom: var(--m-2);
}

.footer_social{
  font-size: 1.25rem;
  color: var(--title-color);
  margin-right: var(--m-1-25);

}

.footer_subtitle{
  margin-bottom: var(--m-1);
}
.footer_item{
  margin-bottom: var(--m-0-75);
}

.footer_link{
  color:var(--text-color);
}

.footer_link:hover{
  color: var(--title-color);
}
.footer_right{
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  text-align: center;
}

.footer_terms_link,
.footer_copy{
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.footer_terms{
  display: flex;
  column-gap: 1.5rem;
  justify-content: center;
}
.footer_terms_link:hover{
  color: var(--text-color);
}

.scrollup{
  position: fixed;
  bottom: -20%;
  right: 1rem;
  background-color: var(--first-color);
  padding: .5rem;
  color: white;
  opacity: .9;
  display: flex;
  z-index: var(--z-tooltip);
  transition: .4s;
}

.scrollup:hover{
  background-color: var(--first-color-alt);
  opacity: 1;
}

.show_scroll{
  bottom: 5rem;
}


::-webkit-scrollbar{
  width: .60rem;
  background-color: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb{
  background-color: var(--scroll-thumb-color);
}

::-webkit-scrollbar-thumb:hover{
  background-color: var(--text-color-light);
}











@media screen and (max-width:767px){
  .nav_menu{
    position: fixed;
    background:var(--body-color) ;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    box-shadow: -1px 0 4px hsla(var(--hue-color), 64%, 15%, .15);
    padding: 3rem;
    transition: .4s;
  }

}

.swiper-container-3d .swiper-slide-shadow-right,
.swiper-container-3d .swiper-slide-shadow-left{
  background-image: none;
}











@media screen and (min-width:968px) {
  :root{
    --biggest-font-size:4rem;
    --h1-font-size:2.25rem;
    --h2-font-size:1.75rem;
    --h3-font-size:1.25rem;
    --normal-font-size:1rem;
    --small-font-size:.875rem;
    --smaller-font-size:.81rem;

  }
}


.show_menu{
  right: 0;
}
.scroll_header{
  background-color: var(--body-color);
  box-shadow: 0 0 4px hsla(var(--hue-color), 64%, 15%, .15);
}
.scroll_header .nav_toggle,
.scroll_header .nav_logo{
  color: var(--title-color);
}





/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .place_container {
    grid-template-columns: max-content;
    justify-content: center;
  }
  .experience_content {
    padding: 0;
  }
  .experience_overlay:nth-child(1) {
    width: 190px;
  }
  .experience_overlay:nth-child(2) {
    width: 80px;
  }
  .home_info {
    width: 190px;
    padding: 1rem;
  }
  .experience_img,
  .video_container {
    padding: 0;
  }
}

/* For medium devices */
@media screen and (min-width: 568px) {
  .video_container {
    display: grid;
    grid-template-columns: .6fr;
    justify-content: center;
  }
  .place_container {
    grid-template-columns: repeat(3, max-content);
  }
  .subscribe_form {
    width: 470px;
    margin: 0 auto;
  }
}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav_link {
    color: var(--white-color);
    text-transform: initial;
  }
  .nav_link:hover {
    color: var(--white-color);
  }
  .nav_dark {
    position: initial;
  }
  .nav_menu {
    display: flex;
    column-gap: 1rem;
  }
  .nav_list {
    flex-direction: row;
    column-gap: 4rem;
  }
  .nav_toggle, .nav_close {
    display: none;
  }
  .change_theme_name {
    display: none;
  }
  .change_theme {
    color: var(--white-color);
  }
  .active_link::before {
    background-color: var(--white-color);
  }
  .scroll_header .nav_link {
    color: var(--text-color);
  }
  .scroll_header .active_link {
    color: var(--title-color);
  }
  .scroll_header .active_link::before {
    background-color: var(--title-color);
  }
  .scroll_header .change_theme {
    color: var(--text-color);
  }
  .section {
    padding: 7rem 0 2rem;
  }
  .home_container {
    height: 100vh;
    grid-template-rows: 1.8fr .5fr;
  }
  .home_data {
    align-self: flex-end;
  }
  .home_social {
    flex-direction: row;
    align-self: flex-end;
    margin-bottom: 3rem;
    column-gap: 2.5rem;
  }
  .home_info {
    bottom: 3rem;
  }
  .about_container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .about_data, .about_title {
    text-align: initial;
  }
  .about_title {
    margin-bottom: var(--mb-1-5);
  }
  .about_description {
    margin-bottom: var(--mb-2);
  }
  .discover_container {
    width: 610px;
    margin-left: auto;
    margin-right: auto;
  }
  .discover_container,
  .place_container {
    padding-top: 2rem;
  }
  .experience_overlay:nth-child(1) {
    width: 363px;
    margin-right: 4rem;
  }
  .experience_overlay:nth-child(2) {
    width: 160px;
  }
  .subscribe_bg {
    background: none;
    padding: 0;
  }
  .subscribe_container {
    background-color: var(--first-color-second);
    padding: 3.5rem 0;
  }
  .subscribe_input {
    padding: 0 .5rem;
  }
  .footer_rights {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .home_container {
    grid-template-rows: 2fr .5fr;
  }
  .home_info {
    width: 328px;
    grid-template-columns: 1fr 2fr;
    column-gap: 2rem;
  }
  .home_info_title {
    font-size: var(--normal-font-size);
  }
  .home_info_img {
    width: 240px;
  }
  .about_img_one {
    width: 230px;
  }
  .about_img_two {
    width: 290px;
  }
  .discover_card {
    width: 237px;
  }
  .discover_container {
    width: 700px;
  }
  .discover_data {
    left: 1.5rem;
    bottom: 2rem;
  }
  .discover_title {
    font-size: var(--h2-font-size);
  }
  .experience_content {
    margin: var(--mb-1) 0;
    column-gap: 3.5rem;
  }
  .experience_overlay:nth-child(1) {
    width: 463px;
    margin-right: 7rem;
  }
  .experience_overlay:nth-child(2) {
    width: 220px;
    top: 3rem;
  }
  .video_container {
    grid-template-columns: .7fr;
  }
  .video_description {
    padding: 0 8rem;
  }
  .place_container {
    gap: 3rem 2rem;
  }
  .place_card, .place_img {
    height: 263px;
  }
  .footer_content {
    justify-items: center;
  }
}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1024px;
  }
}

/* For tall screens on mobiles y desktop*/
@media screen and (min-height: 721px) {
  body {
    margin: 0;
  }
  .home_container, .home_img {
    height: 640px;
  }
}
