body {
    margin: 0;
}

.section {
    min-height: 100vh;
    padding: 20px;
}

.header-section {
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 0;
    font-style: italic;
    font-family: 'HKGrotesk';
}

.header-section h1 {
}

#prieksbilde {
    display: block;
    height: 100vh;
    max-width: 100%;
    /* height: auto; */
}

#mainsection {
    margin: auto;
    display: inline-block;
    padding: 10px;
    height: 100%;
}

#mainsection p {
    text-wrap: 1;
}

.apgerbi-section {
    background-color: #0b1320ff;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#apg {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.apg * {
    color: #fff;
}

.apg {
    position: relative;
    width: 400px;
    max-width: 80%;
}

.apg img {
    width: 100%;
}

p {
    font-size: 30px;
}

.apg > div {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-size: 24px;

    /* -webkit-text-stroke: black 1px; */
}


.footer-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#garantijas {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
}

#garantijas h3 {
    color: gray;
}

h1 {
    font-family: 'HKGrotesk';
    font-weight: 700;
    font-style: italic;
    font-size: 80px;
}

.apg h3 {
    font-family: 'Horizon';
}

.apg a {
    font-family: 'OldStandard';
}

.apg.dark * {
    color: black !important;
}

.footer-section h1 {
    font-family: 'OldStandard';
    font-style: normal;
}

.footer-section h2 {
    font-family: 'LeagueGothic';
}

.footer-section h3 {
    font-family: 'TenorSans';
}

@media (max-width: 1200px) {
    .header-section {
        flex-direction: column;
    }

    #prieksbilde {
        width: 100%;
        height: auto;
    }
}