@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --background-color: #06123a;
    --primary-color: #dcaa2d;
    --secondary-color: #4b88c7;
    --highlight-color: #d73f16;
}

html {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Isidora Sans';
    src: url('./fonts/IsidoraSans-Medium.otf');
    font-weight: thin;
    font-style: thin;
}

body {
    font-family: 'Isidora Sans';
    display: flex;
    flex-direction: column;
}

header{
    background-color: var(--background-color);
    padding: 1.3rem 0;
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

nav {
    
    width: 30dvw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: top 0.1s ease-in-out;

    p,
    a {
        text-decoration: none;
        color: var(--primary-color);
    }

    a:hover {
        text-decoration: underline;
    }
}

section {
    margin: 1rem 0 1rem 0;
    padding: 4rem 0 1rem 0;
    width: 100%;
    height: 100vdh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    h1 {
        font-size: 3.5em;
        color: white;
    }

    h3 {
        color: grey;
    }
}

section::selection {
    background-color: var(--highlight-color);
}

#inicio {
    height: 100dvh;
}
#compre {
    h2 {
        color: var(--background-color);
    }
}
.asides {
    display: flex;

    aside {
        width: 50dvw;
        padding: 1rem;
    }

    .right {
        padding: 2rem 1rem;
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;

        h1 {
            font-size: 2em;
        }

        h2 {
            font-size: 1.5em;
        }
    }
}

.asides::selection,
.main::selection {
    background-color: var(--primary-color);
}

iframe {
    border-radius: 12px;
    width: 100%;
    height: 500px;
}

main {
    
    display: flex;
    align-items: center;
    flex-direction: column;

    h1 {
        margin: 3rem 0;
    }

    .main {
        display: flex;
    }

    .content {
        width: 50dvw;
        padding: 2rem 1rem;
    }

    .contact {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 45dvw;
        height: 30dvh;
        padding: 3rem;
        background-color: var(--background-color);
        color: white;
        border-radius: 12px;
        transition: height 0.3s, width 0.3s;

        p {
            margin-top: 3rem;
            margin-bottom: 1rem;
            text-align: center;
        }
    }

    .contact:hover {
        width: 47dvw;
        height: 32dvh;
        transition: height 0.3s, width 0.3s;
    }
}

.contact::selection,
.separator::selection {
    background-color: var(--secondary-color);
}

.color-btn {
    color: var(--primary-color);
    padding: 1rem 1.7rem;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    transition: background-color 0.3s, border-color 0.3s;
}

.color-btn:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    transition: background-color 0.3s, border-color 0.3s;
}

.separator {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 3rem 6rem;
    color: white;
    background-color: var(--background-color);
    transition: height 0.3s, width 0.3s;
}
#localizacao {
    background-color: white;
    h1 {
        color: black;
    }
}
.find {
    display: flex;
    gap: 2rem;
    flex-direction: column;
    padding: 2rem 2rem;

    .content {
        display: flex;
        gap: 2rem;

        .child {
            display: flex;
            gap: 1rem;
            flex-direction: column;
            margin-top: 1rem;
            width: 30dvw;
        }
    }

    .casadomalte {
        background-color: var(--background-color);
        width: 30rem;
        height: 10rem;
    }

    button {
        display: flex;
        align-items: center;
        color: white;
        padding: 0.7rem 1rem;
        background-color: var(--primary-color);
        border: 2px solid var(--primary-color);
        border-radius: 12px;
        transition: background-color 0.3s, border-color 0.3s;
    }

    button:hover {
        background-color: var(--secondary-color);
        border: 2px solid white;
    }
}

.mapa {
    height: 160px;
}

@media (max-width: 600px) {
    nav {
        width: 70dvw;
        padding: 0.5rem 5dvw;
        border-radius: 0 0 12px 12px;
        background-color: var(--background-color);
        transition: top 0.3s ease-in-out;
    }

    section {
        h1 {
            font-size: 2em;
            text-align: center;
        }
    }

    .asides {
        flex-direction: column-reverse;
        text-align: center;

        aside {
            width: 100vw;
            padding: 1rem 0.5rem;
        }
    }

    main {
        height: auto;

        h1 {
            margin: 0.7rem 0rem;
            text-align: center;
        }

        .main {
            flex-direction: column;
        }

        .content,
        .contact {
            width: 95vw;
            padding: 1rem 0.5rem;
        }

        .contact {
            color: black;
            background-color: white;

            display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
            p {
                margin-top: 1rem;
            }
        }

        .contact:hover {
            width: 95vw;
        }
    }

    .separator {
        padding: 2rem 1rem;
    }

    .find {
        padding: 1rem 0.5rem;

        .content {
            flex-direction: column;
            gap: 1rem;

            .child {
                width: 95vw;
            }
        }

        .casadomalte {
            width: 100%;
            height: 12rem;
        }
    }

    iframe {
        height: 500px;
    }
}

footer {
    background-color: var(--background-color);
    color: white;
    padding: 1.3em;
    width: 100%;
    text-align: center;
    a {
        color: var(--primary-color);
        text-decoration: none;
    }
    a:hover {
        text-decoration: underline;
    }
}