/* FONT */
@font-face {
    font-family: 'Oregon Reg';
    src: url('../fonts/oregon-ldo-font/OregonLdo-d9q7.ttf') format('truetype');
}

#converter-label {
    font-size: 1rem;
    margin-bottom: 0;
    display: inline-block;
    font-weight: 600;
}

#converter_h1 {
    font-size: 2rem;
    margin: 0.5rem;
    font-weight: 700;
    color: #1a73e8;
}

select {
    font-size: 1.3rem;
    padding: 0.4rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-family: 'Oregon Reg', 'Inter', Arial, sans-serif;
    margin-bottom:0.5em;
}

#category {
    font-size: 1.2rem;
    padding: 0.4rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-family: 'Oregon Reg', 'Inter', Arial, sans-serif;
    margin-bottom: 0.5em;
}

#fromValue, #toValue, #colorFromValue, #colorToValue {
    font-size: 1.5em;
    text-align: center;
    width:100%;
    margin-bottom: 0.5em;
    border-radius: 0.5rem;
    max-width: 217px;
}

#colorFromValue, #colorToValue {
    max-width: 214px;
}

#convertBtn {
    font-size: 1.2rem;
    padding: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    background: #1a73e8;
    color: #fff;
    cursor: pointer;
    width:100%;
    margin: 0;
}

.result {
    margin: 0.5em 0;
    font-size: 1.2em;
    font-weight: 600;
}

body {
    font-family: 'Oregon Reg', 'Inter', Arial, sans-serif;
    margin: 0;
    background: #f7f9fb;
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    background: #1a73e8;
    color: #fff;
    padding: 2rem 1rem 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

header h1::before, header h1::after {
  content: " 🔧 ";
  font-size: 33px;
}

header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 600;
}
header p {
    margin: 0;
    font-size: 1.2rem;
    opacity: 0.95;
}
main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    flex-grow: 1;
}
section {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    margin-bottom: 2rem;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}
h2 {
    font-size: 1.3rem;
    color: #1a73e8;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5em;
}
ul.converter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.5rem;
}
ul.converter-list li {
    flex: 1 1 220px;
    margin-bottom: 0.5rem;
}
ul.converter-list a {
    text-decoration: none;
    color: #222;
    background: #f1f5fb;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    display: block;
    transition: background 0.15s, color 0.15s;
    font-weight: 500;
}
ul.converter-list a:hover {
    background: #1a73e8;
    color: #fff;
}
@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }
    main {
        padding: 0 0.2rem;
    }
    section {
        padding: 1rem 0.5rem 0.5rem 0.5rem;
    }
    ul.converter-list li {
        flex-basis: 100%;
    }
}


nav {
    text-align: center;
    margin-top: 2em;
}

/* CSS */
.button-6 {
    align-items: center;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.85);
    cursor: pointer;
    display: inline-flex;
    font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 0;
    min-height: 3rem;
    padding: calc(.875rem - 1px) calc(1.5rem - 1px);
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    width: auto;
}

.button-6:hover,
.button-6:focus {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
    color: rgba(0, 0, 0, 0.65);
}

.button-6:hover {
    transform: translateY(-1px);
}

.button-6:active {
    background-color: #F0F0F1;
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
    color: rgba(0, 0, 0, 0.65);
    transform: translateY(0);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    background: #f1f5fb;
    border-top: 1px solid #e0e0e0;
    font-size: 1rem;
    padding: 15px 32%
}

.footer-links .footer-section {
    flex: 1 1 0;
    min-width: 150px;
}

.footer-links .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links .footer-section ul a {
    color: #000;
    text-decoration: none;
}

.footer-links .footer-section ul a:hover {
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}