html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

#ujenzi-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: #8f3838;
}

#landing-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    display: flex;
    text-align: center;
}

#landing-text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem;
}

@media (max-width:700px) {
    #landing-title {
        font-size: 1.75rem;
    }

    #landing-text {
        font-size: 0.965rem;
    }
}


.btn>a {
    color: white;
    text-decoration-line: none;
}

.background {
    position: relative;
    flex: 1;
}

.background::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('images/background-min.jpg');
    background-size: cover;
    background-position: center;
    /* filter: blur(1px); */
}

.blur-overlay {
    background: linear-gradient(90deg, rgba(213, 244, 249, 0.9248074229691877) 0%, rgba(196, 235, 249, 0.7451155462184874) 50%, rgba(206, 241, 252, 0.6998774509803921) 75%, rgba(215, 247, 254, 0.60211834733893552) 90%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.logins {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logins>* {
    width: 50%;
}

.content {
    position: relative;
    color: #0f0f0f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#react-root {
    width: 85%;
}

.samples-table {
    width: 100%;
}

form label {
    padding: 0.25rem;
}

#send-prediction-btn {
    margin-top: 0.5rem;
}

.alert {
    padding: 0;
}

.message {
    color: red;
    font-size: smaller;
}

.table-container {
    margin-top: 1.5rem;
}

.samples-table {
    border-collapse: collapse;
    margin: 1.6em 0;
    font-size: 0.9em;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
}

.samples-table thead tr {
    background: rgba(23, 128, 226, 0.695);
    color: black;
    text-align: left;
}

.samples-table thead th,
.samples-table tbody td {
    padding: 0.875em 1em;
    text-align: left;
}

.samples-table tbody tr {
    border-bottom: 1px solid rgb(180, 177, 177);
}

.samples-table tbody tr:nth-of-type(even) {
    background-color: rgba(245, 250, 252, 0.712);
}

@media (max-width: 400px) {
    .samples-table th {
        display: none;
    }

    .samples-table td {
        display: grid;
        gap: 0.5rem;
        grid-template-columns: 20ch auto;
        padding: 0.5rem 0.5rem;
    }

    .samples-table td:first-child {
        padding-top: 2rem;

    }

    .samples-table td:last-child {
        padding-bottom: 2rem;

    }

    .samples-table td::before {
        font-weight: 700;
    }

    .samples-table td:nth-of-type(1)::before {
        content: "Description";
    }

    .samples-table td:nth-of-type(2)::before {
        content: "Date";
    }

    .samples-table td:nth-of-type(3)::before {
        content: "Predicted Strength";
    }

    #landing-title {
        font-size: 1.25rem;
    }
}

#documentation-page {
    position: relative;
}

#docs-container {
    display: flex;
    position: relative;
    margin: 0;
    padding: 0;
    text-align: left;
    line-height: 2;
}

#tableOfContents {
    width: 30%;
    padding: 1.2em;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

#docs {
    flex: 1;
    padding: 1.2em;
    font-weight: 300;
}

#docs h2 {
    margin-top: 1.125rem;
    margin-bottom: 1.125rem;
}

#docs h3 {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

#contacts {
    position: relative;
} 

#contacts a {
    text-decoration-line: none;
}

#contacts > p {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

#contacts a:hover{
    color: blue;
    text-decoration-line: underline;
}

@media (max-width: 768px) {
    #docs-container {
        flex-direction: column-reverse;
    }

    #tableOfContents {
        width: 100%;
        order: 1;
    }

    #docs {
        flex: 1;
        padding: 1.2em;
        order: 2;
    }
}

#docs img {
    max-width: 100%;
    height: auto;
}

.font-awesome-delete,
.font-awesome-undo {
    background: transparent;
    border: none;
    outline: none;
    position: relative;
}

.font-awesome-delete>*:hover {
    color: red;
}

.font-awesome-undo>*:hover {
    color: rgb(12, 194, 12);
}

.font-awesome-delete:hover::before {
    content: "Delete";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 0.75rem;
    display: block;
}

.font-awesome-undo:hover::before {
    content: "Undo";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 0.75rem;
    display: block;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.react-components {
    animation: fadeIn 0.3s ease-in-out;
    /* Apply the fadeIn animation over 0.5 seconds with ease-in-out timing function */
}

#pagination-container {
    display: flex;
    justify-content: space-between;

}

#samples-heading,
#strength-prediction {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
}

#showing-pages {
    font-size: 0.875rem;
}

#body-page{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.footer {
    display: flex;
    justify-content: space-between;
    color: rgb(124, 124, 124);
    text-align: center;
    z-index: 10;
    font-size: 0.875rem;
    padding: 1rem 2rem 0 2rem;
    background-color: rgba(223, 240, 248, 0.5);

    
}

#svg-container{
    display: flex;
    gap: 1rem;
}

#svg-container .svg-icon svg {
    fill: gray;
    transition: fill 0.3s;
}

#svg-container .svg-icon:hover svg {
    fill: black;
}