.background-photo-container {
    height: calc(100vh - 58px);
    background-image: url(../img/bg-main.jpg);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 1rem;
}

.first-header, .second-header {
    font-weight: bold;
    text-align: center;
    color: white;
}

.first-header {
    font-size: 2.25rem;
}

.second-header {
    font-size: 1.25rem;
    margin: 0.5rem 0 2rem;
}

.main-select {
    border: 1px solid #242121;
    border-radius: .5rem;
    border-right: 0;
    color: #242121;
    padding: .375rem .75rem;
    font-size: 1rem;
    background: url(../img/arrow_down.svg) no-repeat 97% 50% white;
    background-size: 18px;
    background-clip: unset;
    -webkit-appearance: none;
    cursor: pointer;
    outline: 0;
}

.main-button {
    border: 1px solid #242121;
    border-radius: .5rem;
    color: white;
    background-color: #FF2047;
    font-size: 1rem;
    cursor: pointer;
}

.label-text {
    grid-column: 1 / -1;
    font-size: 1rem;
    color: white;
}

.form-container {
    display: grid;
    grid-template-columns: 200px;
    grid-template-rows: auto 44px 44px;

    row-gap: 0.25rem;
    justify-content: center;
}

.cities-container {
    padding: 1.5rem 0;
    gap: 1.5rem;
}

.cities-header {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.cities-list-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
}

.city-link {
    width: fit-content;
    justify-self: center;
    padding: 0.5rem;
    gap: .25rem;
}

@media (min-width: 767px) {
    .first-header {
        font-size: 4rem;
    }
    .second-header {
        font-size: 1.5rem;
    }
    .form-container {
        grid-template-rows: auto 44px;
        grid-template-columns: repeat(2, 200px);
    }
    .cities-list-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-select {
        border-radius: .5rem 0 0 .5rem;
    }

    .main-button {
        border-radius: 0 .5rem .5rem 0;
    }
}

@media (min-width: 992px) {
    .cities-list-container {
        grid-template-columns: repeat(3, 1fr);
    }
}


