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

:root {
    --theme-color: #752139;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 115px;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
}

main {
    flex: 1 0 auto;
    margin: 150px 0 50px 0;
}



.title {
    display: inline-block;
    font-size: 35px;
    font-weight: 500;
    border-bottom: solid 3px var(--theme-color);
    margin-bottom: 15px;
}

.description {
    font-size: 20px;
}

.small-text {
    font-size: 17.5px;
}

.button, .small-button {
    padding: 15px;
    border-radius: 10px;
    font-size: 20px;
    background-color: var(--theme-color);
    color: white!important;
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    text-decoration: none!important;
    transition: background-color .3s, box-shadow .3s, filter .3s;
}

.small-button {
    font-size: 19px;
    padding: 5px 10px;
}

.button:hover, .small-button:hover {
    background-color: var(--theme-color);
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.5);   
    filter: brightness(80%);
}



/* Menü */

header nav {
    position: fixed;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100px;
    top: 0;
    left: 0;
    padding: 0 15px;
    background-color: #eeeeee;
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

header nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    justify-content: space-around;
    width: 100%;
    height: 100%;
}

header nav ul li {
    position: relative;
    list-style: none;
    text-align: center;
}

header nav ul li a {
    font-size: 20px;
    font-weight: 500;
    color: black;
    text-decoration: none;
    transition: color .25s;
}

.selected-nav {
    color: var(--theme-color);
}

header nav ul li a:hover {
    color: var(--theme-color);
}

header nav ul li a::after {
    position: absolute;
    content: '.';
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    transform: translateY(5px);
    color: transparent;
    background-color: var(--theme-color);
    transition: width .25s;
    z-index: 5;
}

header nav ul li a:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: absolute;
    display: none;
    flex-direction: column;
    width: auto;
    min-width: 100%;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    padding: 25px 25px 15px 25px;
    border-radius: 0 0 10px 10px;
    background-color: #eeeeee;
    box-shadow: 0px 25px 25px 0px rgba(0, 0, 0, 0.075);
    z-index: 4;
}

.mobile-nav-container {
    position: fixed;
    display: none;
    width: 100%;
    height: 50px;
    background-color: #eeeeee;
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.25);
    z-index: 3;
}

#mobile-nav-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 60px;
    height: 100%;
    padding: 10px;
    cursor: pointer;
    opacity: 1.0;
}

#mobile-nav-btn hr {
    width: 100%;
    height: 100%;
    height: 5px;
    border: none;
    background-color: black;
    border-radius: 15px;
    transition: .3s opacity, .3s transform;
}

.btn-nav-shown .mobile-nav-line-top {
    transform: translateY(250%) rotate(45deg);
}

.btn-nav-shown .mobile-nav-line-middle {
    opacity: 0.0;
}

.btn-nav-shown .mobile-nav-line-bottom {
    transform: translateY(-250%) rotate(-45deg);
}

@media only screen and (max-width: 900px) {
    html, body {
        scroll-padding-top: 75px;
    }

    main {
        margin-top: 100px;
    }

    header nav {
        display: none;
        top: 50px;
        height: calc(100% - 50px);
    }

    header nav ul {
        flex-direction: column;
        justify-content: space-evenly;
        gap: 0;
        height: 100%;
    }

    .mobile-nav-container {
        display: flex;
    }

    .nav-dropdown {
        gap: 25px;
    }

    .dropdown-upside {
        top: -180px;
        border-radius: 10px 10px 0 0;
        box-shadow: 0px -25px 25px 0px rgba(0, 0, 0, 0.075);
    }
}



/* Mail-Popup */

#contact-alert-container {
    position: fixed;
    display: flex;
    justify-content: center;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    z-index: 6;
}

.alert-text-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    gap: 25px;
    align-items: start;
    padding: 30px 50px;
    background-color: whitesmoke;
    border-radius: 10px;
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.25);
}



/* Footer */

footer {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background-color: #f5f5f5;
    font-size: 20px;
    padding-top: 50px;
}

.footer-top-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 90%;
    max-width: 1900px;
    margin: auto;
}

.footer-top-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

.footer-top-item form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    gap: 15px;
}

.footer-top-item form input, .footer-top-item form textarea {
    width: 100%;
    max-width: 450px;
    height: 50px;
    padding: 15px;
    border: 2px solid var(--theme-color);;
    border-radius: 10px;
    color: black;
    font-size: 15px;
    outline: none;
    transition: border .3s, box-shadow .3s;
}

.footer-top-item form input:focus, .footer-top-item form textarea:focus {
    border: 2px solid black;
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.15);
}

.footer-top-item form textarea {
    height: 150px;
    resize: none;
}

.footer-top-item button {
    align-self: center;
    border: none;
}

.footer-top-item a {
    color: black;
    text-decoration: none;
}

.footer-top-item a:hover {
    text-decoration: underline;
}

.footer-title {
    font-size: 27.5px;
    font-weight: 500;
    margin-bottom: 15px;
}

.footer-bottom-container {
    background-color: #e0e0e0;
    padding: 15px 50px;
    text-align: center;
}

@media only screen and (max-width: 800px) {
    .footer-top-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .footer-top-item {
        width: 80%;
    }

    .footer-top-item form input, .footer-top-item form textarea {
        width: 100%;
    }
}
