.montserrat-font {
    font-family: "Montserrat", sans-serif;
}

html,
body {
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    background-color: rgb(46, 46, 46);
    font-weight: 500;
    color: white;
    text-align: center;
    padding: 4px;
}

.intro-page-content {
    flex: 1;
    height: 100%;
}

.block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 50vh;
    height: 100%;
    width: 100%;
    background-color: #fff7e7;
    transition: background-color 0.5s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.text {
    color: black;
    font-family: "Montserrat", sans-serif;
    font-weight: 450;
    font-size: 22px;
    padding: 20px;
    width: 100%;
}

.sub-block-title {
    padding: 20px;
}

.block-first:hover {
    background-color: #ff7330;
}

.block-second:hover {
    background-color: #0B2D5B;
}

.block-first:hover .text,
.block-second:hover .text {
    color: white;
}

.block-first {
    border-bottom: 1.5px solid rgb(170, 170, 170);
}


@media (min-width: 768px) {
    .block-first {
        border-bottom: none;
        border-right: 1.5px solid rgb(170, 170, 170);
    }
}

#trojDelenie {
    display: flex;
    flex-direction: column;
}

.sub-block {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 450;
    font-size: 20px;
    text-decoration: none;
    color: black;
    background-color: #fff7e7;
    border-bottom: 1.5px solid rgb(170, 170, 170);
    transition: background-color 0.5s ease;
    cursor: pointer;
}

.sub-block:last-child {
    border-bottom: none;
}

.sub-block:hover {
    background-color: #0B2D5B;
    color: white;
}

@media (max-width: 767px) {
    .block {
        min-height: 40vh;
    }

    #trojDelenie {
        min-height: 60vh;
    }
}

.sub-block--coming-soon {
    filter: grayscale(85%);
    opacity: 0.55;
    cursor: default;
}

.sub-block--coming-soon:hover {
    background-color: #fff7e7;
    color: black;
}

.sub-block--coming-soon em {
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
    display: block;
    margin-top: 4px;
}

.block-icon {
    max-width: 80px;
    height: auto;
}

.block:hover .block-icon {
    filter: invert(1);
}

#trojDelenie a:hover .block-icon {
    filter: invert(1);
}

#trojDelenie i {
    font-size: 50px;
}

#trojDelenie img {
    max-width: 60px;
}