/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

/* TalTech LimeSurvey homepage only; safe to append to css/custom.css. */

.taltech-home {
    color: #263442;
}

.taltech-home .taltech-hero {
    max-width: 940px;
    margin: 0 auto;
    padding: 50px 0 48px;
}

.taltech-home .taltech-logo {
    width: min(340px, 85%);
    margin: 0 auto 28px;
}

.taltech-home .taltech-logo svg {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.taltech-home h1 {
    margin: 0 auto 12px;
    max-width: 940px;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.taltech-home .taltech-subtitle {
    margin: 0;
    font-size: 1.2rem;
    color: #5a6876;
}

.taltech-home .taltech-login {
    display: inline-block;
    margin-top: 30px;
    padding: 11px 30px;
    border: 1px solid #087a40;
    border-radius: 5px;
    background: #087a40;
    color: #fff;
    font-size: 1rem;
    font-weight: 650;
    text-decoration: none;
}

.taltech-home .taltech-login:hover,
.taltech-home .taltech-login:focus {
    background: #075c31;
    border-color: #075c31;
    color: #fff;
}

.taltech-home .taltech-login:focus-visible,
.taltech-home .taltech-link-button:focus-visible {
    outline: 3px solid #1b77ad;
    outline-offset: 3px;
}

.taltech-home .taltech-info {
    max-width: 1040px;
    margin: 0 auto 65px;
    padding-top: 30px;
    border-top: 1px solid #dce2e7;
    font-size: 1rem;
    line-height: 1.7;
}

.taltech-home .taltech-info-column p {
    margin: 0 0 17px;
}

.taltech-home .taltech-resources {
    margin-top: 28px;
}

.taltech-home .taltech-resources p {
    margin-bottom: 8px;
}

.taltech-home .taltech-resources strong {
    font-weight: 650;
}

.taltech-home .taltech-info a,
.taltech-home .taltech-link-button {
    color: #075f92;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.taltech-home .taltech-link-button {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.taltech-home .taltech-link-button:hover,
.taltech-home .taltech-info a:hover {
    color: #043e60;
}

.taltech-home .taltech-placeholder {
    color: #6a727b;
    font-style: italic;
}

/* Keep both columns side by side on tablet and desktop. */
@media (min-width: 768px) {
    .taltech-home .taltech-info-column-en {
        padding-left: 20px;
    }
}

@media (max-width: 767.98px) {
    .taltech-home .taltech-hero {
        padding: 30px 0 34px;
    }

    .taltech-home .taltech-logo {
        width: min(280px, 85%);
        margin-bottom: 22px;
    }

    .taltech-home .taltech-info {
        margin-bottom: 40px;
        padding-top: 24px;
    }

    .taltech-home .taltech-info-column-en {
        padding-top: 24px;
        border-top: 1px solid #dce2e7;
    }
}
