* {
    padding: 0px;
    margin: 0px;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    letter-spacing: 0.2rem;
}

body {
    width: 100%;
}

a:active, a:focus, button:active, button:focus, div:active, div:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent; /* För webkit-baserade webbläsare som Chrome och Safari */
}

html {
    font-size: 62.5%;
}

#menu {
    display: none;
    position: relative;
    cursor: pointer;
}



.centering-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* HEADER */

#navbar-big > a {
    margin-left: 2rem;
}

#dropDownMenu {
    position: absolute;
    background-color: gray;
    width: 250%;
    top: 100%;
    left: -100%;
    /* box-shadow: 0px 8px 16px 0px black; */
    box-shadow: 0px 9px 5px rgba(0,0,0,0.5);
    padding: 12px 16px;
    z-index: 1;
    font-size: 4rem;
}
#dropDownMenu > div > a {
    margin-top: 2rem;
}

#dropDownMenu > div {
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-evenly;
    font-size: 2rem;
    height: 6vh;
    width: 100%;
    background-color: gray;
    border-bottom: 1px solid;
}

.header-container {
    width: 70%;
    padding-left: 5rem;
    padding-right: 5rem;
}

header > div {
    min-height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

header > div > a {
    margin-left: 2rem;
}

a {
    color: lightgrey;
}

a:link {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    opacity: 0.8;
}
a:active {
    text-decoration: none;
    color:green;
}

.hidden {
    display: none;
}

/* CONTENT */

#content-container {
    display: flex;
    justify-content: center;
    background-image: url(assets/img/bg-masthead.jpg);
    background-size: cover;
    height: 94vh;
    width: 100%;
}

.selected {
    opacity: 0.6;
    text-decoration: underline !important;
}

#pagecontent {
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 2rem 4rem rgba(0,0,0,0.5);
    min-height: 75%;
    width: 85%;
    margin: 5rem;
    text-align: center;
    font-size: 2.5rem;
    opacity: 0.9;
    padding: 3rem !important;
    overflow: scroll;
}

#pagecontent h1 {
    margin-top: 0;
}

.flyttahit-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 20px;
}

.flyttahit-content p {
    flex: 1;
    margin-right: 20px;
}

.flyttahit-content img {
    max-width: 200px;
    border-radius: 8px;
}

/* Login form */
#form-login > input {
    border-radius: 1rem;
    padding: 1rem;
    margin: 1rem;
}

.btn {
    border-radius: 1rem;
    padding: 1rem;
    opacity: 1;
    background-color: lightgray;
}


/* Admin panel */
.adminpanel-container {
    width: 100%;
}
#adminpanel-container-target {
    width: 100%;
    display: flex;
    justify-content: center;
}

.adminpanel-header {
    display: flex;
    align-items: center;
    justify-content: right;
    width: 100%;
}
.adminpanel-header > div {
    width: 33%;
}

/* Om Myran */
.ommyran-text-container {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.ommyran-text-container > span {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.ommyran-text-container > p {
    margin-bottom: 2rem;
}
.ommyran-img-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 5rem;
}
.ommyran-img-container > img {
    max-width: 45%;
    margin: 1rem;
}

/* Länkar-page */
.lankar-content-container {
    display: flex;
    height: 100%;
    width: 100%;
}

.lankar-card-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
    width: 15%;
}
.lankar-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 15%;
    border: 3px solid black !important;
    border-radius: 1rem !important;
    background-color: white;
    opacity: 1;
    cursor: pointer;
}
.lankar-card-img > img {
    max-height: 90%;
    max-width: 90%;
}
#lankar-info-container {
    width: 85%;
    margin: 1rem;
}

#inlegg-container {

}

.inlegg-card {
    display: flex;
    flex-direction: column;
    border: solid black 2px;
}

.inlegg-headline {
    color: salmon;
}

.inlegg-text {
    color: blue;
}



@media screen and (max-width: 1200px) {
    html {
        font-size: 50%;
        /* Same as font-size : 5px; */
    }
}
@media screen and (max-width: 920px) {
    html {
        font-size: 31.25%;
        /* Same as font-size : 5px; */
    }
    header {
        font-size: 4rem;
    }
    #pagecontent {
        width: 95%;
        margin: 2rem;
        padding: 1rem !important;
    }
    #navbar-big {
        display: none;
    }
    #menu {
        display: flex;
    }
    #form-login {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        max-width: 40rem;
        height: 50%;
    }
    .ommyran-img-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .ommyran-img-container > img {
        max-width: 90%;
        margin: 1rem;
    }

    .lankar-content-container {
        flex-direction: column;
        align-items: center;
    }
    
    .lankar-card-container {
        flex-direction: row;
        width: 100%;
        height: 8%;
        justify-content:flex-start;
    }
    .lankar-card {
        display: flex;
        margin: 2px;
        align-items: center;
        justify-content: center;
        width: 90%;
        height: 100%;
        border: 1.5px solid black !important;
        border-radius: 1rem !important;
        background-color: white;
        opacity: 1;
    }
    .lankar-card-img > img {
        max-height: 90%;
        max-width: 90%;
        cursor: pointer;
    }
    #lankar-info-container {
        width: 80%;
    }
}