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

p {
  max-width: 900px;
  margin: 20px auto;
  text-align: left;
  line-height: 2;
  padding: 0 1.5rem;
}

h1 {
    color: #a363aa;
    margin: 20px 0;
    text-align: center;
}

html, body {
  font-family: 'Outfit';
  background: linear-gradient(#ffdad5, #fff7f9);
  background-attachment: fixed;
  min-height: 100%;
}
.page {
    min-height: 100vh;
    display: grid;
    place-content: center;
    gap: 2rem;
    padding: 2rem;
}

.poem {
    white-space: pre-line;
    text-align: center;
    padding: 0 1rem;
    font-size: 22px;
}

/* ---------- Search ---------- */
.search-container {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.search-center {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 500px;
}

.search-inputs {
    width: 100%;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: #666;
    border-radius: 50px;
}

.search-center button {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    font-size: 16px;
    color: #fff;
    white-space: nowrap;
    border: none;
    border-radius: 50px;
    background: linear-gradient(270deg, #ff994f, #fa6d86);
    cursor: pointer;
}

/* ---------- Contact / skicka in ---------- */
.contact-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-container h2 {
    font-weight: 600;
    color: #a363aa;
    font-size: 28px;
    margin-bottom: 5px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.contact-left-title h2 {
    font-weight: 600;
    color: #a363aa;
    font-size: 40px;
    margin-bottom: 5px;
}

.contact-left-title hr {
    border: none;
    width: 120px;
    height: 5px;
    background-color: #a363aa;
    border-radius: 10px;
    margin-bottom: 20px;
}

.contact-inputs {
    width: 100%;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: #3e3e3e;
    border-radius: 50px;
}

.contact-left textarea {
    font-size: 16px;
    height: 300px;
    padding-top: 15px;
    border-radius: 20px;
    width: 100%;
}

.contact-inputs:focus {
    border: 2px solid #ff994f;
}

.contact-inputs::placeholder {
    color: #a9a9a9;
}

.contact-left button {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: #fff;
    gap: 10px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(270deg, #ff994f, #fa6d86);
    cursor: pointer;
}

.contact-left button img {
    height: 15px;
}

/* ---------- Hamburger ---------- */
.hamburger-menu__wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    height: auto;
    overflow: visible;
}

.hamburger-menu {
    position: relative;
    width: 300px;
}

.hamburger-menu__button {
    width: 40px;
    height: 40px;
    margin: 15px;
    border: 2px solid #a363aa;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
    background: rgba(255,255,255,0.8);
}

.hamburger-menu__button span {
    line-height: 8px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
    color: #a363aa;
}

.hamburger-menu__button span:last-child {
    padding-bottom: 5px;
}

.hamburger-menu__wrapper input[type='checkbox'] {
    width: 50px;
    height: 50px;
    opacity: 0;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    cursor: pointer;
}

.hamburger-menu__wrapper input:checked ~ .hamburger-menu__button {
    background: #d2f2fc;
}

.hamburger-menu__wrapper input:checked ~ .hamburger-menu__slider {
    transform: none;
}

.hamburger-menu__slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(#ebc6c2, #ecdde1);
    z-index: 2;
    transform: translateX(-290px);
    transition: transform 0.3s;
    text-align: left;
}

.hamburger-menu__item {
    padding: 10px 0 10px 15px;
}

.hamburger-menu__item a {
    text-decoration: none;
    color: inherit;
}

.hamburger-menu__item:hover {
    background-color: #addffc;
}

.hamburger-menu__item:first-of-type {
    margin-top: 70px;
}

.hamburger-menu__item a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 10px 0 10px 15px;
}

.hamburger-menu__item {
  padding: 0; /* ta bort padding härifrån, den ligger nu på a istället */
}

/* ---------- Mobil ---------- */
@media (max-width: 600px) {
    .search-center {
        flex-direction: column;
        align-items: stretch;
    }

    .search-center button {
        justify-content: center;
    }

    .contact-left-title h2 {
        font-size: 28px;
    }

    .contact-right img {
        display: none;
    }
}