﻿@font-face {
    font-family: 'Phonk';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/PhonkSans-SemiBold.otf') format('opentype');
}

@font-face {
    font-family: 'Phonk';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/PhonkSans-Black.otf') format('opentype');
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #fff;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-image: url('../images/login/academic-hub-bg.webp');
    background-position: bottom center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    font-family: 'Poppins';
    padding: 30px;
}

    .main h2 {
        font-family: 'Poppins';
        font-size: 32px;
        font-weight: 600;
        color: white;
        margin: 0;
    }

        .main h2.phonk {
            font-family: 'Phonk';
            font-size: 23px;
            font-weight: 900;
        }

    .main h3 {
        font-family: 'Poppins';
        font-size: 26px;
        font-weight: 600;
        color: white;
        margin: 0;
    }

        .main h3.phonk {
            font-family: 'Phonk';
            font-size: 22px;
        }

    .main p {
        font-family: 'Poppins';
        font-size: 18px;
        font-weight: 600;
        line-height: 1.2em;
        color: white;
    }

    .main a:hover {
        color: #ccc;
    }

    .main hr {
        margin: 40px 0;
        border-color: #300db2;
    }

.main-container {
    width: 870px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.btn-outline-violeta {
    color: #4A148C;
    background-color: transparent !important;
    border: 1px solid #4A148C !important;
}

    .btn-outline-violeta:hover {
        color: #FFF;
        background-color: #4A148C !important;
        border: 1px solid #4A148C !important;
    }

.logo-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
}

    .logo-header img {
        height: 68px;
    }

    .logo-header h2 {
        font-size: 22px;
    }

.login-container {
    max-width: 430px;
}

    .login-container h3 {
        font-size: 24px;
        margin-bottom: 20px;
        color: #000;
    }

.form-group {
    margin-bottom: 12px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    border: 1px solid #ccc;
}

input[required]::placeholder {
    color: #888;
}

.form-links {
    font-size: 13px;
    margin: 0 0 10px;
    text-align: center;
}

    .form-links a {
        color: #fff;
        text-decoration: none;
        margin: 0 5px;
    }

        .form-links a:hover {
            text-decoration: underline;
        }

.login-button, .btn-contacto {
    background: #000;
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    margin-bottom: 10px;
}

.social-buttons {
    display: flex;
    gap: 10px;
    /*margin-bottom: 20px;*/
}

    .social-buttons a {
        flex: 1;
        padding: 6px 10px;
        border: none;
        border-radius: 8px;
        font-size: 12px;
        color: white;
        cursor: pointer;
    }

    .social-buttons .btn-google {
        background: white;
        color: #666;
    }

        .social-buttons .btn-google i {
            color: #dc4e41;
        }

.store {
    margin-top: auto;
    margin-bottom: 2px;
}

    .store a {
        margin: 3px;
    }

    .store img {
        height: 35px;
        width: auto;
    }

body .kt-login-v2 .kt-login-v2__footer {
    width: 100%;
    color: #fff;
    padding: 0 !important;
    margin-top: 30px;
}

.kt-login-v2__footer #ss_img {
    filter: brightness(0) invert(1);
}

@media (max-width:1024px) {
    .main h2.phonk {
        font-size: 18px;
    }

    .main h3.phonk {
        font-size: 20px;
    }

    .main p {
        font-size: 16px;
    }

    .main-container {
        width: 700px;
    }

    .logo-header {
        margin-bottom: 40px;
    }

        .logo-header img {
            height: 52px;
        }

        .logo-header h2 {
            font-size: 18px;
        }

    .login-container {
        width: 100%;
        margin: 30px auto 0;
    }

    .row h3, .row:not(.foot) p {
        text-align: center;
    }

    .store {
        margin: 10px 0 10px;
        text-align: center;
    }

    .login-button, .btn-contacto {
        font-size: 14px;
    }
}

@media (max-width:760px) {
    .main {
        height: 100%;
        padding: 20px;
    }

        .main h2.phonk {
            text-align: center;
        }

    .main-container {
        width: 500px;
    }

    .logo-header {
        gap: 20px;
        margin-bottom: 30px;
    }

        .logo-header img {
            height: 50px;
        }

        .logo-header h2 {
            font-size: 18px;
        }

    .logo-header {
        text-align: center;
    }

    .login-content {
        max-width: 100%;
        margin: 0;
    }

    .login-container {
        order: 1;
    }

    .form-links {
        font-size: 12px;
    }

    .kt-login-v2__footer {
        text-align: center;
    }

        .kt-login-v2__footer .footer-logos {
            margin-top: 10px;
        }
}

@media (max-width:540px) {
    .main h2.phonk {
        font-size: 14px;
    }

    .main h3.phonk {
        font-size: 18px;
    }

    .main p {
        font-size: 14px;
    }

    .main-container {
        width: 100%;
    }

    .logo-header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

        .logo-header img {
            height: 46px;
        }

        .logo-header h2 {
            font-size: 16px;
            text-align: center;
        }

    .login-container {
        margin-top: 20px;
    }

    .login-button, .btn-contacto {
        font-size: 12px;
    }

    .store {
        margin-bottom: 0;
    }

        .store img {
            margin-bottom: 10px;
        }

    .social-buttons {
        flex-wrap: wrap;
    }

    .main hr {
        margin: 30px 0;
    }
}
