.landing {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    background-image: url("image/brno.webp");
    background-size: cover;
    background-blend-mode: lighten;
    background-color: rgba(255,255,255,0.8);
    border-radius: 30px;
    margin-top: 10px;
    margin-bottom: 30px;
    padding: 50px;
    gap: 75px;
}

.landing h1 {
    text-align: center;
    font-size: 84px;
    font-weight: 700;
    letter-spacing: 20%;
    margin: 0;
    padding: 0;
}

.landing h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin: 75px 0 0 0;
    padding: 0;
}

.landing h2 > font { color: var(--color-red); }

.landing input[type="email"], .landing input[type="tel"], .landing input[type="text"] {
    border-radius: 5px;
    font-size: 16px;
    padding: 16px 48px 16px 24px;
    border: 2px solid var(--color-red);
    width: 300px;
    -webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2);
    box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2);
}

.landing input[type="submit"] {
    width: 300px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    background-color: var(--color-red);
    border: 2px solid var(--color-red);
    color: var(--color-white);
    border-radius: 5px;
}

.landing form, .landing form > span {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.landing form > span {
    align-items: center;
}

.landing form img {
    width: 26px;
    height: 26px;
    position: absolute;
    right: 15px;
}

.landing form i {
    font-size: 26px;
    color: var(--color-red);
    position: absolute;
    right: 15px;
}

.landing .services {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 50px;
}

.landing .services > a {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 10px;
    width: 250px;
    height: 200px;
    color: var(--color-black);
}

.landing .services > a > i {
    font-size: 42px;
}

.landing .services > a > p {
    font-weight: bold;
    font-size: 20px;
    padding: 0 20px;
    text-align: center;
}

.landing .services > a.red * {
    color: var(--color-red);
}

.advantages {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

.advantages > h2 {
    width: 100%;
    text-align: center;
    margin: 50px 0 25px 0;
    padding: 0;
    font-size: 36px;
}

.advantages > h2 > font {
    color: var(--color-red);
}

.advantages > div {
    width: 500px;
    min-height: 200px;
    border-radius: 10px;
    -webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2);
    box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px;
}

.advantages > div > img {
    width: 64px;
    height: 64px;
}

.advantages > div > h3 {
    font-size: 18px;
    margin-left: 20px;
    width: calc(100% - 84px);
}

.advantages > div > p {
    font-size: 14px;
}

.advantages > p {
    width: 100%;
    text-align: center;
    color: var(--color-gray);
    font-size: 14px;
}

.tv {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    background-image: url("image/circle.webp");
    background-attachment: fixed;
    border-radius: 30px;
    padding: 75px 25px;
    margin: 50px 0;
}

@media screen and (min-width: 2000px) {
    .tv { background-size: cover; }
}

.tv span {
    border-radius: 30px;
    border: 10px solid var(--color-white);
    background-color: var(--color-white);
    padding: 20px;
    display: block;
}

.tv > div > * {
    color: var(--color-white);
}

.tv > div {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 0 50px;
}

.tv > div > h2 {
    margin: 0;
    padding: 0;
    font-size: 36px;
}

.tv > div > p {
    margin: 0;
    padding: 40px 0;
}

.tv li {
    margin-bottom: 30px;
    font-size: 26px;
    font-style: italic;
    font-weight: 600;
}
.tv ul {
    list-style-image: url('icon/check-white.webp');
}

.tv a {
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 600;
    color: var(--color-red);
    background-color: var(--color-white);
    border: 2px solid var(--color-white);
    font-size: 20px;
    text-align: center;
    display: block;
    width: 350px;
}

section.services {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 75px;
    margin-top: 75px;
}

section.services > div {
    width: 50%;
}

section.services > div > h2 {
    font-size: 36px;
}

section.services > div > h2 > font {
    color: var(--color-red);
}

section.services > span {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 45%;
    margin-left: auto;
    gap: 30px;
}

section.services a {
    border-radius: 30px;
    background-color: var(--color-red);
    border: 2px solid var(--color-red);
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    display: block;
    width: 250px;
    padding: 12px 24px;
}

section.services a::before {
    content: " ";
    width: 20vw;
    position: absolute;
    height: 4px;
    top: 50%;
    margin-top: -2px;
    background-image: linear-gradient(to right, var(--color-gray) 0%, var(--color-white) 100%);
    z-index: -1;
    transition: 0.4s ease all;
    -webkit-transition: 0.4s ease all;
}

section.services a:nth-child(2) { margin-left: 75px; }
section.services a:nth-child(3) { margin-left: 150px; }

.advantages > div > i {
    display: none;
}

section.services > div i, section.services > div a {
    display: none;
}

@media screen and (min-width: 800px) {
    .landing input[type="submit"]:hover, .services a:hover {
        background-color: var(--color-white);
        color: var(--color-red);
    }
    .tv a:hover, .landing .services > a:hover {
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
    }

    section.services a:hover::before {
        background-image: linear-gradient(to right, var(--color-red) 0%, var(--color-white) 100%);
        width: 30vw;
    }

    .landing h1 {
        animation: 2s text-in ease forwards;
    }

    @keyframes text-in {
        from { opacity: 0; margin-top: 0; margin-bottom: 20px; }
        to { opacity: 1; margin-top: 20px; margin-bottom: 0; }
    }

}

@media screen and (max-width: 1600px) {
    .advantages > div {
        width: 400px;
    }
    .tv span > video {
        width: 600px;
    }
}

@media screen and (max-width: 1400px) {
    .landing h1 {
        font-size: 72px;
    }
    .advantages > div {
        width: 350px;
    }
    .advantages > div > img {
        width: 48px;
        height: 48px;
    }
    .advantages > div > h3 {
        font-size: 16px;
        margin-top: 0;
    }
    section.services > div > h2 {
        font-size: 32px;
    }
}

@media screen and (max-width: 1000px) {
    .landing {
        padding: 30px 0;
    }
    .landing h1 {
        font-weight: 900;
        font-size: 36px;
        line-height: 50px;
    }
    .landing h2 {
        background-color: var(--color-white);
        font-size: 20px;
        margin: 30px 0 0 0;
    }
    .landing form, .landing form > span {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .landing form i, .landing form img {
        top: 15px;
    }

    .landing input[type="submit"] {
        padding: 12px 24px;
        border-radius: 30px;
    }

    .landing > .title {
        width: 100%;
    }
    .landing .services {
        gap: 30px;
    }
    .landing .services > a {
        width: 150px;
        height: 150px;
    }
    .landing .services > a > p {
        font-size: 16px;
        padding: 0 5px;
    }
    .advantages {
        gap: 0;
    }
    .advantages > h2 {
        font-size: 26px;
        margin: 25px 0 50px 0;
    }
    .advantages > div {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        --webkit-box-shadow: none;
        -moz-box-shadow: none;
        padding: 0;
        min-height: auto;
        border-bottom: 1px solid var(--color-gray-light);
        padding-bottom: 15px;
        margin-bottom: 25px;
    }

    .advantages > div h3, .advantages > div p {
        margin: 0;
        padding: 0;
    }
    .advantages > div h3 {
        margin-left: 15px;
        display: flex;
        align-items: center;
    }
    .advantages > div p {
        margin-top: 20px;
    }
    .advantages > div > i {
        display: block;
        position: absolute;
        right: 10px;
        top: 18px;
        color: var(--color-red);
        font-size: 20px;
    }

    .advantages > div > p {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }
    
    .advantages > div > h3,
    .advantages > div > i {
        cursor: pointer;
    }
    .advantages > p {
        margin: 0;
        font-size: 12px;
    }
    .tv span > video {
        width: 100%;
        height: auto;
    }
    .tv span {
        padding: 0;
        height: auto;
        border-radius: 10px;
        background-color: transparent;
        border: none;
    }
    .tv {
        flex-direction: column;
        padding: 15px 10px;
        background-attachment: scroll;
    }
    .tv > div > h2 {
        font-size: 26px;
        margin-top: 30px;
    }
    section.services {
        flex-direction: column;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    section.services > div {
        width: 100%;
    }
    section.services > div > h2 {
        width: 100%;
        text-align: center;
    }
    section.services > div a {
        display: block;
        width: 60%;
        margin-left: 20%;
    }

    section.services > div > p {
        margin-top: 50px;
    }
    
    section.services a:nth-child(3) {
        margin-left: 20%;
    }

    section.services > span {
        display: none;
    }

    section.services > div i {
        display: inline-block;
        color: var(--color-red);
        margin-right: 15px;
    }
}
