/* v 1.0 */


 :root {
        --nw-white-color: #ffffffff;
        --nw-dark-color: #000000;
        --nw-bg-color: #f2f2f2;
        --nw-bg-hover-color: #cecbcb4d;
        --nw-border-color: #dadce0;
        --nw-main-btn-bg: #0b57d0;
        --nw-btn-bg-color: #8ab4f8;
        --nw-icon-color: #bbb9b9;
    }


    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        border: none;
        outline: none;
        text-decoration: none;
        font-family: "Poppins", sans-serif;
        list-style-type: none;
        scroll-behavior: smooth;
    }

    a {
        text-decoration: none;
        color: var(--nw-dark-color);
    }

    html,
    body {
        height: 100%;
        overflow-x: clip;
    }

    body {
        background-color: var(--nw-white-color);
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    nav {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin: 0.4rem 1rem;
        font-size: 0.9rem;
        flex-shrink: 0;
        position: relative;
    }

    nav a:not(:last-child) {
        margin: 0 0.8%;
        color: var(--nw-dark-color);
    }

    nav .cnx-btn {
        background: var(--nw-btn-bg-color);
        border-radius: 3px;
        padding: 0.5% 1.3%;
        text-align: center;
        -webkit-border-radius: 100px;
        border-radius: 100px;
        background: var(--nw-main-btn-bg);
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        color: var(--nw-white-color);
        display: inline-block;
        font-size: 14px;
        font-weight: 500;
        min-height: 40px;
        outline: none;
        text-align: center;
        text-decoration: none;
        white-space: normal;
        line-height: 18px;
        position: relative;
        font-family: "Google Sans Text", Roboto, Helvetica, Arial, sans-serif;
        min-width: 85px;
        padding: 10px 12px;
    }

    nav .cnx-btn:hover {
        box-shadow: 0 1px 3px 1px rgba(66, 64, 67, 0.15), 0 0 0 2px rgba(66, 133, 244, 0.25);
    }

    .container {
        text-align: center;
        flex-grow: 1;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo {
        max-width: 100%;
    }

    .searchbox {
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid rgba(128, 128, 128, 0.3);
        height: 2.75rem;
        margin-top: 1.125rem;
        margin-bottom: 1.125rem;
        padding: 0.9rem;
        background-color: var(--nw-white-color);
        border-radius: 24px;
        box-shadow: 0 1px 6px rgba(32, 33, 36, .28);
        width: 100%;
        max-width: 584px;
    }

    .input {
        flex-grow: 1;
        font-size: 1rem;
    }

    .material-symbols-outlined.apps {
        vertical-align: middle;
        padding: 10px;
        color: var(--nw-dark-color);
        background-color: transparent;
        border-radius: 50%;
        transition: background-color .3s ease-in-out;
    }

    .material-symbols-outlined.active {
        background-color: var(--nw-bg-hover-color);
    }


    .material-symbols-outlined {
        vertical-align: middle;
        color: var(--nw-icon-color);
        background-color: transparent;
        border-radius: 50%;
        margin-right: 7px;
        font-size: 19px !important;
        transition: background-color .3s ease-in-out;
    }

    .material-symbols-outlined.apps:hover {
        background-color: var(--nw-bg-hover-color);
    }


    p {
        font-size: .9rem;
        color: rgba(0, 0, 0, 0.8);
        margin-top: 1.25rem;
    }


    .link:hover {
        text-decoration: underline;
    }

    .travel-deals {
        margin-top: 1rem;
        display: flex;
        gap: 5rem;
        height: 200px;
    }

    .travel-deals img {
        width: 200px;
        border-radius: 10px;
        border: 2px solid var(--nw-bg-color);
    }

    @media (max-width: 590px) {
        .container {
            padding-inline: 1rem;
        }

        .logo {
            width: 187px;
        }

        .searchbox {
            margin-top: 0;
            margin-bottom: 0;
        }

        nav .cnx-btn {
            min-width: auto;
        }

        .travel-deals {
            height: auto;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 1rem;
        }

        .travel-deals img {
            width: 100% !important;
            height: 100% !important;
        }

        #weather-display {
            margin-top: 0;
        }

        .link.gmail, .link.images {
            display: none;
        }
    }

    /* =============== footer =============== */
    footer {
        flex-shrink: 0;
        background-color: var(--nw-bg-color);
        font-size: 0.85rem;
    }

    .location-part {
        padding: 15px 30px;
        border-bottom: 1px solid var(--nw-border-color);
        font-size: 15px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .main-links-part {
        display: flex;
        justify-content: space-between;
        padding: 0 0 0 30px;
        flex-wrap: wrap;
    }

    .main-links-part ul {
        display: flex;
        list-style: none;
        margin: 15px 0;
        padding: 0;
    }

    .main-links-part li {
        margin-right: 27px;
    }


    .main-links-part a:hover {
        text-decoration: underline;
    }

    @media only screen and (max-width: 1200px) {
        .main-links-part {
            justify-content: space-evenly;
        }
    }

    @media (max-width: 768px) {

        .location-part,
        .main-links-part {
            padding: 10px 15px;
        }

        .main-links-part {
            flex-direction: column;
            align-items: center;
        }

        .main-links-part ul {
            align-items: center;
            margin: 5px 0;
            flex-wrap: wrap;
            justify-content: space-around;
        }

    }


    /* Styli pro dropdown apps */
    .apps-dropdown-container {
        position: relative;
        display: inline-block;
    }

    .apps-dropdown-button {
        cursor: pointer;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .apps-dropdown-menu {
        position: absolute;
        right: 0;
        background-color: white;
        border: 1px solid #dadce0;
        border-radius: 13px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        width: 344px;
        padding: 22px;
        display: none;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        z-index: 1000;
        max-height: 389px;
        overflow-y: auto;
        border-top: 7px solid #eee;
        border-left: 7px solid #eee;
        border-bottom: 7px solid #eee;
        border-right: 2px solid #eee;
    }

    .apps-dropdown-menu::-webkit-scrollbar {
        width: 8px;
    }

    .apps-dropdown-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 5px;
    }

    .apps-dropdown-menu::-webkit-scrollbar-thumb {
        background: #aaa;
        border-radius: 5px;
    }

    .apps-dropdown-menu::-webkit-scrollbar-thumb:hover {
        background: #888;
    }


    .apps-dropdown-menu.show {
        display: grid;
    }


    .app-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 8px;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }

    .app-item:hover {
        background-color: #f1f3f4;
        text-decoration: none;
    }

    .app-item img {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }

    .app-item span {
        font-size: 0.8rem;
        color: #3c4043;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .deal-card img {
        width: 200px;
        height: 165px;
        object-position: top;
        object-fit: cover;
    }

    #weather-display {
        margin-right: auto;
        display: inline-block;
    }

    @media screen and (max-width: 590px) {
        .apps-dropdown-menu {
            left: -165px;
            width: min-content;
        }
    }


    html body .banners-page .banner--medium-rectangle .message {
        font-size: 14px !important;
        line-height: 1.25rem !important;
    }
