@import url('fonts/stylesheet.css');

:root{
    --main-max-width: 980px;
    --main-padding-vertical: 60px;
    --main-padding-horizontal: 20px;
    --icon-size: 72px;
    --gap: 24px;
    --divider-height: 56px;
    --h1-size: 20px;
    --h3-size: 14px;
    --signature-bottom: 80px;
    --signature-width: auto;
    --links-gap: 16px;
    --links-font-size: 14px;
    --signature-img-height: 90px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url('../images/imgbg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #0c0c0c;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

#main-container{
    width: 100%;
    max-width: var(--main-max-width);
    margin: 0 auto;
    padding: var(--main-padding-vertical) var(--main-padding-horizontal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.center-row {
    display: flex;
    align-items: center;
    gap: var(--gap);
}

.icon svg {
    width: var(--icon-size);
    height: var(--icon-size);
    display: block;
}

.divider {
    width: 1px;
    height: var(--divider-height);
    background: rgba(0,0,0,0.12);
}

.title1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title1 h1 {
    font-family: "Aeonik Extended Pro TRIAL";
    font-size: var(--h1-size);
    margin: 0;
    font-weight: 700;
    color: #0c0c0c;
}

.title1 h3 {
    font-size: var(--h3-size);
    margin: 6px 0 0 0;
    font-weight: 400;
    color: rgba(0,0,0,0.42);
}

#signature {
    position: absolute;
    margin: 0 auto;
    bottom: var(--signature-bottom);
    width: var(--signature-width);
    opacity: 0.95;
    left: 50%;
    transform: translateX(-50%);
}

#signature img {
    width: auto;
    height: var(--signature-img-height);
    display: flex;
    justify-content: center;
    align-items: center;
}

.links {
    display: flex;
    gap: var(--links-gap);
    font-family: "Aeonik Fono Pro TRIAL";
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 16px;
    position: fixed;
    bottom: 10px;
    width: calc(100% - 20px);
    margin: 10px 10px 0 10px;
}

.links a {
    text-decoration: none;
    color: #0c0c0c;
    font-size: var(--links-font-size);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* Responsive breakpoints */

@media (max-width: 1400px) {
    :root{
        --main-max-width: 1100px;
        --main-padding-vertical: 56px;
        --gap: 22px;
        --icon-size: 84px;
        --divider-height: 64px;
        --h1-size: 22px;
        --h3-size: 15px;
        --signature-bottom: 72px;
        --signature-img-height: 110px;
    }
}

@media (max-width: 1200px) {
    :root{
        --main-max-width: 1000px;
        --main-padding-vertical: 52px;
        --gap: 20px;
        --icon-size: 76px;
        --divider-height: 60px;
        --h1-size: 20px;
        --h3-size: 15px;
        --signature-bottom: 68px;
        --signature-img-height: 100px;
    }
}

@media (max-width: 1100px) {
    :root{
        --main-padding-vertical: 48px;
        --gap: 18px;
        --icon-size: 68px;
        --divider-height: 52px;
        --h1-size: 19px;
        --h3-size: 14px;
        --signature-bottom: 64px;
        --signature-img-height: 90px;
    }
}

@media (max-width: 900px) {
    .center-row {
        flex-direction: column;
        gap: 12px;
    }
    .divider { display: none; }
    :root{
        --icon-size: 72px;
        --h1-size: 18px;
        --h3-size: 14px;
        --signature-bottom: 48px;
        --signature-img-height: 90px;
        --links-font-size: 13px;
    }
    #signature { width: auto; }
    .links {
        width: calc(100% - 70px);
        margin: 4px 0 0 0;
        justify-content: center;
    }
}

@media (max-width: 800px) {
    :root{
        --main-padding-vertical: 40px;
        --gap: 14px;
        --icon-size: 64px;
        --h1-size: 17px;
        --h3-size: 13px;
        --signature-bottom: 44px;
        --links-font-size: 13px;
        --signature-img-height: 90px;
    }
    #main-container{ padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 700px) {
    :root{
        --main-padding-vertical: 36px;
        --gap: 12px;
        --icon-size: 56px;
        --h1-size: 16px;
        --h3-size: 13px;
        --signature-bottom: 40px;
        --links-font-size: 12px;
        --signature-img-height: 80px;
    }
    #signature { width: auto; }
}

@media (max-width: 500px) {
    :root{
        --main-padding-vertical: 28px;
        --gap: 10px;
        --icon-size: 52px;
        --h1-size: 15px;
        --h3-size: 13px;
        --signature-bottom: 36px;
        --links-font-size: 12px;
        --signature-img-height: 80px;
    }
    .links { gap: 12px; }
    #signature { width: auto; bottom: var(--signature-bottom); }
}

@media (max-width: 400px) {
    :root{
        --main-padding-vertical: 22px;
        --gap: 8px;
        --icon-size: 48px;
        --h1-size: 14px;
        --h3-size: 12px;
        --signature-bottom: 32px;
        --links-font-size: 11px;
        --signature-img-height: 80px;
    }
    #main-container{ padding-left: 12px; padding-right: 12px; }
    .links { width: calc(100% - 40px); }
}

@media (max-width: 300px) {
    :root{
        --main-padding-vertical: 18px;
        --gap: 6px;
        --icon-size: 40px;
        --h1-size: 13px;
        --h3-size: 11px;
        --signature-bottom: 28px;
        --links-font-size: 11px;
        --signature-img-height: 70px;
    }
    .title1 h1 { font-size: var(--h1-size); }
    .title1 h3 { font-size: var(--h3-size); }
    #signature { width: auto; }
}

