* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: LoveeeLace, system-ui, -apple-system, BlinkMacSystemFont,
        'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
        'Helvetica Neue', sans-serif;
    color: var(--texto);
    letter-spacing: 3px;
    text-wrap: pretty;
}

@font-face {
    font-family: LoveeeLace;
    src: url(../font/Lovelace-ExtraLight.ttf);
}
:root {
    --text: #fff;
    --bg: #191818;
    --bgMenu: #171717fa;
    --menuText: #fff;
    --bgIntroduction: #171717ba;
    --bgNavBar: #17171792;
    --borders: #8c8c8ca3;
    --footer: #1e1e1ea3;
}

body {
    color: var(--text);
    overflow-x: hidden;
    background-color: var(--bg);
    background-image: url(../imgs/bgWebsite.svg);
    background-repeat: repeat;
    text-rendering: optimizeLegibility;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    background: none;
    width: 100%;
    padding: 70px;
    top: 0;
    left: 0;
    z-index: 9999999;
    background: none;
    transition: 0.5s ease;
}

.scrolled {
    background: var(--bgNavBar);
}
.nav-logo {
    align-self: center;
    position: relative;
}

.nav-logo > a {
    position: absolute;
    width: 300px;
}

.nav-logo > a > img {
    width: 100%;
    transition: 0.4s ease;
}

.nav-logo > a > img:hover {
    transform-origin: center;
    transform: scale(1.1);
}
.nav-logo,
.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.hamburguer {
    position: absolute;
    z-index: 9999;
    cursor: pointer;
    width: 50px;
    right: 0;
    margin-right: 100px;
}

.nav-links-bg {
    display: none;
    position: absolute;
    background-color: var(--bgMenu);
    top: 0;
    left: 100%;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100vh;
    animation: showMenu 0.4s ease forwards;
    transition: 0.4s ease;
    z-index: 8888;
    color: var(--menuText);
}

/*Mostrar menu da direita para a esquerda*/
@keyframes showMenu {
    from {
        opacity: 0;
        left: 100%;
    }
    to {
        opacity: 1;
        left: 0;
    }
}
/*Esconder menu da esquerda para a direita*/
@keyframes hideMenu {
    from {
        opacity: 1;
        left: 0;
    }
    to {
        opacity: 0;
        left: 100%;
    }
}

.nav-links > * {
    font-size: 40px;
    list-style: none;
    transition: 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
}
li > a {
    text-decoration: none;
}
li > a:hover {
    text-decoration: underline;
}

.separator {
    width: 3px;
    height: 80%;
    background-color: var(--menuText);
    border-radius: 18px;
}

.moreLinks-Space {
    display: flex;
    align-items: center;
    justify-content: center;
}

.moreLinks {
    margin-left: 10px;
    font-size: 62px;
    height: 95px;
    cursor: pointer;
}

.moreLinks:hover {
    text-decoration: underline;
}

.noHover:hover {
    text-decoration: none;
}

.nav-subLinks {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: self-start;
    justify-content: center;
    animation: showSubLinks 0.5s ease forwards;
}

.nav-subLinks > * {
    font-size: 30px;
    transition: 0.3s ease;
    text-transform: uppercase;
    transition: 0.5s ease;
    list-style: square;
    margin: 10px 0;
    font-weight: 400;
}

/*Mostrar links da direita para a esquerda*/

@keyframes showSubLinks {
    from {
        left: 120%;
    }
    to {
        left: 0;
    }
}
/*Esconder links da esquerda para a direita*/
@keyframes hideSubLinks {
    from {
        left: 0;
    }
    to {
        left: 120%;
    }
}

/*MAIN*/
main {
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
}

.mainPart {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px 100px;
    border: 2px solid var(--borders);
    background: #1f1f1ffa;
    border-radius: 10px;
    flex: 1;
}
h1 {
    font-size: 52px;
    margin-bottom: 15px;
}

h2 {
    font-size: 32px;
    text-align: center;
    font-weight: bold;
}

h3 {
    margin-top: 15px;
    font-size: 18px;
    text-align: center;
}

.mapaInfo {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
}
iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.moreContacts {
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    width: 100%;
    flex: 1;
}
.moreContacts > * {
    flex: 1;
}
.moreContacts > * > img {
    width: 60px;
    height: 60px;
    border: 1px solid #fff;
    padding: 10px;
    border-radius: 50%;
}

.moreContacts > * > h2 {
    font-size: 15px;
}

/*FOOTER*/

footer {
    background: var(--footer);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.topPart,
.botPart {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
}
.topPart {
    justify-content: space-around;
}
.botPart {
    justify-content: center;
    flex-direction: column;
}

.logo-footer {
    width: 150px;
}
.logo-footer > a > img {
    width: 100%;
    transition: 0.4s ease;
}
.logo-footer > a > img:hover {
    scale: 1.05;
}
.menuFooter > ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    line-height: 30px;
    font-size: 13px;
}
.menuFooter > ul > * {
    margin: 0px 20px;
}

.separatorFooter {
    width: 80%;
    height: 2px;
    background-color: var(--borders);
    margin: 40px 0;
}

.socials-footer,
.social-container-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.social-container-footer > li {
    margin: 0px 30px;
}
.social-container-footer > li > a {
    width: 100%;
}

