@font-face {
    font-family: "GTAmericaReg";
    src: url("../fonts/GTAmericaRegular.otf") format("opentype");
}

@font-face {
    font-family: "GTAmericaCom";
    src: url("../fonts/GTAmericaCompressed.otf") format("opentype");
}

:root {
    --clr-white: rgb(247, 247, 247);
    --clr-coral: #FF684C;
} 

a {
    text-decoration: none;
    color: var(--clr-coral);
}

a:hover {
    text-decoration: underline;
}

body {
    margin:0;
    padding:0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 100vh max-content;
    font-size: 12px;
}

main {
    background-color: var(--clr-white);
    grid-row: 1;
    background-image: url("../img/bg.jpg");
    background-size: cover;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
}

.logo {
    grid-row: 2;
    align-self: center;
    justify-self: center;
}

.logo__img {
    width: 45vw;
}

.text {
    grid-row: 3;
    align-self: flex-end;
    justify-self: center;
}

.main-text {
    font-family: "GTAmericaCom";
    color: var(--clr-white);
    font-size: 1.85rem;
    text-align: center;
    margin-inline: 3rem;
}

footer {
    background-color: var(--clr-white);
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-text {
    padding: 1.2rem 2rem 2rem 2rem;
    font-family: "GTAmericaReg";
    color: var(--clr-coral);
    font-size: 0.7;
    line-height: 1rem;
}

@media (max-width: 40rem) {
	
    main {
        background-color: var(--clr-white);
        grid-row: 1;
        background-image: url("../img/bg-mobile.jpg");
        background-size: cover;
        display: grid;
        grid-template-rows: 1fr 1fr 1fr;
    }

    .main-text {
        color: var(--clr-coral);
    }
    
}