@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,500,1,0');

body {
    padding: 0;
    margin: 0;
    font-family: sans-serif;


    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

h1,h2,h3 {
    font-weight: 300;
    margin: 0;
}



/* Header stuff */

header {
    background-color: #3b4c5c;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

header img {
    height: 60px;
    padding: 20px 120px;
    padding-right: 0;
}

header nav {
    padding: 20px;
}

header a {
    text-decoration: none;
    color: white;
    padding: 10px 10px;
    transition-property: color;
    transition-duration: 200ms;
    font-size: 1.75rem;
}

header a:hover {
    color: rgb(230, 230, 230);
}

nav .alt-menu {
    display: none;
}



/* Footer stuff */

footer {
    background-color: #272e36;
    color: white;
    display: flex;
}

footer>div {
    width: 50%;
    padding: 75px;
}


/* Left side */

#contact-info-container h2 {
    font-size: 5rem;
}

#contact-info-container article>div {
    display: inline-block;
    padding: 10px;
}

#contact-info-container a,#contact-info-container p {
    /* Skal også addressere anchor links her fordi Safari er en lortebrowser */
    font-size: 1.75rem;
    margin: 0;
    color: white;
    /* text-decoration: none; */
}

#contact-info-container h6 {
    font-weight: 300;
    margin: 0;
    font-size: 1.5rem;
}

#contact-info-container img {
    height: 48px;
    margin: 50px 0 0 20px;
}


/* Right side */

#contact-box {
    background-color: #2c3640;
    padding: 50px;

}

#contact-box h6 {
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

#contact-box input,textarea {
    display: block;
    background-color: transparent;
    border-color: 3px solid #E6E7E8;
    color: #E6E7E8;
    padding: 15px;
    box-sizing: border-box;
    font-size: 1.25rem;
    margin: 10px 0 40px 0;
    width: 95%;
    resize: none;
    font-family: sans-serif;
}

#contact-box textarea {
    min-height: 200px;
}

#contact-box button {
    background-color: #4a4d52;
    border-width: 0;
    border-radius: 5px;
    width: 95%;
    transition-duration: 100ms;
}

#contact-box button>img {
    width: 36px;
    margin: 15px;
}

#contact-box button>p {
    display: inline-block;
    color: #E6E7E8;
    vertical-align: bottom;
    font-size: 1.25rem;
}

#contact-box button:hover {
    cursor: pointer;
    background-color: #61656B;
}



/* Main content */

main {
    flex-grow: 1;
}

@media only screen and (max-width: 1200px) {

    /* Header stuff */

    header {
        padding: 5px;
        align-items: center;
    }

    header img {
        padding: 20px;
    }

    nav>a {
        display: none;
    }


    /* Alt hamburger menu */

    nav .alt-menu {
        display: block;
    }

    .menu-open,.menu-close {
        z-index: 9;
        position: absolute;
        font-size: 2rem;
        padding: 15px;
        background-color: #2c3640;
        border-radius: 5px;
        color: white;
        right: 15px;
        top: 25px;
    }

    .alt-menu input:hover {
        cursor: pointer;
    }

    .menu-close {
        opacity: 0;
        transition-duration: 250ms;
    }

    .alt-menu input {
        position: absolute;
        width: 4rem;
        height: 4rem;
        right: 15px;
        z-index: 10;
        top: 25px;
        opacity: 0;
    }

    .alt-menu input:checked ~ .menu-close {
        opacity: 1;
    }

    .alt-menu ul {
        display: none;
    }

    .alt-menu input:checked ~ ul {
        display: block;
        position: absolute;
        top: 90px;
        right: 0;
        z-index: 10;
    }

    .alt-menu ul li {
        width: 100vw;
        background-color: #3b4c5c;
        display: block;
        text-align: center;
    }

    .alt-menu ul li:first-child {
        height: 20px;
    }

    .alt-menu ul li:nth-child(even) {
        background-color: #3e4f5c;
    }

    .alt-menu a {
        display: block;
        padding: 20px;
    }

    .alt-menu a:hover {
        background-color: #4b4c5c;
    }


    
    /* Footer stuff */

    footer {
        flex-direction: column;
        align-items: center;
    }

    footer>div {
        width: 100%;
        box-sizing: border-box;
    }

}

@media only screen and (max-width: 700px) {

    /* Header stuff */

    header img
    {
        padding: 20px 10px;
        height: auto;
        width: 75%;
    }

    .menu-open,.menu-close {
        top: 10px;
    }

    .alt-menu input {
        top: 10px;
    }

    .alt-menu input:checked ~ ul {
        top: 7.5%;
    }



    /* Footer stuff */

    /* Top container */

    footer>div:first-child {
        padding: 50px;
    }

    #contact-info-container img {
        height: 36px;
        margin: 25px 0 0 10px;
    }

    #contact-info-container>p {
        margin-bottom: 2rem;
    }

    #contact-info-container h6 {
        font-size: 1rem;
    }

    #contact-info-container a,#contact-info-container p {
        font-size: 1.25rem;
    }

    #contact-info-container h2 {
        font-size: 3.5rem;
    }

    /* Bottom container */

    footer>div:last-child {
        padding: 25px;
    }

}