@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

ul li {
  list-style: none;
}

a {
  text-decoration: none;
}

body {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.container {
  width: 1140px;
}

.nav {
  opacity: 0;
  width: 100%;
  background: #222222;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 0 0 0;
  position: relative;
  top: -100%;
  z-index: 30;
  transition: top 2s ease, opacity 3s ease;
}

.nav-list {
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 50px;
  transition: transform 0.9s;
}

.nav-item {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff80;
  transition: .2s;
  letter-spacing: 1px;
  padding-bottom: 22px;
  transition: .5s ease;
  border-bottom: 3px solid #00000000;
}

.active-item {
  color: #ffffff;
  border-bottom: 3px solid #00B2DF;
}

.nav-item:hover {
  color: #ffffff;
}



.home {
  display: flex;
  justify-content: center;
  opacity: 0;
  position: relative;
  padding: 30px;
  overflow: hidden;
  transform: scale(1.5);
  transition: transform 2s ease, opacity .5s ease;
}

.home-content {
  display: flex;
  flex-direction: row;
}

.home-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding-right: 20px;
}

.home-right {
  width: 50%;
  display: flex;
  align-items: center;
}

.home-gif {
  width: 100%;
}

.home-title {
  color: #222222;
  font-size: 72px;
}

.home-text {
  font-size: 18px;
  color: #22222290;
}

.homeBtn {
  width: 180px;
  text-align: center;
  padding: 10px 30px;
  margin-top: 10px;
  border-radius: 5px;
  border: none;
  background: #00B2DF;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: box-shadow .3s ease;
}

.homeBtn:hover {
  box-shadow: 0 10px 10px #00B2DF40;
}



.skills {
  position: relative;
  padding: 30px;
  overflow: hidden;
  opacity: 0;
  transition: opacity .5s ease;
}



.portfolio {
  position: relative;
  padding: 30px;
  overflow: hidden;
  opacity: 0;
  transition: opacity .5s ease;
}




.contact {
  position: relative;
  padding: 30px;
  overflow: hidden;
  opacity: 0;
  transition: opacity .5s ease;
}

.nav-btn {
  display: none;
}

@media(max-width: 992px) {
  .home-content {
    width: 100%;
    flex-direction: column-reverse;
    align-items: center;
  }

  .home-left {
    width: 100%;
  }

  .home-right {
    width: 100%;
  }

  .home-title {
    font-size: 58px;
    margin-top: 20px;
  }
}

@media(max-width: 600px) {
  .nav-btn {
    display: flex;  
    float: right;
    margin-right: 20px;
    border: none;
    background: #00000000;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    padding-bottom: 20px;
  }

  .nav {
    justify-content: flex-end;
    align-items: flex-end;
  }

  .nav-list {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .nav-item {
    padding-bottom: 5px;
  }

  .active-item {
    padding-bottom: 5px;
  }

  .home-title {
    font-size: 34px;
    margin-top: 10px;
  }

  .home-text {
    font-size: 16px;
  }

  .nav-list {
    display: none;
  }
}


@media(min-width: 992px) {
  .container {
    width: 940px;
  }
}

@media(min-width: 1140px) {
  .container {
    width: 1140px;
  }
}