/*! === FONTS === */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;700&display=swap");

/*! === VARIABLES === */
:root {
  --light-clr: #fff;
  --light-clr-2: #bed1d2;
  --light-clr-3: #dde6e7;
  --dark-clr: #0b1818;
  --body-font-clr: #bdbdbd;
  --body-bg-clr: #070c0c;
  --title-font: "Bebas Neue", cursive;
  --body-font: "Poppins", sans-serif;
}

/*! === BASE === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: 1.4rem;
  line-height: 1.5;
  background-color: var(--body-bg-clr);
  color: var(--body-font-clr);
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.h3__margin {
  margin-top: 1.5rem;
}


h4 {
  margin-top: 1.5rem;
}

img,
picture {
  display: block;
  max-width: 100%;
}

input,
button {
  font: inherit;
  background-color: transparent;
  border: none;
}

/*! === SCROLLBAR === */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-clr-2);
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/*! === COMPONENTS === */
.container{
  margin-inline: auto;
  padding-inline: 1.8rem;
}

.btn{
  display: inline-block;
  cursor: pointer;
  transition: opacity .25s;
}

.btn:is(:hover, :focus){
  opacity: .8;
}

.btn--action{
  font-size: 1.8rem;
  color: var(--light-clr);
  line-height: 0;
}

.btn--text{
  font-family: var(--title-font);
  letter-spacing: 1px;
  font-size: 1.8rem;
  padding: 1rem 3rem;
}

.btn--transparent{
  color: var(--light-clr-2);
  border-bottom: 2px solid var(--light-clr-2);
  padding: 0;
}

.btn-green{
  background-color: var(--light-clr-2);
  color: var(--dark-clr);
}

.title{
  font-family: var(--title-font);
  color: var(--light-clr-3);
  letter-spacing: 1px;
  font-size: 3.6rem;
}

.tittle--main{
  font-size: clamp(4.2rem, 7vw,10rem);
  line-height: 1.2;
  background-color: var(--light-clr-3);
  /* background: url(../img/logo_white.png) center 10% no-repeat; */
  background-image: linear-gradient(to bottom,rgb(0, 225, 255),rgb(0, 0, 0));
  background-size: cover;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  position: relative;
  opacity: 80%;
  z-index: 10;
}

.section-metadata{
  padding-bottom: 6rem;
  text-align: center;
}

.section-metadata__description{
  margin-top: 1.3rem;
}

.text-strong{
  color: var(--light-clr);
  transition: opacity .25s;
}

.ul__bullet {
  text-align: left;
  list-style-type: disc;
  list-style-image: none;
  margin-top: 1rem;
  margin-left: 3rem;
}

/*! === HEADER === */
.header{
  position: fixed;
  z-index: 999;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: var(--body-bg-clr);
  transition: padding .25s;
}

.header.active{
  padding-top: 1rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1);
}

