/* static/css/user/main.css */

@charset "UTF-8";

/* Libre Baskerville Font */
@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    background-color: #f7faff;
    color: #303030;
    line-height: 1.6;
    /* For WebKit browsers (Chrome, Safari) */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Optional: Improve text rendering */
    text-rendering: optimizeLegibility;
}

/* CSS Reset + Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

h1 {
    font-family: "Libre Baskerville", serif;
    font-weight: 600;
    font-size: 36px;
    text-wrap: pretty;
    line-height:normal;
}

h2 {
    font-family: unset;
    font-weight: 700;
    font-size: 24px;
    text-wrap: balance;
}

a{
    color: #274285;
    text-decoration: none;
}

a:hover{
    color: #274285;
}

.grey{
    color: #4B4B4B;
}

.user-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

/* Alert */

.alert {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    color: #274285;
    background: #EBF5FF;
    padding: 10px;
    border-radius: 8px;
    line-height: normal;
    font-size: 14px;
    min-height: 50px;
    border: none;
}

/* Content Container */

section {
    padding: 60px 0;
}

.content-container {
    width: 100%;
    padding: 40px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #eaeffa;
    box-shadow: 0px 2px 6px rgb(230 237 252 / 56%);
}

.content-area{
    display: flex;
    flex-direction: column;
    max-width: 700px;
    min-height: 400px;
    margin: 0px auto;
}

/* Header Section */

.header-container {
    margin-bottom: 20px;
}

.header-info{
    margin: 0;
}

.header-img{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.btn-transparent{
    padding: 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.btn-transparent:hover{
    background: aliceblue;
}

.content-area .btn-primary{
    margin-top: auto;
}

@media only screen and (max-width: 768px) {

    section {
      padding: 40px 10px;
    }

    .header-img img{
        width: 90%;
        margin: auto;
    }

    .content-area{
        min-height: auto;
    }

    section.tests-footer{
        padding: 0;
    }

    .content-container{
        padding: 20px;
    }

    .btn-transparent{
        display: flex;
        justify-content: center;
    }
}