body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    background-color: #6cc788;
    background: linear-gradient(180deg, rgba(35, 193, 170, 1) 0%, rgba(108, 199, 136, 1) 35%, rgba(212, 223, 97, 1) 100%);
    min-height: 100vh;
    height: 100%;
    display: flex;
}

main{
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 320px;
}

.fullscreen{
    flex: 1;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-bottom: 3rem;
}

.header {
    color: #ffffff;
    max-width: 768px;
    margin: auto;
    /* margin-top: 4rem; */
    margin-bottom: 2.5rem;
}

.faq{
    display: flex;
    padding: 2rem;
}

.card {
    max-width: 768px;
    width: 100%;
    padding: 2rem;
    margin: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.platform-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.platform-button {
    color: #6c757d;
    border: 0;
    padding: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid #f0f0f0;
    transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.platform-button:hover {
    color: #454b51;
    border-color: #d4d4d4;
}

.platform-button.active {
    color: white;
    background-color: #6cc788;
    border-color: #6cc788;
}

.platform-button i {
    font-size: 24px;
}

textarea.form-control {
    resize: none;
}

textarea.form-control:focus {
    border-color: #6cc788 !important;
    box-shadow: 0 0 0 0.2rem rgba(108, 199, 136, 0.25) !important;
}

.tones {
    display: flex;
    justify-content: flex-start;
    gap: 0.2rem;
    background-color: rgba(128, 140, 177, 0.1);
    border-radius: 0.375rem;
    padding: 0.1rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.tone-button {
    flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s;
    border: none;
}

.tone-button:hover{
    background-color: rgba(128, 140, 177, 0.15);
}

.tone-button.active {
    background-color: #6cc788 !important;
    color: white !important;
}

.form-check .form-check-label::before {
    background-color: #dc3545 !important;
}

.form-check .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%236cc788'/%3e%3c/svg%3e");
    border-color: #6cc788 !important;
    box-shadow: 0 0 0 0.2rem rgba(108, 199, 136, 0.25) !important;
}

.form-check .form-check-input:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e");
    background-color: #6cc788 !important;
    border-color: #6cc788 !important;
}

#language {
    width: 150px;
    /*
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    */
}

#generate{
    min-width: 350px;
}

.developed{
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.developed img{
    width: 250px;
}

select:focus {
    border-color: #6cc788 !important;
    box-shadow: 0 0 0 0.2rem rgba(108, 199, 136, 0.25) !important;
}

.btn-success {
    background-color: #6cc788;
    border-color: #6cc788;
}

.btn-success:hover {
    background-color: #5ab377;
    border-color: #5ab377;
}

.loader {
    width: 48px;
    height: 48px;
    margin: auto;
    border: 5px solid #6cc788;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.faq-section {
    max-width: 800px;
    margin: auto;
    color: #ffffff;
}

.tooltip{
    --bs-tooltip-padding-x: 0.75rem;
    --bs-tooltip-padding-y: 0.35rem;
    --bs-tooltip-bg: var(--bs-gray-900);
}

@media (max-width: 1024px){
    .tones {
        flex-wrap: wrap;
    }

    .header {
        margin-top: 3rem;
    }    
}

@media (max-width: 1024px){
    textarea.form-control{
        min-height: 160px;
    }   
}

@media (max-width: 550px){
    body{
        --bs-body-font-size: 0.88rem;
    }   

    .header {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }        
    
    .fullscreen{
        padding: 1rem;
    }    

    .developed img{
        max-width: 200px;
    }

    .platform-buttons {
        gap: 0.3rem;
    }    
    
    .platform-button {
        width: 38px;
        height: 38px;
    }

    .platform-button i{
        font-size: 19px;
    }

    #generate{
        min-width: 200px;
    }    
}

@media (max-width: 460px){
    .card{
        padding: 1.25rem;
    }

    .faq{
        padding: 1rem;
    }
}

@media (max-width: 415px){
    .fullscreen{
        padding: 0.5rem;
    }    
}