* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Proxima Nova Rg', sans-serif;
}

body {
    font-family: 'Proxima Nova Rg', sans-serif;
    background-color: #fff;
    color: #24353f;
    line-height: 1.5;
    scrollbar-width: none;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.text-primary {
    color: #E2061D !important;
}

.text-dark {
    color: #24353f !important;
}

.text-black {
    color: #000 !important;
}

/* Nagłówek */
.navbar {
    background-color: #fff;
    height: 6rem;
    display: flex;
    align-items: end;
    padding: 0 6rem 0;
}

#logo {
    height: 3.75rem;
    aspect-ratio: 3.55;
}

/* Hero - Container - Banner */
.hero-container__banner {
    background-image: url('./../images/banner.webp');
    background-position: center;
    background-size: cover;
    border-radius: 0 50% 50% 0;
    position: relative;
    height: 46.94rem;
}

/* Hero - Container - Banner - Text */
.hero-container__banner h2 {
    font-size: 2rem;
    font-weight: 700;
    position: absolute;
    right: 5.63rem;
    top: 11.25rem;
    color: #4D7D99;
}

.hero-text h2::after {
    content: '';
    position: absolute;
    left: -2.5rem;
    height: 1.94rem;
    width: 1.94rem;
    top: 0.31rem;
    background-color: #E2061D;
}

/* Hero - Container - Form */
.hero-container__form {
    padding: 0 1.88rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form {
    display: flex;
    flex-direction: column;
    max-width: 37.5rem;
}

.form a {
    display: inline;
}

/* Hero - Container - Form - Header */
.hero-container__form h1 {
    color: #24353F;
    font-size: 3.7rem;
    line-height: 120%;
    font-weight: bold;
    text-transform: uppercase;
}

/* Hero - Container - Form - Text */
.hero-container__form p {
    color: #E2061D;
    font-size: 2.7rem;
    line-height: 110%;
    font-weight: 500;
    margin-top: 0.94rem;
}

/* Hero - Container - Form - Inputs */
.hero-form__inputs {
    display: flex;
    flex-direction: column;
}

/* Hero - Container - Form - Inputs - Label */
.hero-form__inputs label {
    font-size: .9rem;
}

/* Hero - Container - Form - Inputs - Input */
.hero-form__inputs input {
    height: 2.5rem;
    border: 1px solid #495c66;
    margin-bottom: 0.94rem;
    padding: 0 15px;
    border-radius: 3px;
}

/* Hero - Container - Form - Button */
.form button {
    width: 7.94rem;
    height: 3.56rem;
    padding: 0.88rem;
    background-color: #e2061d;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    text-transform: uppercase;
    margin-top: 0.63rem;
}

.form button:hover {
    background-color: #c10518;
}

/* Author */
.author-row {
    margin-top: 4.38rem;
    background: url('./../images/bg2.webp') -51.25rem 0.31rem/156.81rem 98.63rem no-repeat,
    url('./../images/bg1.webp') 11.25rem 3.75rem/58.56rem 44.81rem no-repeat;
}

.author-row__text {
    padding-top: 1.7rem;
}

.author-row__text p {
    color: #24353F;
    font-size: 1.75rem;
    line-height: 140%;
    margin-bottom: 2rem;
}

.author-row__author p {
    font-size: 1.475rem;
    line-height: 126%;
}

.author-row__image {
    max-width: 20rem;
    width: 100%;
    max-height: 20rem;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 3.5rem;
    opacity: .95;
}

.author-row__image img {
    object-fit: cover;
    transform: scale(1.3);
}

.footer-navigation {
    color: #ffffff;
    padding: 2.5rem 0 1.25rem;
    background-color: #E2061D; /* Czerwień podobna do tej ze zrzutu */
}

/* Footer - Container */
.footer-container {
    width: 90%;
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Footer - Columns */
.footer-column {
    margin: .625rem auto;
}

.footer-column h4 {
    color: #000;
    margin-bottom: 1rem;
    line-height: 94%;
    font-size: 1rem;
    font-weight: 500;
}

.footer-column * {
    line-height: 94%;
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.6;
}

.footer-column ul li {
    margin-bottom: 1rem;
    font-weight: lighter;
}


.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

/* Footer - Informations */
.footer-informations {
    letter-spacing: 0.125rem;
    line-height: 94%;
    font-size: .9375rem;
    padding: 2rem 0;
}

/* Squares */
.square {
    position: absolute;
}

.square::after {
    content: '';
    position: absolute;
    background-color: #E2061D;
}

.square::before {
    content: '';
    position: absolute;
    background-color: #E2061D;
}

.square-sm::after {
    left: 0px;
    bottom: 0px;
    height: 2.968rem;
    width: 2.968rem;
}

.square-sm::before {
    left: 2.968rem;
    bottom: 2.968rem;
    height: 1.4688rem;
    width: 1.4688rem;
}

.square-md::after {
    left: 0px;
    bottom: 0px;
    height: 3.5rem;
    width: 3.5rem;
}

.square-md::before {
    left: 3.5rem;
    bottom: 3.5rem;
    height: 1.875rem;
    width: 1.875rem;
}

.dots-pattern {
    opacity: .5;
    height: 15.625rem;
    position: absolute;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.close {
    color: #aaa;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

@media (max-width: 768px) {
    html {
        font-size: 14px !important;
    }

    .hero-container__banner {
        border-radius: 0 0 0 0;
        height: 26.94rem !important;
        margin-bottom: 2rem;
    }

    .hero-container__form h1 {
        font-size: 3.5rem;
    }

    .hero-container__form p {
        font-size: 2.8rem;
    }

    .hero-container__form {
        max-width: 550px;
        width: 100%;
        margin: 0 auto;
    }
}

input.input-danger {
    border: 1px solid red;
}