.navbar{
  display:flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__separator{
  display: block;
  height: 1px;
  background-color: var(--light-clr);
  min-width: 90%;
}

/* .navbar__logo{
  margin-right: 1.4rem;
} */

/* .navbar__logo-image{
  max-width: 12rem;
} */

.navbar__menu{
  position: absolute; 
  top: 0;
  right: 0;
  width: 20rem;
  height: 100vh;
  text-align: right;
  background-color: var(--dark-clr);
  transform: translateX(26rem);
  z-index: 999;
  transition: transform .5s ease-in;
}

.navbar__menu.active{
  transform: translateX(0); 
}

.navbar__list{
  display: flex;
  flex-direction: column;
}

.navbar__list-item{
  margin-left: 1rem;
  margin-right: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar__list-item:last-of-type{
  border-bottom: none;
}

.navbar__list-link{
  display: block;
  color: var(--light-clr);
  padding: 1rem;
  transition: opacity .25s;
}

.navbar__list-link:is(:hover, :focus){
  opacity: .5;
}

.navbar__btn-group{
  display: flex;
  column-gap: 1.5rem;
}

/*! === MAIN === */
main{
  overflow-x: hidden;
}

main.blur_effect.active {
  filter: blur(5px);
}

/*! === SHOWCASE === */
.showcase{
  /* background-color: var(--dark-clr); */
  background-image: url(../img/bg_small_i7_bw.jpg);
  background-position: center;
  padding-top: 20rem;
  padding-bottom: 15rem;
}

.showcase__container{
  text-align: center;
}

.showcase__image{
  display: inline-block;
  max-width: 73%;
  /* transform: translateY(-2.5rem); */
}

.showcase__slogan{
  text-align: center;
  letter-spacing: .7em;
}

/*! === PORTFOLIO === */

.title-portfolio{
  text-align: center;
}

.portfolio{
  background-color: var(--dark-clr);
  padding-top: 12rem;
  padding-bottom: 12rem;
}

.portfolio__metadata{
  padding-bottom: 4rem;
  /* text-align: left; */
}


/* --- SWIPER --- */
.swiper-slide{
  width: 25rem;
  height: 25rem;
}

.swiper-slide img{
  background-color: transparent;
  /* border-radius: 50%; */
  width: 65%;
  height: 65%;
  object-fit: cover;
}

.swiper-slide iframe{
  background-color: transparent;
  /* border-radius: 50%; */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lucky-slide img, .block-slide img, .risto-slide img{
  object-fit: fill;
}

.swiper-pagination-bullet{
  background-color: var(--light-clr-2);
}

/*! === ABOUT === */
.about{
  /* background-color: var(--dark-clr); */
  padding-top: 10rem;
  padding-bottom: 6rem;
}

.about__container{
  text-align: center;
  display: grid;
  gap: 8rem;
}

.about__information-title{
  margin-bottom: 2rem;
}

.about__information-description:first-of-type{
  margin-bottom: 1.5rem;
}

.about__information-description:last-of-type{
  margin-bottom: 2rem;
}

.about__images{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin-inline: auto;
  margin-bottom: 4rem;
}

.about__images-image--top{
  grid-column: 4/ -1;
  grid-row: 1/span 3;
}

.about__images-image--bottom{
  grid-column: 1/ 8;
  grid-row: 3/span 5;
  z-index: 5; 
}

/*! === CONTACT === */

.contact{
  background-color: var(--dark-clr);
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.contact__group{
  text-align: center;
}

.contact__list{
  display: flex;
  gap: 2rem;
  justify-content: center;
}

/* .contact__list b{
  display: none;

} */

.contact__list-link{
  color: var(--light-clr-2);
  font-size: 1.8rem;
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s;
}

/* .contact__list-link p{
  display: inherit;
} */

.contact__list-link:hover{
  background-color: var(--light-clr-2);
  color: var(--dark-clr);
}

/*! === FOOTER === */
.footer{
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer__container.active {
  filter: blur(5px);
}

.footer__group{
  text-align: center;
}

.footer__title{
  margin-bottom: 3rem;
}

.footer__separator{
  display: block;
  height: 1px;
  background-color: var(--light-clr);
  margin-top: 1.5rem;
  margin-bottom: 4rem;
}

.footer__logo{
  display: inline-block;
  max-width: 17rem;
}

.footer__description{
  margin-block: 3rem;
}

.footer__list{
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer__list-link{
  color: var(--light-clr-2);
  font-size: 1.8rem;
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s;
}

.footer__list-link:hover{
  background-color: var(--light-clr-2);
  color: var(--dark-clr);
}

.footer__copyright{
  display: inline-block;
  margin-top: 5rem;
}

/*! === MEDIA QUERIES === */
/* --- Phones --- */
@media (min-width: 31.25em) {
  .container{
    max-width: 50rem;
  }
}

/* --- Tablets --- */
@media (min-width: 48em) {
  body{
    font-size: 1.6rem;
  }

  .container{
    max-width: 76.8rem;
  }

  #menu-toggler{
    display: none;
  }

  .navbar{
    padding-left: 0;
    justify-content: center;
  }

  .navbar__separator{
    display: none;
  }
  
  .navbar__menu{
    position: initial;
    width: initial;
    height: initial;
    background-color: transparent;
    transform: initial;
    transition: none;
  }

  .navbar__list{
    flex-direction: row;
    /* gap: 1rem; */
  }

  .navbar__list-item{
    border-bottom: none;
  }

  .navbar__langs{
  transform: translateX(-15rem);
  }

  .btn--text{
    display: none;
  }

  .showcase{
    background-image: url(../img/bg_large_hd_180.jpg);
  }
  
  .showcase__image{
    max-width: 450px;
    /* transform: translateY(-5rem); */
  }

  .section-metadata{
    grid-column: 1/-1;
  }

  .section-metadata__description{
    max-width: 70rem;
    margin-inline: auto;
  }

  .about__container{
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    column-gap: 2.5rem;
  }

  /* .footer__description{
    max-width: 50rem;
    margin-inline: auto;
  } */

  .footer__logo{
    min-width: 27rem;
  }
}

/* --- Laptops/Desktops --- */
@media (min-width: 64em) {
  .container{
    max-width: 120rem;
  }

  .tittle--main{
    background-position: center 48%;
  }

  .navbar__list{
    gap: 5rem;
  }

  .showcase__image{
    max-width: max-content;
    /* transform: translateY(-5rem); */
  }

  .footer__group{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer__logo{
    min-width: 37rem;
  }

  .contact__title{
    font-size: clamp(4.2rem, 5vw,8rem);
  }
} 