
body {
    background-color: black;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    min-height: 100vh;
    height: 100%;
}

#htmllogo{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

#csslogo{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

#jslogo{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.code-tabs {
    display: flex;
    justify-content: flex-start;
    background-color: #333;
    padding: 10px;
    border-bottom: 2px solid #444;
    border-radius: 9px;
    margin-top: 50px;
}

.code-tabs button {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    margin-right: 10px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 9px;
    transition: background 0.3s ease;
}

.code-tabs button:hover {
    background: #555;
    border-radius: 9px;
    transform: scale(1.05);
    transition: 0.5s;
}

.code-tabs button.active {
    background: #444;
    border-bottom: 2px solid #ff6347;
}

.code-tab {
    display: none;
    background-color: #1e1e1e;
    color: #fff;
    padding: 5px;
    border: 2px solid #fff;
    border-radius: 20px;
    font-family: monospace;
    font-size: 14px;
    overflow-y: auto;
    max-height: 400px;
}

.code-tab.active {
    display: block;
}

.code-tab pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}


select {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

select:focus {
    border-color: #ff6347;
    outline: none;
}

.header {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-out;
}

.header h1 {
    font-size: 36px;
    color: #fff;
    font-weight: bold;
    background: linear-gradient(90deg, #ff7f50, #ff6347, #ff4500);
    -webkit-background-clip: text;
    background-clip: text;
    padding: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    animation: slideIn 1s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.kutu-1 {
    background-color: transparent;
    border: 2px solid blue;
    width: 90%;
    max-width: 300px; /* Mobil cihazlar için daha geniş alan */
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

#button, #clearButton {
    margin: 10px;
    width: 150px;
    height: 40px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#button {
    background-color: transparent;
    border: 1px solid #fff;
    color: white;
}

#clearButton {
    background-color: transparent;
    border: 1px solid #fff;
    color: white;
}

#button:hover, #clearButton:hover {
    background-color: #fff;
    color: black;
    transform: scale(1.05);
}

#button:active, #clearButton:active {
    transform: scale(0.95);
}

.kutu-2 {
    background-color: transparent;
    width: 90%;
    max-width: 300px;
    height: 40px;
    margin-top: 20px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 28px;
    }

    select {
        width: 100%;  /* Genişlik %100 olacak şekilde */
        font-size: 14px;
    }

    #button, #clearButton {
        width: 100%; /* Butonlar ekran genişliğine göre uyumlu */
        font-size: 14px;
    }

    .kutu-1 {
        width: 100%; /* Alanlar tamamen ekran genişliğine yayılacak */
    }
    .kutu-2{
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 24px;
    }

    #button, #clearButton {
        font-size: 12px; /* Küçük ekranlar için font boyutunu küçülttük */
        padding: 8px;
    }

    .kutu-1, .kutu-2 {
        width: 100%; /* Yine tüm alanlar tam genişlikte olacak */
    }
}