@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

textarea {
    background-attachment: scroll;
}

::-moz-selection {
    color: white;
    background: #3c3021;
}

::selection {
    color: white;
    background: #3c3021;
}

body {
    margin: 0;
    min-height: 100%;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #000;
    background: url(./bg.svg) #F3E0C9;
}

* {
    box-sizing: border-box;
    /* outline: 1px solid red; */
}

img {
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
}

h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-top: 0;
}

.w1200 {
    max-width: 1200px;
    width: 94%;
    margin: 0 auto;
}

.w600 {
    max-width: 620px;
    margin: 0 auto;
    border-radius: 20px;
    background: white;
    padding: 4rem 4rem 2rem;
    position: relative;
}

.notebook {
    max-width: 600px;
    width: 90%;
    margin: 1rem auto -4em;
    display: block;
    min-height: 130px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.info {
    text-align: center;
}

.info a {
    color: #000;
}

input,
textarea {
    display: block;
    width: 100%;
    font-size: 16px;
    padding: 0.5rem;
    font-family: inherit;
    resize: none;
}

input[type=email],
input[type=tel] {
    direction: ltr;
    text-align: right;
}

label {
    font-size: 13px;
    width: 100%;
    margin: 0;
    padding: 0 !important;
}

input:focus-visible,
textarea:focus-visible {
    outline: #e1c29e auto 1px;
}

.btn {
    font-size: 16px;
    font-family: inherit;
    padding: 0.75rem 4rem;
    margin: 1rem auto;
    display: block;
    border: none;
    background: #e1c29e;
    border-radius: 3px;
    cursor: pointer;
    transition: all 200ms ease;
    color: inherit;
    text-decoration: none;
    text-align: center;
    width: fit-content;

}

.btn:hover {
    filter: brightness(90%);
}

.btn:active {
    filter: brightness(80%);
}

.flex {
    display: flex;
    column-gap: 1rem;
    margin-top: 0.5rem;
}

.center {
    text-align: center;
}

.price-oval {
    background: #000;
    color: white;
    border-radius: 100%;
    width: 120px;
    height: 120px;
    position: absolute;
    top: -2rem;
    inset-inline-end: -2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform: rotate(-15deg);
    box-shadow: 0.5rem 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.price-oval p {
    margin: 0;
}

.price {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.price span {
    font-size: 16px;
}

.form-txt {
    font-size: 16px;
    font-weight: 700;
    margin: 2rem 0 0;
    text-align: center;
}

.link {
    text-align: center;
    color: #000;
    display: block;
}

@media screen and (max-width: 900px) {
    h1 {
        font-size: 30px;

    }

    .w600 {
        max-width: 630px;
        margin: 0 auto;
        border-radius: 20px;
        background: white;
        padding: 4rem 2rem 2rem;
    }


    .btn {
        width: 100%;
    }

    .flex {
        display: block;
        margin-top: 0;
    }

    .price-oval {
        width: 90px;
        height: 90px;
        position: absolute;
        font-size: 13px;
        inset-inline-end: 1rem;
    }

    .price {
        font-size: 20px;
    }

    .notebook {
        margin: 0rem auto -2em;
    }


}