@font-face {
    font-family: "InstrumentSans";
    src: url("fonts/InstrumentSans-VariableFont_wdth\,wght.ttf")
        format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: InstrumentSans, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background: white;
}

.container {
    display: flex;
    flex-direction: column;
    border: 1px solid black;
    max-width: 100%;
    margin: auto;
    background: linear-gradient(to right bottom,
                    rgba(0, 51, 153, 0.1) 0%,
                    rgba(255, 204, 0, 0.1) 50%,
                    #ffffff 100%);
    );
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid black;
}

.div-button {
    font-size: 16px;
    font-family: InstrumentSans, sans-serif;
    color: black;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.div-button:hover {
    color: #003399;
    text-decoration-color: #003399;
}

.search-bar {
    width: 200px;
    padding: 5px 10px;
    font-size: 16px;
    font-family: InstrumentSans, sans-serif;
    border: 1px solid black;
    border-radius: 4px;
}

.eu-icon {
    width: 22px;
    height: 22px;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 200px 20px;
    border-bottom: 1px solid black;
    text-align: center;
}

.hero h1 {
    font-size: 70px;
    margin: 0;
}

.scroll-btn {
    margin: 30px auto;
    margin-bottom: 0px;
    position: relative;
    background-color: black;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    font-family: InstrumentSans, sans-serif;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease,
                padding-right 0.3s ease;
    overflow: hidden;
}

.scroll-btn::after {
    content: "\25BC";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    color: black;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-btn:hover {
    background-color: white;
    color: black;
    border-color: black;
    padding-right: 40px;
}

.scroll-btn:hover::after {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

.hero span {
    color: #f66;
    font-size: 36px;
}

.features {
    display: flex;
    justify-content: center;
}

.feature {
    flex: 1;
    padding: 25px;
    border-right: 1px solid black;
    box-sizing: border-box;
}

.feature h3 {
    font-size: 24px;
    margin: 0 0 10px;
}

.feature p {
    font-size: 18px;
    margin-bottom: 0px;
}

.feature:last-child {
    border-right: none;
}

.alternatives {
    background-color: black;
    color: white;
    padding-bottom: 20px;
    border-top: 1px solid white;
}

#alternative-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    padding: 20px;
    grid-auto-rows: 1fr;
}

.alternative {
    border: 1px solid white;
    padding: 20px;
    text-align: left;
    box-sizing: border-box;
    height: 100%;
}

.alternatives .search-bar {
    width: 80%;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 0px;
    color: white;
    background-color: black;
    border: 1px solid white;
}

.alternatives .filter-dropdowns {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 80%;
    margin: 15px auto 0;
}

.alternatives .filter-dropdown {
    flex: 1;
    padding: 10px 15px;
    font-size: 16px;
    font-family: InstrumentSans, sans-serif;
    border: 1px solid white;
    border-radius: 0;
    background-color: black;
    color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("images/svg/arrow.svg");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 7px;
}

.alternative h3 {
    margin: 0;
}

.alternative a {
    color: white;
    text-decoration: underline;
    text-decoration-color: white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 20px 30px;
    border: 1px solid black;
    width: 90%;
    max-width: 500px;
    box-sizing: border-box;
    text-align: left;
    font-family: InstrumentSans, sans-serif;
    position: relative;
}

.modal-content h2 {
    margin-top: 0;
}

.close {
    color: black;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #f66;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-family: InstrumentSans, sans-serif;
    border: 1px solid black;
    box-sizing: border-box;
}

.submit-btn {
    background-color: black;
    color: white;
    border: 1px solid black;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-family: InstrumentSans, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.submit-btn:hover {
    background-color: white;
    border: 1px solid black;
    color: black;
}

@media only screen and (max-width: 600px) {
    .hero {
        flex-direction: column;
        padding: 100px 20px;
    }
    .hero h1 {
        font-size: 60px;
    }
    .hero-map {
        width: 200px;
        height: 200px;
    }
    .features {
        flex-direction: column;
    }
    .feature {
        border-right: none;
        border-bottom: 1px solid black;
    }
    .feature:last-child {
        border-bottom: none;
    }

    .alternatives .search-bar {
        width: 90%;
    }

    .alternatives .filter-dropdowns {
        width: 90%;
        margin: 15px auto 0;
    }

    .alternatives .filter-dropdown {
        width: 100%;
    }

    #alternative-list {
        grid-template-columns: 1fr;
    }
}
