@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */
a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */
aside,
nav,
footer,
header,
section,
main {
  display: block;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
}
@media (max-width: 740px) {
  body {
    flex-direction: column;
    gap: 1rem;
  }
}

.left-section {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  flex-direction: column;
}
@media (max-width: 740px) {
  .left-section {
    width: 100%;
  }
}
.left-section .bg-img {
  width: 60%;
  display: flex;
  align-items: center;
  position: absolute;
  filter: blur(16px);
  background-color: #f7f5ee;
  z-index: -1;
  height: 92%;
}
.left-section .bg-img img {
  opacity: 0.4;
  width: 100%;
}
@media (max-width: 740px) {
  .left-section .bg-img {
    width: 100%;
  }
}

.left-content {
  max-width: 400px;
  margin-left: 18rem;
  height: 100%;
  display: flex;
  align-items: center;
}
.left-content h1 {
  font-size: 50px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .left-content {
    margin-left: 0;
  }
}
@media (max-width: 740px) {
  .left-content {
    margin-top: 2rem;
  }
}

.right-section {
  width: 44%;
  background-color: white;
}
@media (max-width: 900px) {
  .right-section {
    width: 70%;
  }
}
@media (max-width: 740px) {
  .right-section {
    width: 100%;
  }
}

.right-content-block {
  width: 50%;
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 1rem;
  margin-left: 3rem;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
}
@media (max-width: 1920px) {
  .right-content-block {
    width: 50%;
  }
}
@media (max-width: 1680px) {
  .right-content-block {
    width: 60%;
  }
}
@media (max-width: 1440px) {
  .right-content-block {
    width: 60%;
  }
}
@media (max-width: 1024px) {
  .right-content-block {
    width: 50%;
  }
}
@media (max-width: 740px) {
  .right-content-block {
    width: 73%;
    margin-left: auto;
  }
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tab-container {
  display: flex;
  margin-bottom: 1rem;
}

.tab {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  color: black;
  font-weight: 500;
  border: 1px solid #ccc;
  background-color: #f0f0f0;
}

.tab.active {
  background-color: white;
  border-bottom: none;
}

.input-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.input-wrapper {
  position: relative;
  margin-top: 0.2rem;
  width: 100%;
}

input {
  width: 100%;
  height: 42px;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #e4e4e4;
}

.input-number {
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #353535;
}

.word-count {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-direction: row;
  align-items: center;
}
@media (max-width: 1920px) {
  .word-count span {
    font-size: 12px;
  }
}
@media (max-width: 1400px) {
  .word-count span {
    font-size: 10px;
  }
}

.word-count-line {
  color: #888;
  margin-left: 0;
  margin-right: 0;
}

.word-count-btn {
  cursor: pointer;
  color: #888;
}

.word-count-btn.active {
  color: black;
}

button {
  width: 100%;
  padding: 1rem;
  background-color: #004793;
  color: white;
  border: none;
  font-size: 18px;
  font-weight: 300;
  border-radius: 4px;
  cursor: pointer;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.store-buttons img {
  height: 40px;
}

.back {
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 25px;
  color: black;
  font-weight: 500;
  border: 1px solid #ccc;
  background-color: #f0f0f0;
  width: 100px;
}

.header {
  display: flex;
  flex-direction: row;
  width: 100%;
  position: absolute;
  height: 40px;
  align-items: center;
}

.header-container {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 740px) {
  .header-container {
    width: 48%;
  }
}

.header-text {
  display: flex;
  justify-content: end;
  font-size: 13px;
  margin-right: 1rem;
  color: #083564;
}