@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

body {
    background-color: #f3f5fc;
    padding: 20px;
    font-weight: 500;
}

header {
    margin-bottom: 20px;
}

.footer{
    margin-top: 30px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.logo {
    width: 120px;
}

main {
    display: flex;
    gap: 20px;
}

.input-section, .output-section {
    flex: 1;
}

textarea {
    width: 100%;
    height: 300px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    resize: none;
    font-size: 16px;
}

#input-text {
    background-color: transparent;
}

.info {
    margin: 10px 0;
    font-size: 14px;
    color: #495057;
}

.buttons {
    display: flex;
    gap: 10px;
}

button {
    padding: 15px 20px;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#encrypt-btn {
    background-color: #0a3871;
    color: white;
}

#decrypt-btn {
    background-color: #d8dfe8;
    color: #0a3871;
    border: 1px solid #0a3871;
}

.output-section {
    background-color: white;
    border-radius: 32px;
    padding: 20px;
    box-shadow: 0 24px 32px -8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#no-message {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-image {
    width: 200px;
    margin-bottom: 20px;
}

#output-text {
    display: none;
}

#copy-btn {
    background-color: white;
    color: #0a3871;
    border: 1px solid #0a3871;
    margin-top: 10px;
}

@media (max-width: 768px) {
    main {
        flex-direction: column;
    }

    .search-image {
        display: none;
    }
}

.info {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 14px;
    color: #495057;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #495057;
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
    cursor: help;
}

.social{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}