.card {
    height: 100%;
}

.inner-list {
    margin-bottom: 1em;
}

.content table td {
    width: 50%;
    vertical-align: middle;
}

#test-button:hover {
    animation: gelatine 0.5s;
}

@keyframes gelatine {
    from, to { transform: scale(1, 1); }
    25% { transform: scale(0.9, 1.1); }
    50% { transform: scale(1.1, 0.9); }
    75% { transform: scale(0.95, 1.05); }
}

.control.is-expanded {
    max-width: 300px;
    width: 80px;
}

#testForm {
    padding-left: 2rem;
    padding-right: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: #80a2ef;
    transition: transform 0.3s ease;
}

#testForm:hover {
    transform: translateY(-5px);
}

#testForm .title {
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#testForm .input {
    border: 2px solid #363636;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

#testForm .input:focus {
    border-color: #f08c00;
    box-shadow: 0 0 8px rgba(240, 140, 0, 0.5);
}

#testForm button {
    margin-top: 2rem;
}

.custom-element {
    border-radius: 10px;
    padding: 10px;
    font-size: 18px;
    accent-color: #4CAF50;
}

.custom-element input[type="radio"],
.custom-element input[type="checkbox"] {
    transform: scale(1.5);
}

.custom-element input[type="text"],
.custom-element textarea {
    border: 2px solid #363636;
}

/* switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4CAF50;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

#html-elements-table .table th, #html-elements-table .table td {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 50%;
    vertical-align: middle;
}

#html-elements-table .table th {
    background-color: #f0f0f0;
    text-align: left;
    font-weight: 600;
}

.custom-input, .custom-textarea {
    border: 2px solid #0029bb;
    border-radius: 8px;
}

.custom-input:focus, .custom-textarea:focus {
    border-color: #f08c00;
    box-shadow: 0 0 8px rgba(240, 140, 0, 0.5);
}
