/* Importing Avenir font */
@import url('https://fonts.googleapis.com/css2?family=Avenir:wght@400;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/avenir');

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

body {
  font-family: "Avenir", Helvetica;
  background-color: #ffffff;
  color: #8a9dba;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.content {
  width: 50%;
}

.logo {
  width: 177px;
  margin-bottom: 20px;
}

h1 {
  font-weight: 700;
  font-size: 2.5rem;
  color: #20314B;
  margin-bottom: 50px;
  margin-top: 81px;
  line-height: 1.2;
}

.attention {
  font-size: 0.85rem;
  color: #6b01ff;
  margin-bottom: 10px;
}

.intro a {
  color: #7D4DFF;
  text-decoration: none;
}

.description {
  font-size: .9rem;
  line-height: 1.4;
  color: #384b68;
  margin-bottom: 30px;
}

.input-container {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping */
  gap: 0px;
  border: 0px solid #ccc;
  width: 100%; /* Ensure full width for mobile */
}

input[type="text"] {
  padding: 15px;
  width: calc(100% - 120px); /* Input takes remaining space */
  background-color: #eceaee;
  border: 0px solid #ccc;
  border-radius: 4px 0px 0px 4px;
  font-size: 1rem;
  color: #1e082d;
}

input:focus {
  border: 0px; /* No border on focus */
  outline: none; /* Removes the outline when focused */
  color: #384b68;
}

button {
  padding: 15px 40px;
  border: none;
  background-color: #7D4DFF;
  color: #fff;
  font-size: 1rem;
  border-radius: 0px 4px 4px 0px;
  cursor: pointer;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center; /* Center the text horizontally */
}

button:hover {
  background-color: #6a3ecf;
}

#copy-btn {
  background-color: #7D4DFF;
}

#copy-btn:hover {
  background-color: #6a3ecf;
}

.image-container {
  width: 40%;
  text-align: right;
  margin-top: 111px;
}

.image {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Media query for mobile screens */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .content {
    width: 100%; /* Make content full width on mobile */
  }

  .input-container {
    width: 100%; /* Ensure container is full width */
    flex-direction: row; /* Keep input and button in a row */
  }

  input[type="text"] {
    width: calc(100% - 120px); /* Input takes full width minus button width */
    border-radius: 4px 0px 0px 4px; /* Adjust radius */
  }

  button {
    padding: 15px 40px;
    border: none;
    background-color: #7D4DFF;
    color: #fff;
    font-size: 1rem;
    border-radius: 0px 4px 4px 0px;
    cursor: pointer;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Center the text horizontally */
  }
  

  .image-container {
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }

  .image {
    max-width: 300px;
  }
}
