* {
    font-family: lato, ubuntu, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
}

body {
    background-color: #f8f7f7;
    color: black;
    padding: 20px;
}

.intro {
    background-color: #f7f7f7;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: left;
}

.intro h1 {
    font-size: 4rem;
    font-weight: bold;
    color: #000000;
    margin: 0;
}

.intro p {
    font-size: 1.2rem;
    color: #555;
    margin-top: 10px;
}

.chat-container {
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.chat-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
}

.left-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
}

.emoji {
    font-size: 2.5rem;
    margin-right: 10px;
}

.title {
    font-size: 1.8rem;
    font-weight: bold;
}

.chat-log {
    background-color: rgb(250, 249, 244);
    padding: 25px;
    border-radius: 10px;
    width: 60%;
    box-shadow: 10px 10px 70px rgba(0,0,0,0.1);
}

.message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.pfp {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.name-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    color: #555;
}

.text {
    font-size: 16px;
    max-width: 300px;
    word-wrap: break-word;
    margin-left: 0;
    color: black;
    text-align: left;
}

.right-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-top: 30px;
    width: 50%;
    font-size: 1.2rem;
    color: #555;
}

.info {
    text-align: center;
    margin-top: 25px;
    font-size: 1.4rem;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 30px;
}

ul li {
    position: relative;
    padding-left: 25px;
}

ul li::before {
    content: "✖";
    font-size: 16px;
    color: rgb(255, 57, 57);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.good-list li::before {
    content: "✔"; 
    font-size: 16px;
    color: rgb(103, 221, 103);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.typewriter {
    display: inline-block;
    font-size: 2em;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid black;
    animation: typing 3s steps(16) 1s forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }

    .chat-item {
        flex-direction: column;
        gap: 20px;
    }

    .left-side, .right-side {
        width: 100%;
    }

    .chat-log {
        width: 100%;
    }

    .intro h1 {
        font-size: 2.5rem;
    }

    .intro p {
        font-size: 1rem;
    }

    .title {
        font-size: 1.5rem;
    }

    .name-time {
        font-size: 1rem;
    }

    .text {
        font-size: 14px;
    }

    .emoji {
        font-size: 2rem;
    }

    .pfp {
        width: 40px;
        height: 40px;
    }

    .message {
        margin-bottom: 12px;
    }

    .info {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .intro h1 {
        font-size: 2rem;
    }

    .intro p {
        font-size: 0.9rem;
    }

    .title {
        font-size: 1.2rem;
    }

    .message {
        margin-bottom: 8px;
    }

    .pfp {
        width: 35px;
        height: 35px;
    }

    .chat-log {
        padding: 15px;
    }
}
