
* {
    margin: 0;
    padding: 0;
}

html {
    color: #1d1f20;
}

body {
    background:
        linear-gradient(#eee1d6ed, #eee1d6ed),
        url('./../img/aras_kvarn.svg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    height: 100vh;
}

main {
    min-height: 100vh;
    margin: 0 20%;
    font-family: sans-serif;
    background: #eee1d6a8;
    padding-bottom: 1.5rem;
    padding-top: 1rem;
    border-radius: 5px;
}

@media only screen and (max-width: 980px) {
    main {
    margin: 0 5%;
    }
}

.header {
    position: sticky;
    top: 0;
    padding: 10px 16px;
    background-image: url('./../img/header-img.png');
    background-repeat: no-repeat;
    background-size: 140%;
    max-height: 130px;
}

.header h1 {
    margin-top: 20px;
}

.nav {
    text-align: center;
    margin-top: 30px;
}

button {
    margin: 5px;
    padding: 5px;
    width: 220px;
    background-color: #b3a59891;
    border: solid 4px #252729b2;
    border-style:double;
}

h1 {
    text-align: center;
    font-family: serif;
    font-weight: 500;
    font-size: 2.15em;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 30px;
    font-family: "Cormorant Garamond", serif;
}

h2 {
    font-family: "Cormorant Garamond", serif;
    color: #252729;
    font-size: 1.75em;
    margin-top: 15px;

}

h4 {
    font-family: "Cormorant Garamond", serif;
    color: #252729;
    font-size: 1.75em;
    margin-top: 10px;
}
    

a {
    font-family: "Cormorant Garamond", serif;
    text-decoration: none;
    color:#111316;
    font-size: 1.75em;
    font-weight: 700;
}

li {
    list-style-type: none;
}

p {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15em;
    margin-top: 10px;
    line-height: 1.5;
    margin-bottom: 5px;
    color: #111213;
}
#map { height: 40vh; }

.text-area {
    margin: 0 20%;
    margin-top: 30px;
    padding: 10px;
}

.text-area form {
    border: 2px solid #524b4391;
    background-color: #b3a59891;
    padding: 1rem;
}

.text-area fieldset {
    border: none;
}

.text-area legend {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-left: 2.5%;
    font-size: larger;
}

.text-area label {
    font-family: "Cormorant Garamond", serif;
    margin-left: 2.5%;
    font-size: large;
    font-weight: bold;
}

.text-area li {
    margin-bottom: 0.75rem;
}

.text-area input[type="text"] {
    width: 95%;
    margin-left: 2.5%;
    background-color: #fffdfdb3;
    border: none;
    padding: 0.25rem;
}

.text-area p {
    margin-left: 2.5%;
}

.submit-button {
    margin-left: 2.5%;
    font-family: "Cormorant Garamond", serif;
    font-size: large;
    padding: 0.25rem;
    cursor: pointer;
}

@media only screen and (max-width: 980px) {
    .text-area {
    margin: 0%;
    margin-bottom: -20px;
    }
}

@media  only screen and (max-width: 980px) {
    main {
        margin-top: -10px;
    }
}

hr {
    color: #ffcaa952;
}

.tel {
    font-size: 1.25em;
}

.vandrarhem a {
    font-size: 1.25rem;
    color: rgb(53, 150, 101);
    text-decoration: underline;
}

.textkarta {
    margin-top: -1.5rem;
    padding: 1rem;
}

.textkarta h4, p {
    padding-left: 1rem;
}

table {
    
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}

table th {
    text-align: left;
    width: 12.85%;
}

table tr:nth-child(even) {
    background-color: #e19e759d;
}

table tr:nth-child(odd) {
    background-color: #ffcaa9b2;
}

.navbutton {
    font-family: "Cormorant Garamond", serif;
    color:#111316;
    font-size: 1.65em;
    font-weight: 700;
}

.navbutton:hover {
    background-color: #dcd1c6a4;
    cursor: pointer;
}