﻿/* Header */
.navbar {
    background-color: #2c3e50 !important;
}

.navbar-brand,
.navbar-nav .nav-link {
    color: #fff !important;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: #fff !important;
        background-color: #2c3e50 !important;
    }

.btn-primary {
    background-color: #2c3e50 !important;
    border-color: #2c3e50 !important;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: #1a2533 !important;
        border-color: #1a2533 !important;
    }

/* Main */
.container-fluid {
    background-color: #f5f5f5 !important;
}

.definition {
    background-color: #fff !important;
    color: #2c3e50 !important;
}

.input-group {
    border-color: #e74c3c !important;
}

.input-group-text {
    background-color: #fff !important;
    border-color: #e74c3c !important;
    color: #e74c3c !important;
}

html, body {
    height: 100%;
    margin: 0;
}

main {
    flex-grow: 1;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: -60px; /* Set this to the height of the footer */
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    color: #2c3e50;
    padding: 20px;
    text-align: center;
}

/* Fix for the footer overlapping the content */
.wrapper:after {
    content: "";
    display: block;
    height: 60px; /* Set this to the height of the footer */
}

/* Sticky footer */
.footer {
    position: relative;
    margin-top: -60px; /* Set this to the negative height of the footer */
    clear: both;
    background-color: #f5f5f5 !important;
    color: #2c3e50 !important;
}

.definition-wrapper,
.input-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-refresh {
    color: #2c3e50 !important;
    border-color: #2c3e50 !important;
}

    .btn-refresh:hover {
        color: #fff !important;
        background-color: #2c3e50 !important;
    }

.meaning-container {
    display: flex;
    flex-direction: column;
}

.meaning-text {
    width: 400px; /* set a fixed width */
    max-width: 400px;
}
/* adjust width for smaller screens */
@media only screen and (max-width: 768px) {
    .meaning-input input[type="text"] {
        width: 100%; /* full width for screens smaller than 768px */
        max-width: none; /* remove the max width */
    }
    .meaning-text {
        width: 100%; /* full width for screens smaller than 768px */
        max-width: none; /* remove the max width */
    }
}

@media only screen and (max-width: 576px) {
    .btn-sm-custom {
        width: 80%;
    }
} 