body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 0 20px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    max-width: 400px;
}

h2 {
    color: #333;
} 

.button_div {
    width: 90%;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
        
    &:hover {
        background-color: #45a049;
    }
}

.custom_button {
    margin-top: 20px;
    cursor: pointer;
    border-radius: 4px;
    background-color: #0000ff6c;
    color: white;
    border: none;
    padding: 8px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;

    &:hover {
        background-color: rgba(0, 0, 255, 0.493);
    }
}

#textOutput {
    margin-top: 20px;
    white-space: pre-wrap;
    text-align: left;
    background-color: #eee;
    padding: 3px;
    border-radius: 4px;
}

.spin {
    -webkit-animation: spin 3s linear infinite; /* Safari */
    animation: spin 3s linear infinite;
}

.logo {
    height: 120px;
}

.save_button {
    margin-top: 20px;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.description {
    margin-block-start: 0;
    max-width: 400px;
    display: flex;
    margin: 5px auto;
    font-size: 0.8rem;
}

footer {
    background-color: rgba(255, 255, 255, 0.5);
    position: relative;
    bottom: 0;
    width: 50%;
    text-align: center;
    padding: 10px 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

footer span {
    margin-right: 10px;
    color: #333;
}

.github_logo {
    height: 30px;
}

/* Медиазапросы для мобильных устройств */
@media screen and (max-width: 768px) {
    body {
        padding: 5px;
    }

    .container {
        width: 95%;
    }

    .loader {
        width: 30px;
        height: 30px;
    }

    .description {
        font-size: small;
    }

    footer {
        width: 100%;
        font-size: small;
    }
}