.social-container-footer > li > a > img {
    width: 25px;
    height: 25px;
    transition: 0.4s ease;
}

.social-container-footer > li > a > img:hover {
    scale: 1.2;
}
.lastPartFooter {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 15px 0;
}

.lastPartFooter > * {
    margin: 0px 20px;
}

.textFinalFooter {
    font-size: 12px;
    text-decoration: none;
}
.textFinalFooter > a {
    text-decoration: none;
}
.textFinalFooter > a:hover {
    text-decoration: underline;
}

@media (max-width: 1150px) {
    .moreContacts > * > h2 {
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    .moreContacts {
        flex-direction: column;
    }
    .moreContacts > * {
        margin: 20px 0;
    }
}

@media (max-width: 711px) {
    .mainPart {
        flex-direction: column;
    }
}

/*MENU/NAVBAR RESPONSIVE*/

@media (max-width: 1600px) {
    /*Tamanho fonte sub likns*/
    .nav-subLinks > * {
        font-size: 20px;
    }
}

@media (max-width: 1400px) {
    /*Tamanho fonte links*/
    .nav-links > * {
        font-size: 28px;
    }
}

@media (max-width: 1220px) {
    /*Mudar o design do menu para vertical*/
    .nav-links-bg {
        flex-direction: column;
        justify-content: center;
    }
    /*Margem para todos*/
    .nav-links-bg > * {
        margin: 30px 0;
    }
    /*O separador fica na horizontal em vês da vertical*/
    .separator {
        width: 850px;
        height: 2px;
        margin: 0;
    }
}
@media (max-width: 1080px) {
    /*Ajuste no separador*/
    .separator {
        width: 650px;
        height: 2px;
        margin: 0;
    }
}

@media (max-width: 900px) {
    /*Ajustar a margem do hamburguer*/
    .hamburguer {
        margin-right: 50px;
    }
}

@media (max-width: 680px) {
    /*Ajuste no separador*/
    .separator {
        width: 400px;
    }
    /*Tamanho fonte sub likns*/
    .nav-subLinks > * {
        font-size: 14px;
    }
    /*Tamanho fonte links*/
    .nav-links > * {
        font-size: 20px;
    }
}

@media (max-width: 610px) {
    /*Ajustar a navbar para caber o logo e menu*/
    .navbar {
        justify-content: space-around;
    }
    /*Ajustar margem no logo*/
    .nav-logo {
        margin-left: 20px;
    }
    /*Ajustar o tamanho do logo*/
    .nav-logo > a > img {
        width: 80%;
    }
    .hamburguer > img {
        width: 45px;
    }
}

@media (max-width: 430px) {
    /*Ajuste no separador*/
    .separator {
        width: 320px;
    }
    /*Tamanho fonte sub likns*/
    .nav-subLinks > * {
        font-size: 12px;
    }
    /*Tamanho fonte links*/
    .nav-links > * {
        font-size: 18px;
    }
    .nav-logo {
        width: 280px;
    }
    .nav-logo > a > img {
        width: 190px;
    }
}

/*Footer Responsive*/

@media (max-width: 1100px) {
    /*Tamanho fonte*/
    .menuFooter > ul > * {
        font-size: 10px;
    }
    /*Ajuste tamanho do logo*/
    .topPart > .logo-footer {
        width: 100px;
    }
}

@media (max-width: 905px) {
    /*Ajuste margem do separador*/
    .separatorFooter {
        margin: 10px 0;
    }
    /*Alterar como está feito o design, ou seja pôr o logo em cima e links em baixo*/
    .topPart {
        flex-direction: column;
    }
    /*Ajuste de margem*/
    .topPart > .logo-footer {
        margin-bottom: 10px;
    }
}

@media (max-width: 797px) {
    .menuFooter > ul > * {
        /*Tamanho fonte*/
        font-size: 14px;
    }
    /*Os links irão ficar uns em cima dos outros*/
    .menuFooter > ul {
        flex-direction: column;
        text-align: left;
        align-items: center;
        justify-content: center;
    }
    .firstTwo {
        width: 100%;
        margin: 0;
        text-align: center;
    }
    .lastTwo {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .lastPartFooter {
        flex-direction: column;
    }
    .lastPartFooter > * {
        margin: 10px 0;
    }
}

@media (max-width: 560px) {
    /*Tamanho fontes*/
    .menuFooter > ul > * {
        font-size: 12px;
    }
    .textFinalFooter {
        font-size: 10px;
    }
}

/*Altura do ecrã*/

@media (max-height: 990px) {
    .moreContacts {
        margin: 40px 0;
    }
}

@media (max-height: 893px) {
    .mainPart {
        margin-bottom: 10px;
    }
    .moreContacts {
        height: 100%;
        margin-bottom: 20px;
    }
    .moreContacts > * > img {
        width: 45px;
        height: 45px;
    }
}

@media (max-height: 822px) {
    .mainPart {
        margin-top: 0px;
    }
}

@media (max-height: 733px) {
    .moreContacts {
        margin: 70px 0;
    }
}
@media (max-height: 695px) {
    .moreContacts {
        margin: 90px 0px 10px 0px;
    }
}

@media (max-height: 668px) {
    .moreContacts {
        margin: 120px 0px 30px 0px;
    }
}
