:root {
  --text-color: #eeeff1;
  --link-color: #4a76ee;
  --background-color: black;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('img1.jpg');
  background-position: center;
  background-size: cover;
  filter: blur(350px);
  z-index: -1;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  background-image: url('img2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin: 0 auto;
  padding-top: 50px;
}

a {
  text-decoration: none;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 100px;
}

nav .left a {
  color: var(--text-color);
  font-size: 22px;
  font-weight: 600;
}

nav .right {
  display: flex;
  gap: 10px;
}

nav .right a {
  color: var(--text-color);
  margin: 0 10px;
  display: inline-block;
  padding: 5px 10px;
}

nav .right a:last-child {
  color: var(--text-color);
  background-color: var(--background-color);
  padding: 5px 15px;
  border-radius: 5px;
}

.text {
  font-size: 18px;
  text-align: center;
  
}

nav .right a span {
  margin-left: 5px;
}

.main-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  margin: 50px 0;
  margin-bottom: 100px;
  gap: 30px;
}

.main-section .text {
  flex: 5;
}

.main-section .text h2 {
  font-size: 30px;
}

@media (max-width: 600px) {
  body::before {

    background-size: cover;
    filter: blur(170px);
    z-index: -1;
  }
  body {
    background-image: url('img2.jpg');
    
    background-size: cover;
    background-attachment: fixed;
  }

  nav {
    flex-direction: column;
    height: 40px;
    padding: 10px;
    align-items: center;
  }


  .main-section {
    flex-direction: column;
    text-align: center;
    padding: 14.5px;
  }

  .main-section .text h2 {
    font-size: 22px;
  }
}
