:root {
    --accent: #ffc300;
    --black: #000814;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html, body {
    height: 100%;
    overflow: hidden;
}

.montserrat-900 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}

body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0px;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
}

.coluna-1, .coluna-1 a, .coluna-2, .coluna-2 a {
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    position: relative;

}

.coluna-1 a, .coluna-2 a {
    padding: 1rem;
}

@media (min-width: 1024px) {
    .coluna-1, .coluna-2 {
        filter: grayscale(100%);
        -webkit-filter: grayscale(100%);
        transition: all 0.3s ease;
    }

    .coluna-1:hover, .coluna-2:hover {
        filter: grayscale(0%);
        -webkit-filter: grayscale(0%);
        transform: scale(1.03);
        z-index: 10;
    }
}


.coluna-1 img, .coluna-2 img {
    margin-top: 3rem;
    align-self: center;
    max-width: 400px;
    width: 100%;
    z-index: 999999;
}

.coluna-1 a:before, .coluna-2 a:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .8) 100%);
    transition: all 0.3s ease-out;
}

.coluna-1 p, .coluna-2 p {
    align-self: end;
    font-size: clamp(1.5rem, 3vw, 4rem);
    color: white;
    z-index: 999999;
    margin-bottom: clamp(3rem, 3vw, 5rem);
}

.coluna-1 a {
    background: url('./Image_BoostPortugal_Color.webp') center/cover no-repeat;
}

.coluna-1 p {
    text-align: right;
    align-self: end;
    margin-right: 3rem;
}

.coluna-2 a {
    background: url('./Image_BoostEvents_Color.webp') center/cover no-repeat;
}

.coluna-2 p {
    margin-left: 3rem;
    align-self: start;
    text-align: left;
}

a {
    text-decoration: none;
    height: 100%;
    width: 100%;
    /*display: contents;*/
    z-index: 999;
}


@media (max-width: 1024px) {
    .coluna-1 img, .coluna-2 img {
        max-width: 250px;
    }
}

@media (max-width: 800px) {
    body {
        display: -webkit-flex; /* prefixos flex */
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        height: 100vh;
        max-width: 100vh;
    }

    .coluna-2, .coluna-1 {
        height: 50%;
        max-height: 50%;
    }

    .coluna-1 img, .coluna-2 img {
        max-width: 200px;
    }

    .coluna-2 p, .coluna-1 p {
        margin-right: 0;
        margin-left: 0;
        text-align: center;
        align-self: center;
    }
}