body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: black;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    justify-content: center;
}

.grid h3 {
    margin-right: 50px;
}

.grid p {
    margin-right: 50px;
}

.grid-3-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.card-body {
    padding: 30px;
}



.card {
    background-image: url(pexels-felix-mittermeier-956999.jpg);
    margin: 10px 0;
    border: 1px solid black;
    color: white;
    justify-content: center;
    align-items: center;
}

.card-header {
    display: grid;
    place-items: center;
    margin: 30px;
}

.card h4 {
    color: white;
}

.card h5 {
    color: white;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.text-center {
    text-align: center;
}

.img-responsive {
    max-width: 50%;
    display: block;
    transition: all 150ms ease-in-out;
    border-radius: 5px;
    margin-top: 5%;
}

#travel-project-image {
    max-width: 65%; /* Slightly increase the max-width */
}

#dictionary-image {
    max-width: 70%; /* Slightly increase the max-width */
}


.img-responsive:hover {
    transform: scale(1.5);
}

.card-body ul {
    margin-bottom: 10%;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.btn {
    display: inline block;
    color: black;
    padding: 16px;
    background-color: white;
    border: 3px solid;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 30%;
}

img {
    max-width: 50%;
    margin: 0 70px;
}

/* Adjust padding and margin-bottom to reduce space between sections */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
    /* Reduced padding */
}

section.secondary {
    background: white;
    margin-bottom: 20px;
    /* Reduced margin */
}

header {
    background-image: url("pexels-felix-mittermeier-956999.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    padding: 200px 0;
}

header h1 {
    font-weight: 700;
    font-size: 76px;
    line-height: 1;
    margin: 30px 10px;
}

header h2 {
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 10px;
}

header h3 {
    font-weight: 400;
    font-size: 40px;
    line-height: 1.5;
    margin: 0 10px;
}

header a {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    background-color: white;
    text-decoration: none;
    color: black;
    padding: 16px 32px;
    margin-top: 32px;
    display: inline-block;
}

main {
    background-color: white;
    max-width: 100%;
}

main h2 {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 5px;
    opacity: 0.3;
    text-transform: uppercase;
    margin: 0;
}

main h3 {
    font-weight: 700;
    font-size: 40px;
    line-height: 1.5;
    margin: 0;
}

main p {
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.5;
    opacity: 0.7;
}

main h4 {
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    color: black;
    margin: 0;
}

main h5 {
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    color: black;
    margin: 0;
}

footer {
    color: white;
    background-image: url(pexels-felix-mittermeier-956999.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

footer h3 {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.5;
}

footer ul {
    padding: 0;
}

footer li {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer a {
    color: white;
    font-weight: 400;
    opacity: 1;
}

#image2 {
    max-width: 20px;
}

#image3 {
    max-width: 20px;
}

@media (max-width: 960px) {
    header {
        padding: 60px 0px;
    }

    header h1 {
        font-size: 48px;
    }

    header h2 {
        font-size: 20px;
    }

    header h3 {
        font-size: 12px;
    }

    section {
        padding: 30px;
    }

    .img-responsive {
        display: block;
        margin: 0 auto;
        margin-top: 20px;
    }

    .container {
        grid-template-columns: 1fr;
    }

    .btn {
        display: inline-block;
        margin: 0 auto;
    }

    .grid {
        grid-template-columns: 1fr;
        margin-left: 50px;
    }
}