:root {
    --header-background: #7491e8;
    --header-text-color: #fff;
    --accent-color: #2345a8;
    --text-color: #000;
    --footer-background: #7491e8;
    --footer-text-color: #000;
}

*,
html {
    box-sizing: border-box;
}

body {
    font-family: "bonnie", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0.5px;
    line-height: 28px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--header-background);
    color: var(--header-text-color);
    width: 100%;
    margin: 0;
    padding: 0;
}

nav {
    display: flex;
    justify-content: end;
    align-items: center;
    flex-grow: 1;
    flex-shrink: 0;
}

footer {
    display: flex;
    flex-direction: column;
    background-color: var(--footer-background);
    color: var(--footer-text-color);
    width: 100%;
    margin: 40px 0 0 0;
    padding: 0;
    font-size: 16px;
    line-height: 20px;
    align-items: center;
}

.menu {
    margin: 0px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    min-width: 0;
}


.colofon ul, .popup-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li,
.colofon li,
.popup-menu li {
    margin: 0;
    padding: 0;
}

.colofon a,
.colofon a:visited {
    text-decoration: none;
    color: var(--footer-text-color);
    transition: all 0.3s ease 0s;
}

.colofon a:hover {
    text-decoration: underline;
}

.footer a:hover {
    color: var(--accent-color);
}

.menu a,
.menu a:visited {
    list-style: none;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--header-text-color);
    transition: all 0.3s ease 0s;
}

.menu a:hover {
    background-color: var(--accent-color);
}

.popup {
    position: relative;
}

.popup .popup-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 48px;
    border-top: 1px solid #fff;
    background-color: var(--header-background);
    color: var(--header-text-color);
}

.popup-menu a {
    width: 100%;
}

li:hover .popup .popup-menu {
    display: block;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

.logo {
    padding: 20px 0px;
}

.hero {
    width: 100%;
    background-image: url("assets/headerfoto.jpg");
    content: "";
    background-size: 100%;
    background-repeat: no-repeat;
    aspect-ratio: 3.28/1;
}

.tagline {
    margin-left: auto;
    margin-right: auto;
    width: 65%;
    background-image: url("assets/Tagline.png");
    content: "";
    background-size: 100%;
    background-repeat: no-repeat;
    height: 91px;
    margin-top: -20px;
}

.wrapper {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.container {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.shorts {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 20px;
    margin: 20px 0px;
}

.shorts-reversed {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 40px;
    margin: 40px 0px;
}

.shorts p, .shorts-reversed p {
    font-style: italic;
}

.colofon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 70%;
    gap: 40px;
}

.colofon div {
    padding: 40px;
}

.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px;
    padding: 8px;
    border-left: solid 1px var(--footer-text-color);
    border-right: solid 1px var(--footer-text-color);
}

.footer-last {
    border-left: 1px solid var(--footer-text-color);
    padding-left: 16px;
}

.sidebar {
    min-height: 100vh;
    margin-right: 100px;
    font-size: 24px;
    width: 496px;
}

.sidebar h1 {
    font-size: 28px;
}
.sidebar img {
    margin-top: 25px;
}

.sidebar ul, .list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li, .list li {
    padding: 8px;
}

.list-header {
    margin-top: 12px;
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}

.icon {
    fill: #4465f9;
    width: 24px;
    height: 24px;
}
.icon:hover {
    fill: #000000;
}

.sidebar a,
.sidebar a:visited {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease 0s;
}

.sidebar a:hover {
    color: var(--accent-color);
}

.sidebar-menu-active {
    font-weight: bold;
    color: var(--accent-color) !important;
}

.hamburger {
    display: none;
    cursor: pointer;
    background-color: var(--accent-color);
    color: white;
    border: none;
    font-size: 24px;
}

.active {
    font-weight: bold;
    color: var(--accent-color) !important;
}

.content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.content-image {
    width: 100%;
    margin-bottom: 20px;
}

h1 {
    font-weight: 600;
    font-size: 32px;
    line-height: 48px;
    margin: 0;
    padding: 0;
    color: var(--accent-color);
}

h2 {
    font-size: 24px;
    line-height: 36px;
    margin: 0;
    padding: 0;
    font-weight: 600;
}

input {
    padding: 8px;
    width: 100%;
    margin: 8px 0px;
}

textarea {
    padding: 8px;
    width: 100%;
    font-family: "bonnie", sans-serif;
    margin: 8px 0px;
}

button {
    padding: 8px;
    background-color: var(--accent-color);
    color: var(--header-text-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    font-family: "bonnie", sans-serif;
}

.button-send {
    padding: 8px 20px;
    background-color: #7491E8;
    color: #000;
    border: 1px solid #555555;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    font-family: "bonnie", sans-serif;
    font-size: 24px;
}

.button-link {
    padding: 4px 16px;
    background-color: #7491E8;
    color: #000;
    border: 1px solid #555555;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    font-family: "bonnie", sans-serif;
    font-size: 16px;
}

.social {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
}


@media only screen and (max-width: 1024px)  {
    .shorts {
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: 20px;
        margin: 20px 0px;
    }

    .shorts-reverse {
        flex-direction: column-reverse;
        justify-content: start;
        align-items: start;
        gap: 20px;
        margin: 20px 0px;
    }

    .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px
    }

    .container-item-1,
    .container-item-2,
    .container-item-3,
    .container-item-4,
    .container-item-5,
    .container-item-6,
    .container-item-7,
    .container-item-8{
        flex: 1;
    }

    .tagline {
        margin-left: auto;
        margin-right: auto;
        width: 95%;
        background-image: url("assets/Tagline.png");
        content: "";
        background-size: 100%;
        background-repeat: no-repeat;
        height: 70px;
        margin-top: -20px;
    }
}

.menu-active {
    display: block;
}

@media screen and (max-width: 1000px) {
    .wrapper {
        flex-direction: column;
    }

    .sidebar {
        min-height: auto;
    }

    .container {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    .tagline {
        margin-top: -10px;
    }

    .shorts {
        flex-direction: column;
    }

    .shorts-reversed {
        flex-direction: column-reverse
    }

    .logo img {
        width: 100%;
    }

    .hamburger {
        display: block;
    }
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .menu-active {
        display: flex;
    }

    nav {
        align-items: start;
    }
}