:root {
    --logo-bg: #f5f0ed;
    --orange-1: #c66011;
    --orange-2: #e37823;
    --orange-3: #e47d2c;
    --orange-4: #e67f33;
    --orange-5: #e6883e;
    --orange-6: #e88f48;
    --orange-7: #ea9655;
    --orange-8: #ed9c5a;
    --orange-9: #eda061;
}

@font-face {
    font-family: 'klore';
    src: url('../Fonts/klore-demo.ttf')
        format('opentype');
}

@font-face {
    font-family: 'montserrat-variable';
    src: url('../Fonts/Montserrat-VariableFont_wght.ttf')
        format('trueType');
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;   /* Fica atrás do conteúdo */
    width: 100vw;  /* largura da tela */
    height: 100vh; /* altura da tela */
}

.center-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

h1 {
    color: white;
    font-size: 50pt;
    font-family: 'montserrat-variable', sans-serif;
    font-weight: 300;
    text-align: center;
}

h1 span {
    font-family: 'klore', sans-serif;
    font-size: 75pt;
}

.Construction-Logos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-left: auto;
    margin-right: auto;
}

.Construction-logo-group {
    background-color: var(--logo-bg);
    width: 354px;
    height: 151px;
    padding-top: 18px;
    padding-bottom: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: inset 0 4px 16px rgba(0,0,0,0.15), inset 0 -2px 8px rgba(0,0,0,0.10);
}

.Construction-logo-group p,
.Construction-logo-group a {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
}

.Construction-logo-group p {
    font-family: 'montserrat-variable', sans-serif;
    font-size: 12pt;
}

.UFTM-link img {
    width: 130px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.FAPEMIG-link img {
    width: 149px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.social-icons a {
    text-decoration: none;
    width: 36px;
    height: 35px;
    padding: 10px;
    padding-top: 11px;
    background-color: var(--logo-bg);
    margin-right: 15px;
    margin-left: 15px;
    border-radius: 50%;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.15), inset 0 -1px 4px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a i {
    font-size: 2em;
    color: var(--orange-7);
    opacity: 0.7;
}

.social-icons a:hover i {
    color: var(--orange-1);
    opacity: 1;
    transition: 0.2s;
}

@media (max-width: 850px) {
    h1 {
        font-size: 35pt;
    }
    h1 span {
        font-size: 53pt;
    }
    .Construction-logo-group {
        width: 301px;
        height: 129px;
        padding-top: 12px;
        padding-bottom: 15px;
    }
    .UFTM-link img {
        width: 104px;
    }
    .FAPEMIG-link img {
        width: 119px;
    }
    .social-icons {
        margin-top: 40px;
    }
}

@media (max-width: 680px) {
    h1 {
        font-size: 25pt;
    }
    h1 span {
        font-size: 36pt;
    }
    .Construction-Logos {
        flex-direction: column;
        gap: 16px;
    }
    .Construction-logo-group {
        width: 248px;
        height: 106px;
        padding-top: 9px;
        padding-bottom: 11px;
    }
    .Construction-logo-group p{
        font-size: 70%
    }
    .UFTM-link img {
        width: 85px;
    }
    .FAPEMIG-link img {
        width: 98px;
    }
    .social-icons {
        margin-top: 30px;
    }
    .social-icons a {
        margin-right: 10px;
        margin-left: 10px;
    }
}

@media (pointer: coarse) {
  /* Regras para dispositivos touch, como celulares e tablets */
    .social-icons a i {
        color: var(--orange-1);
        opacity: 1;
    }
}
