:root {
    --primary-color: #ff4949;
    --secondary-color: #010001;
    --third-color: #fcfdfc;
    --primary-color1: #00abe4;
    --secondary-color1: #e8f1fa;
    --third-color1: #fefeff;
}

@font-face {
    font-family: "Netflix";
    src: url('Netflix_Fonts/NetflixSans-Regular.otf');
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: "Netflix";
    scrollbar-width: thin;
}

body {
    height: 100%;
    background-color: var(--secondary-color1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

footer {
    width: 100%;
    height: 80px;
    background-color: var(--primary-color1);
    color: var(--third-color1);
    justify-content: center;
    align-content: center;
    text-align: center;
    font-size: 1.3rem;
    bottom: 0px;
    padding-top: 15px;
    padding-bottom: 15px;
}

a {
    color: #fff;
    text-decoration: none;
}

h1 {
    color: var(--third-color1);
    margin-top: 35px;
    font-size: 3rem;
    background-color: var(--primary-color1);
    padding: 10px 30px;
    user-select: none;
}

p {
    width: 250px;
    font-size: 1.2rem;
    /* background-color: var(--primary-color1); */
    color: var(--primary-color1);
    overflow: hidden; /* Ensures text is hidden until revealed */
    border-right: 0.15em solid var(--primary-color1); /* Cursor effect */
    white-space: nowrap; /* Prevents text wrapping */
    margin: 0 auto;
    letter-spacing: 0.05em;
    text-align: center;
    animation: typing 3s steps(30, end), blink 0.7s step-end infinite;
}

p::selection {
    color: var(--third-color1);
    background-color: var(--primary-color1);
}

@keyframes typing {
  0% {
    width: 0;
  }
  100% {
    width: 250px;
  }
}

@keyframes blink {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary-color1);
  }
}

.main-content {
    width: 90%;
    max-width: 1300px;
    min-height: 300px;
    background-color: var(--third-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
}

#input-value {
    min-height: 550px;
    max-height: 650px;
    width: 100%;
    resize: none;
    border-radius: none;
    border: 1px solid var(--primary-color1);
    outline: none;
    font-size: 1.5rem;
    padding: 25px;
    overflow: auto;
    caret-color: var(--primary-color1);
    color: var(--primary-color1);
    line-height: 1.5;
    scrollbar-width: thin;
    background-color: var(--third-color1);
}

#input-value::placeholder {
    color: rgba(0, 21, 28, 0.25);
    user-select: none;
}

#input-value::selection {
    background-color: var(--primary-color1);
    color: var(--third-color1);
}

.result-div {
    width: 100%;
    max-height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    color: var(--third-color1);
}

.result-div div {
    width: 220px;
    height: 50px;
    background-color: var(--primary-color1);
    font-size: 1.2rem;
    font-weight: 300;
    transition: transform 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.result-div div:hover {
    transform: scale(1.05);
}

span {
    letter-spacing: 2px;
}

@media screen and (max-width: 615px) {
    .result-div {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    .result-div div {
        width: 100%;
    }
    h1 {
    margin-top: 30px;
    font-size: 2.5rem;
    }

}