/* jourchin */

@keyframes opening {
    0% {
        height: 10vh;
    }

    35% {
        height: 15vh;
    }

    100% {
        height: 35vh;
    }
}

@keyframes shake {
    0% {
        margin-right: -1vw;
    }

    50% {
        margin-right: 1vw;
    }

    100% {
        margin-right: 0;
    }
}

/* @keyframes border {
    0% {
        border: #ffcc50 4px solid;
        color: #ffcc50;
    }

    25% {
        border: #ffcc50 4px solid;
        color: #ffcc50;
    }

    36% {
        border: #1f1e1c7d 4px solid;
        color: #1f1e1c7d;
    }

    74% {
        border: #1f1e1c7d 4px solid;
        color: #1f1e1c7d;
    }

    75% {
        border: #ffcc50 4px solid;
        color: #ffcc50;
    }

    100% {
        border: #ffcc50 4px solid;
        color: #ffcc50;
    }
} */

/* .worm-canvas:hover{
    opacity: 0;
} */

/* .label {
    font-size: .6rem;
    letter-spacing: .22em;
    color: rgba(255, 255, 255, .25);
    text-transform: uppercase;
    margin-top: -28px;
} */

#jourchinImage {
    height: 35vh;
    max-width: 100%;
    display: block;
}

#arvanehLogo {
    height: 35vh;
}

#subBtn {
    -webkit-appearance: none;
    appearance: none;
    width: 50vw;
    font-size: var(--text-size-large);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: #b9b0a5;
    /* border: #131126 4px solid; */
    animation: border 3s infinite;
    border-radius: 5vw;
    margin: 10vh auto 0;
    font-family: kalamehBold;
    height: 12.5vh;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

#subBtn:hover {
    background-color: #f0cb6d;
    color: #ffff;
    cursor: pointer;
}

#ideaForm {
    display: none;
    overflow: hidden;
    height: max-content;
    margin: 10vh auto 0;
    flex-direction: column;
    align-items: center;
    gap: 3vh 0;
}

/* form {
    margin: 0 auto;
    width: 65vw;
    flex-direction: column-reverse;
} */

#form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form * {
    font-family: kalamehRegular;
}

h1 {
    text-align: center;
    color: #b9b0a5;
    font-size: var(--text-size-extra);
    font-family: kalamehBlack;
    /* margin-bottom: 1.5rem; */
}

h2 {
    font-size: var(--text-size-medium);
}

/* WebKit: remove default Apple input styling (rounded corners/gradients) */
input,
.ideaExplain {
    -webkit-appearance: none;
    appearance: none;
}

input {
    width: 41vw;
    height: 10.5vh;
    padding: 1vh 1vw;
    margin: auto;
    border: #b9b0a5 3px solid;
    border-radius: 125px;
    direction: rtl;
    font-size: 20px;
    line-height: 10.5vh;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

input:focus {
    outline: none;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
}

button:focus {
    box-shadow: none;
}

#inp1,
#inp2 {
    margin: 1.5vh auto;
}

/* #inp {
    width: 43vw;
} */

.ideaExplain {
    width: 70vw;
    border-radius: 25px;
    /* height: 15vh; */
    min-height: 7.5vh;
    padding: 2vh 1.25vw;
    /* font-size: 1rem; */
    margin: 0 1vw;
    border: #b9b0a5 3px solid;
    text-align: justify;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    background-color: transparent;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.ideaExplain:focus {
    outline: none;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
}

/* #ideaExplainField {
    height: 6em;
} */
.form-actions {
    width: 41vw;
    display: flex;
    justify-content: center;
}

.form-actions button {
    height: 9.5vh;
    /* width: 20vw; */
    margin: 0;
    background-color: #ffcc50;
    border: #f4f2ed 2px solid;
    color: #ffffff;
    border-radius: 125px;
    font-size: 18px;
    padding: 0;
    font-family: kalamehMedium;
}

#prevBtn {
    width: 30%;
}

#nextBtn,
#submitBtn {
    width: 60%;
}

#submitBtn {
    background-color: #99cc52;
}

#submitBtn:hover {
    background-color: #96c05c;
}

.form-actions button:hover {
    background-color: #f0cb6d;
    cursor: pointer;
}

input.no-spinner::-webkit-outer-spin-button,
input.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.no-spinner {
    -moz-appearance: textfield;
}

.status {
    text-align: center;
    color: #131126;
}

.error-msg {
    display: block;
    color: #fd0000;
    margin: 0.5vh 0 2vh;
    text-align: center;
}

#form-message {
    color: #5f9710;
    margin: 0 auto;
    font-family: kalamehBoldEn;
    max-width: 75vw;
    text-align: center;
}

#icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 85vw;
    margin: auto;
    gap: 5vh 2vw;
}

.box {
    width: 22.5vw;
    height: 35vh;
    /* margin: 2vh 2vw; */
    /* background-color: #b9b0a538; */
    /* border-radius: 15px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.box img {
    width: 12.5vw;
    max-width: 100%;
    display: block;
}

/* .item1 div{
} */

.box h3 {
    /* direction: ltr; */
    /* text-align: left; */
    font-family: kalamehBold;
    font-size: 20px;
    margin: 1vh 0;
}

.box span {
    font-size: 15px;
    max-width: 70%;
    margin: 0 auto;
    display: flex;
    text-align: center;
}

#brickBox {
    border-radius: 50px;
    margin: 0 auto 45vh;
    padding-top: 5vh;
}

#brickImage {
    max-width: 80%;
    height: 75vh;
    display: block;
}

.full-width {
    /* width: 100vw; */
    text-align: center;
    margin: 10vh 0;
}

#buttons {
    width: 85vw;
    margin: 9vh auto;

}

#buttons a {
    width: 40vw;
    /* color: #000; */
    border-radius: 50px;
    height: 11.5vh;
    text-align: center;
    line-height: 11.5vh;
    font-family: kalamehBold;
    font-size: 24px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

#aboutSign {
    /* border: 4px solid #ffffff00; */
    color: #ffcc50;
    --worm-stroke: 4;
}

#aboutSign:hover {
    background-color: #f0cb6d;
    /* border: 3px solid #; */
    color: #ffff;
    cursor: pointer;
}

#aboutArvanehFlower {
    /* border: 4px solid #ffffff00; */
    color: #cf7bff;
    --worm-color: #cf7bff;
    --worm-stroke: 4;
}

#aboutArvanehFlower:hover {
    background-color: #c1a8ea;
    color: #ffff;
    cursor: pointer;
}

@media (max-width: 1100px) {
    @keyframes opening {
        0% {
            height: 10vh;
        }

        35% {
            height: 15vh;
        }

        100% {
            height: 40vh;
        }
    }

    #jourchinImage {
        /* height: 15vh; */
        width: 100%;
        max-width: 45vw;
        max-height: 35vh;
        height: auto;
        height: fit-content;
        margin: auto -5vw auto 0;
    }

    /* #verticalLine {
        margin: 0;
        height: 50vw;
        right: 0;
        position: relative;
        transform: rotate(90deg);
    }

    #arvanehLogo {
        height: 15vh;
    } */

    #subBtn {
        width: 75vw;
        height: 7.5vh;
        border-radius: 10vh;
        /* border: #131126 3px solid; */
        margin-top: 7.5vh;
        font-size: 20px;
    }

    #ideaForm {
        /* min-height: max-content; */
        margin: 5vh 0;
        height: 40vh;
    }

    input {
        width: 65vw;
        background-color: transparent;
        height: 6vh;
        padding: 2vh 1.5vh;
        margin: 0;
        font-size: var(--text-size-medium);
    }

    .ideaExplain {
        width: 80vw;
        min-height: 10vh;
        padding: 1vh 1.25vh;
        font-size: 14px;
    }

    .form-actions {
        width: 65vw;
    }

    .form-actions button {
        height: 6vh;
        width: 20vw;
        margin: 0;
        font-size: 16px;
    }

    #prevBtn {
        width: 35%;
    }

    /* #explain p {
        width: 40%;
    } */

    #icons {
        width: 90vw;
        margin: 5vh auto 0;
        gap: 0vh 2vw;
    }

    .box {
        width: 70vw;
        height: 25vh;
        margin: 1vh 1vw;
    }

    .box div {
        height: 7.5vh;
        width: 7.5vh;
    }

    .box img {
        width: 25vw;
    }

    .box h3 {
        font-size: calc(var(--text-size-large) + 0.5vh);
        max-width: 80%;
        margin: 0 0 1vh;
    }

    .box span {
        font-size: var(--text-size-regular);

    }

    #brickBox {
        width: 80vw;
        height: 15vh;
        margin: 2.5vh auto 10vh;
        flex-direction: column-reverse;
        align-items: center;
        padding: 3vh 1.5vh;
    }

    .full-width {
        padding: 5vh 0;
    }

    #buttons {
        flex-direction: column;
        align-items: center;
        gap: 4vh 0;
        margin: 5vh auto;
    }

    #buttons a {
        width: 75vw;
        height: 7.5vh;
        line-height: 7.5vh;
        font-size: 20px;
    }
}