* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color1: #AFD7E0;
    --color2: #9FBCC7;
    --color3: #6594B0;
    --color4: #155B86;
    --color5: #ffffff;
    --background-color: #002B4F;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
}

@keyframes header {
    0% {
        transform: translateY(-60px);
    }

    100% {
        transform: translateY(0);
    }
}
/* active button */
#active {
    color: var(--color2);
}
/* header-section */
.nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: fixed;
    background-color: rgba(21, 91, 134, 0.75);
    padding: 12px 20px;
    animation-name: header;
    animation-duration: 2s;
    animation-fill-mode: both;
    animation-delay: 500ms;
    z-index: 10;
}

.nav-bar>ul {
    list-style: none;
}

.logo img {
    width: 40px;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    padding-left: 30px;
}

.menu li a {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
    text-transform: capitalize;
    font-weight: bold;
}

.menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color1);
    transition: 0.15s ease-in-out;
}

.menu li a:hover {
    color: var(--color1);
}

.menu li a:hover:after {
    width: 100%;
}

.open-menu,
.close-menu {
    position: absolute;
    color: var(--color1);
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}

.open-menu {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.close-menu {
    top: 20px;
    right: 20px;
}

#check {
    display: none;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 640px;
    background-image: url(img/pexels-eessoo-5098043.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: bottom;
    background-color: rgba(0, 43, 79, 0.575);
    background-blend-mode: multiply;
}

.hero-content {
    width: 50%;
    position: relative;
    left: 90px;
}

.btn-hero {
    width: 50%;
    height: 45vh;
    margin-right: 150px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 2;
}

.btn-hero a {
    background-color: transparent;
    color: var(--color1);
    padding: 0.7rem 2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

.btn-hero a:hover {
    background-color: var(--color1);
    color: var(--background-color);
}

.btn-hero a i {
    font-size: 22px;
}

.hero h1 {
    font-size: 45px;
    margin-bottom: 20px;
    color: var(--color1);
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--color5);
    max-width: 800px;
}

.cta-button {
    padding: 10px 25px;
    background-color: transparent;
    color: var(--color1);
    border: solid 2.5px var(--color1);
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    display: block;
    justify-self: flex-end;
    font-weight: 500;
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--color1);
    color: var(--color4);
}

.hero-content .cta-button>i {
    font-size: 22px;
}

/* Ov-chipkaart-section */

.ov-chipkaart-section {
    color: var(--color5);
    overflow: hidden;
}

.ov-chipkaart-section h2 {
    font-size: 2.5rem;
    margin: 30px 0;
    text-align: center;
    color: var(--color1);
    text-transform: uppercase;
}

.ov-chipkaart-continer {
    width: 100%;
    background-color: rgb(21, 91,134, 0.7 );
    margin-bottom: 30px;
    padding: 30px;
}

.ov-chipkaart-contact {
    display: flex;
}

.ov-img {
    width: 50%;
    margin: 20px 20px;
}
.ov-img>img {
    width: 100%;
    min-width: 300px;
    height: 100%;
    max-width: 600px;
    object-fit: cover;
    justify-self: center;
    display: block;
}

.ov-text {
    width: 50%;
    margin: 20px 0;
    align-self: center;
}

.ov-text>p {
    max-width: 80%;
    font-size: 30px;
    font-weight: bold;
    text-transform: capitalize;
    margin-bottom: 30px;
}

