h1, .h1 {
    font-size: 3.5rem;
}

h2, .h2 {
    font-size: 2.75rem;
}

h3, .h3 {
    font-size: 2rem;
}

h4, .h4 {
    font-size: 1.75rem;
}

h5, .h5 {
    font-size: 1.5rem;
}

h6, .h6 {
    font-size: 1.25rem;
}

.custom-font-title h1, .custom-font-title .h1,
.custom-font-title h2, .custom-font-title .h2 {
    font-family: 'AmsterdamOne', cursive;
    line-height: normal;
}

.form-control:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(21, 21, 45, 0.5);
    border-color: var(--secondary);
}

.btn {
    font-size: 1.3rem !important;
    text-transform: none !important;
}

.text-white a {
    color: var(--white) !important;
}

.text-white a:hover,
.text-white a:focus,
.text-white a:active {
    color: var(--light) !important;
}

.text-white .btn-primary {
    background-color: var(--light);
    border-color: var(--light);
    color: var(--primary) !important;
}

.text-white .btn-outline-light,
.text-white .btn-outline-light:hover,
.text-white .btn-outline-light:focus,
.text-white .btn-outline-light:active {
    color: var(--dark) !important;
}

.btn-outline-light {
    background-color: #f5f5f5 !important;
    border-color: #f5f5f5 !important;
    color: var(--dark) !important;
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
    background-color: var(--light) !important;
    border-color: var(--light) !important;
    color: var(--dark) !important;
}

.btn-secondary {
    padding: 0.7rem 1.6rem !important;
}

.divider {
    display: block;
    position: relative;
    top: auto;
    bottom: 0;
    transform: none;
    height: auto;
    background-image: none;
    background-size: auto;
    background-repeat: no-repeat;
    pointer-events: none;
}

.divider::after {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    top: auto;
    bottom: 0;
    z-index: 10;
    display: block;
    padding-top: 5.703125%;
    background-image: url(../images/divider-light.svg);
    background-repeat: no-repeat;
    width: 100%;
}

.divider-top img {
    transform: rotate(180deg);
    border-radius: 0;
    width: 100%;
    margin: -1px 0 0 0;
}

.fa-pencil::before {
    content: "\f040" !important;
}

img, iframe {
    border-radius: 1rem;
}

blockquote {
    border-color: var(--secondary);
}

.col-md-12 {
    min-height: 0;
}

@media (min-width: 1280px) {

    .container {
        max-width: 1220px;
    }

    p {
        font-size: 1.2rem;
    }

}

@media (min-width: 1400px) {

    .container {
        max-width: 1340px;
    }

}

@media (min-width: 1600px) {

    .container {
        max-width: 1540px;
    }

}

@media (max-width: 1199px) {

    h1, .h1 {
        font-size: 2.5rem;
    }

    h2, .h2 {
        font-size: 2rem;
    }

    h3, .h3 {
        font-size: 1.75rem;
    }

    h4, .h4 {
        font-size: 1.5rem;
    }

    h5, .h5 {
        font-size: 1.25rem;
    }

    h6, .h6 {
        font-size: 1.1rem;
    }

}

@media (max-width: 1024px) {

    blockquote {
        font-size: 1rem !important;
    }

    .btn {
        font-size: 1rem !important;
    }

    /*
    .divider::after {
        padding-top: 29.71497877501516%;
        background-image: url(../images/viiri-2560-pieni-2-mobile.svg);
    }
    */

}

@media (max-width: 575px) {

    h1, .h1 {
        font-size: 2rem;
    }

}

@media (max-width: 479px) {

    h1, .h1 {
        font-size: 1.75rem;
    }

    h2, .h2 {
        font-size: 1.55rem;
    }

    h3, .h3 {
        font-size: 1.35rem;
    }

    h4, .h4 {
        font-size: 1.3rem;
    }

    h5, .h5 {
        font-size: 1.2rem;
    }

    h6, .h6 {
        font-size: 1rem;
    }

    .btn {
        font-size: 0.9rem !important;
    }

}