@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

:root {
  --max-width: 1200px;
  --primary-color: #2f3645;
  --primary-color-dark: #000000;
  --secondary-color: #939185;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --extra-light: #faf5ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}


/*NAV*/
a {
    text-decoration: none;
  }
  
  body {
    font-family: "Poppins", sans-serif;
  }
  nav {
      width: 100%;
      position: absolute;
      top: 0;
      left: 0;
      background-color: #ffffff;
      z-index: 99;
    }
    
    
  .nav__content {
    max-width: var(--max-width);
    margin: auto;
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
    nav .logo a {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--primary-color);
        transition: 0.3s;
      }
      nav .logo a:hover {
        color: var(--primary-color-dark);
      }
    
    nav .checkbox {
      display: none;
    }
    
    nav input {
      display: none;
    }
    nav .checkbox i {
      font-size: 2rem;
      color: var(--primary-color);
      cursor: pointer;
    }
    
    ul {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      list-style: none;
      transition: left 0.3s;
    }
    
    ul li a {
      padding: 0.5rem 0.5rem;
      border: 2px solid transparent;
      text-decoration: none;
      font-weight: 600;
      color: var(--text-dark);
      transition: 0.3s;
    }
    
    ul li a:hover {
      border-top-color: var(--secondary-color);
      border-bottom-color: var(--secondary-color);
      color: var(--secondary-color);
    }
  
    /*To make it responsive*/

    @media (width < 600px) {
        nav .checkbox {
          display: block;
        }
      
        ul {
          position: relative;
          width: 100%;
          height: calc(80vh - 76px);
          left: -80%;
          top: 95px;
          background-color: var(--extra-light);
          flex-direction: column;
          justify-content: center;
          gap: 3rem;
        }
      
        nav #check:checked ~ ul {
          left: 0;
        }
      
        ul li a {
          font-size: 2rem;
        }
    }

body {
  min-height: 100vh;
  width: 100%;
  background: #faf5ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 80%;
  background: #fff;
  padding: -33px 60px 40px 40px;
  border-radius: 8px;
  box-shadow: 1.5px 2px 1px rgba(20, 20, 20, 0.5);
}

.container .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.container .content .left-side {
  width: 20%;
  height: 100%;
  position: relative;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.content .left-side .details {
  margin: 12px;
  text-align: center;
}

.content .left-side .details i {
  font-size: 30px;
  color: var(--text-dark);
}
.content .left-side::before {
  content: "";
  position: absolute;
  height: 70%;
  width: 2px;
  background: #afafb6;
  right: -55px;
  top: 47%;
  transform: translateY(-50%);
}

.container .content .right-side {
  width: 90%;
  margin-left: 150px;
}

.content .left-side .details .topic {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 18px;
}

.content .left-side .details .text-1,
.content .left-side .details .text-2 {
  font-size: 13px;
  color: var(--text-light);
}

.content .right-side .topic-text {
  font-size: 23px;
  font-weight: 700;
  color: var(--text-dark);
}
.right-side .input-box {
  height: 40px;
  width: 200px;
  margin: 12px 0px;
}
.right-side .input-box input,
.right-side .input-box textarea {
  height: 100%;
  width: 150%;
  border: none;
  border-radius: 6px;
  background-color: var(--extra-light);
  font-size: 10px;
  font-weight: 600;
  padding: 0px 25px;
}

.right-side .message-box {
  min-height: 100px;
  margin-top: 6px;
}

.right-side .submit input[type="submit"] {
  color: black;
  font-size: 18px;
  background-color: var(--secondary-color);
  border: none;
  border-radius: 10px;
  padding: 0px 18px;
  outline: none;
  cursor: pointer;
  transition: 0.3s ease-in;
}

.button input[type="submit"]:hover {
  background: var(--primary-color);
  color: #fff;
}

.right-side .submit {
  margin-top: 12px;
  display: inline-block;
}

@media (max-width: 950px) {
  .container {
    width: 90%;
    padding: 20px 35px 40px 35;
  }
}

@media (max-width: 820px) {
  .container {
    margin: 40px 0;
    height: 100%;
  }
  .container .content {
    flex-direction: column-reverse;
  }
  .container .content .left-side {
    width: 100%;
    flex-direction: row;
    margin-top: 40px;
    flex-wrap: wrap;
  }
  .container .content .left-side::before {
    display: none;
  }
  .container .content .right-side {
    width: 100%;
    margin-left: 0;
  }
}