.ov-text>h4 {
    font-size: 30px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ov-text>li {
    font-size: 25px;
    margin-bottom: 10px;
    list-style: numeric;
}

.ov-text>li a {
    color: var(--color1);
}

.ov-benefits {
    padding: 20px;
    padding-left: 40px;
}

.ov-benefits>h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

.ov-benefits>li {
    font-size: 25px;
    margin-left: 20px;
}

/* Biking Section */
.biking {
    padding: 30px 30px;
}

.biking h2 {
    color: var(--color1);
    font-size: 45px;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.biking-image {
    position: relative;
    margin-bottom: 150px;
}

.biking-image img {
    width: 100%;
    max-width: 1500px;
    height: 345px;
    display: block;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    bottom: -80px;
    right: 0;
    background-color: #155b86;
    padding: 1.5rem;
    max-width: 788px;
}

.overlay-text p {
    font-size: 40px;
    font-weight: bold;
}

.biking-info {
    display: flex;
    gap: 2rem;
    flex-direction: column;
    width: 100%;
}

.info-card {
    flex: 1;
    background-color: #155b86;
    padding: 1.5rem;
    margin-bottom: 30px;
    justify-self: flex-start;
    align-self: flex-start;
    width: 70%;
    position: relative;
}

#tips-card {
    justify-self: flex-end;
    align-self: flex-end;
    width: 70%;
}

.biking .info-card h3 {
    font-size: 45px;
    position: absolute;
    top: -30px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.info-card ul {
    list-style: none;
    font-size: 30px;
    font-weight: 500;
}

/* Comparison Table */
.comparison {
    padding: 0 2rem;
    padding-bottom: 4rem;
}

.comparison h2 {
    color: var(--color1);
    font-size: 45px;
    margin-bottom: 2rem;
    justify-self: flex-start;
}

table {
    width: 100%;
    max-width: 1159px;
    margin: 0 auto;
    border-collapse: collapse;
    border: 4px solid var(--color1);
}

th, td {
    border: 4px solid var(--color1);
    padding: 1rem;
    text-align: center;
    font-size: 30px;
}

th {
    background-color: var(--color4);
    font-size: 35px;
    font-weight: bold;
}

td {
    font-weight: 400;
}

/* Apps Section */
.apps {
    padding: 4rem 2rem;
    overflow: hidden;
}

.apps h2 {
    color: #afd7e0;
    font-size: 45px;
    margin-bottom: 2rem;
    justify-self: flex-start;
}

.apps-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.apps-content img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.apps-list {
    font-size: 2.5rem;
    font-weight: bold;
}

.apps-list a {
    color: var(--color1);
}

/* Footer */
.footer {
    background-color: #AFD7E0;
    padding: 1.8rem 1rem;
    text-align: center;
    overflow: hidden;
}

.footer-top {
    display: flex;
    flex-direction: row;
    color: #002B4F;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.footer-top h1 {
    text-align: left;
    font-size: 35px;
}

.btn-footer {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 3px solid #002B4F;
    color: #002B4F;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 26px;
}

.btn-footer:hover {
    transform: translateX(10px);
    background-color: #002B4F;
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    margin-left: 1.5rem;
}

.footer-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0;
    margin: 0;
}

.footer-links li a {
    color: #003366;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s ease;
}

.footer-links li a:hover {
    color: #6594B0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-right: 1.6rem;
}

.footer-social a img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.footer-social a img:hover {
    transform: scale(1.1);
}

/* scroll to top */
.scroll-up {
    position: fixed;
    right: 4%;
    bottom: 3%;
    z-index: 99;
}
.scroll-up button {
    width: 50px;
    height: 50px;
    border: none;
    background-color: var(--color3);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    color: var(--background-color);
    font-size: 22px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: none;
}
.scroll-up button:hover {
    background-color: transparent;
    color: var(--color1);
    transform: translateY(-5px);
}
.scroll-up button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Media Query for Mobile Devices */
@media(max-width: 600px) {
    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: var(--color4);
        transition: all 0.5s ease;
    }

    .menu li {
        margin-top: 40px;
    }

    .menu li a {
        padding: 10px;
    }

    .open-menu,
    .close-menu {
        display: block;
    }

    #check:checked~.menu {
        right: 0;
    }

    .hero-content {
        width: 100%;
        left: 0;
        padding: 0 20px;
        height: 60%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero {
        flex-direction: column;
        width: auto;
        height: 100vh;
    }

    .btn-hero {
        width: 100%;
        margin-right: 50px;
        height: 25%;
    }

    .btn-hero a {
        padding: 12px 15px;
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* ov-chipkaart-section */
    .ov-chipkaart-section h2 {
        font-size: 35px;
    }
    .ov-chipkaart-contact {
        flex-wrap: wrap;
    }

    .ov-img, .ov-text {
        width: 100%;
    }

    .ov-text p, .ov-text h4 {
        font-size: 25px;
    }

    .ov-text li {
        font-size: 20px;
    }

    .ov-benefits h3 {
        font-size: 28px;
    }

    .ov-benefits li {
        font-size: 20px;
    }

    /* Biking */
    .biking h2 {
        font-size: 35px;
    }

    .biking-image p {
        font-size: 30px;
    }

    .info-card {
        width: 100%;
    }

    #tips-card {
        width: 100%;
    }

    .biking-info .info-card h3 {
        font-size: 30px;
        top: -20px;
    }

    .biking-info .info-card ul {
        font-size: 25px;
    }

    /* Comparison Table */
    th, td {
        font-size: 14px;
        padding: 5px 5px;
    }

    th {
        font-size: 15px;
    }

    .comparison h2 {
        font-size: 30px;
    }

    .comparison {
        padding-bottom: 0;
    }

    /* apps */
    .apps h2 {
        font-size: 35px;
    }
    .apps .apps-content {
        flex-direction: column;
    }

    .apps-list {
        font-size: 25px;
    }

    /* footer */
    .footer-top {
        flex-direction: column;
        margin-right: 0;
        margin-left: 0;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-top h1 {
        font-size: 25px;
    }

    .btn-footer {
        font-size: 20px;
        padding: 0.5rem 0.6rem;
        align-self: flex-end;
    }

    .footer-bottom {
        flex-direction: column;
        margin-left: 0;
        gap: 25px;
    }

    .footer-social {
        align-self: flex-end;
    }

    .footer-links {
        align-self: center;
    }
}

/* Media Query for Tablets */
@media(min-width: 601px) and (max-width: 900px) {
    /* Comparison Table */
    th, td {
        font-size: 18px;
        padding: 10px 10px;
    }

    th {
        font-size: 20px;
    }
}
