@import "reset.css";

body {
    font-family: 'Lato', sans-serif;
    background-color: #61B9D0;
    color: #272C3B;
    font-weight: 400;
    text-align: center;
    background-image: url("../assets/miami.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    background-attachment: fixed;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #272C3B;
    height: 200px;
    position: relative;
}

header > .logo {
    flex: auto;
    max-width: 300px;
}

.header-decorator {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50vw 30px 50vw;
    border-color: transparent transparent #61B9D0 transparent;
}

main {
    max-width: 600px;
    padding: 1rem;
    text-align: center;
    margin: auto;
}
main a {
    color: #272C3B;
    text-decoration: underline;
    font-weight: bold;
}

main h1 {
    font-weight: 400;
    font-size: 28px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

main h2 {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 400;
    padding: 1rem 0;
    margin-bottom: 3rem;
}

.our-companies {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
.company-block {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 1rem;
    max-width: 300px;
}

.company-block a {
    display: block;
}

.company-block .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-top: 0.5rem;
}

.company-block .social-links a {
    margin: 0 0.5rem;
}

@media screen and (min-width: 768px) {
    header > .logo {
        max-width: 500px;
    }
    header {
        height: 300px;
        padding-bottom: 30px;
    }
    .header-decorator {
        border-width: 0 50vw 60px 50vw;
    }
    main h1 {
        white-space: nowrap;
    }
}