* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* DEBUG */
}

@font-face {
    font-family: "Mallory Compact";
    src: url("../assets/Mallory Compact Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Display";
    src: url("../assets/SF-Pro-Display-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Display";
    src: url("../assets/SF-Pro-Display-Semibold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

.brand {
    width: 315px;
    height: 200px;
    border: 2px solid #C2C2C2;
    border-radius: 30px;

}

.brand img {
    width: 315px;
    height: 200px;
    object-fit: cover;
    border-radius: 30px;
}

.tlo {
    width: 100%;
    height: 110vh;
    background-color: #F5F5F7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 3em;
    gap: 2rem;
}

.tekst {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 400;
    font-size: 20px;
    padding: 2rem;
    line-height: 150%;
    margin-bottom: 0.5rem;
    width: 900px;
}

.tekst a:hover {
    transform: scale(1.05);
}

.tekst a {
    color: #CC2A33;
    text-decoration: none;
    font-family: "SF Pro Display", sans-serif;
    font-weight: 600;
    transition: 0.5s;
    padding: 0.25em;
    position: relative;
}

.tekst a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #CC2A33;
    transition: width 0.5s;
    z-index: -1;
}

.tekst a:hover {
    color: white;
    transform: scale(1.05);
}

.tekst a:hover::before {
    width: 100%;
}

.siatka {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

h1 {
    font-family: "Mallory Compact", sans-serif;
    font-size: 48px;
    font-weight: 900;
    text-align: left;
    padding-top: 0.5em;
    
}

.tekst h1 {
    font-family: "Mallory Compact", sans-serif;
    font-size: 48px;
    font-weight: 900;
    text-align: left;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}


footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background-color: #ffffff;
    gap: 1rem;
}

footer h1 {
    text-align: center;
}




.cta {
    cursor: pointer;
    transition: 0.3s;
}