@charset "UTF-8";

body {
    display:grid;
    grid-template-columns: 50px 500px 300px 200px ;
    grid-template-rows: 200px 200px 200px 200px 200px ;
    grid-template-areas: 
    "header     header     header    header"
    "nav      nav     nav     nav "
    ".     main     aside     ."
    ".     article  article    ."
    "footer footer footer footer";
background-color: rgb(80, 78, 88);
    
}
html, body {
    height:100%;
}


header {
    grid-area: header;
   
}
footer {
    grid-area: footer;
}

nav {
    grid-area: nav;
    
    
}
nav ul {
    list-style: none;
    margin:0;
    padding: 0;
    display:flex;
    justify-content: space-evenly;
    flex-direction: row;
    
   position: relative;
   gap: 0.5rem;
    
}
nav a {
    text-decoration: none;
    display: block;
    padding: 0.4rem;
    text-align: left;
    
}
nav ul ul {
    visibility:hidden;
    flex-direction:column;
    gap:1rem;
    list-style: none;
    position: absolute;
    display: flex;
    margin-left: 0;
    border 1px solid #333333;
    box-shadow: 6px 6px 10px #333333;
    
}
nav ul li:hover ul{
    visibility: visible;
    background-color: rgb(117, 107, 103);
    
}
nav a:link, nav a:visited {
   
    color: lawngreen;
    
}
nav a:hover, nav a:active {
    background-color: rgb(141, 131, 131);
    color: navy;
}
nav a .thisPage {
    color: orange;
}
main {
    grid-area: main;
}
aside {
    grid-area: aside;
}
article {
    grid-area: article;
}

#firstPageHeader {
    background-image: url(../img/Logotyp.jpg);
}
table {
    background-color: #ffffff;
    border-collapse: collapse;
    box-shadow: 10px 10px 15px #1b1a1a;
    ;
    float:right;
    
    
}
th, td {
    border: 2px solid #cccccc;
    padding: 6px;
    text-align: left;
}
th {
    background-color: #c0a05f;
    color: aliceblue;
    vertical-align: bottom;
}
tr:nth-of-type(even) {
    background-color: #EDC;
}
#booking {
    padding: 20px;
}
#booking fieldset {
    background-color: #ffeedd;
    margin-bottom: 20px;
}
#booking legend {
    font-weight: bold;
}
#send {
text-align: justify;
}
#booking fieldset div {
    display:grid;
    gap: 0.6em;
    white-space: nowrap;
}
#date div {
    grid-template-columns: 1fr 1fr;
}
#send input {
    font-size: 1.5em;
    border-radius: 0.6em;
    background-color: #c41313;
    box-shadow: 10px 10px 15px #1b1a1a;
}
#location {
    width: 60ch;
    box-shadow: 10px 10px 15px #1b1a1a;
}
#name {
    width: 60ch;
    box-shadow: 10px 10px 15px #1b1a1a;
}
#mail {
    width: 60ch;
    box-shadow: 10px 10px 15px #1b1a1a;
}
#date {
    width: 60ch;
    box-shadow: 10px 10px 15px #1b1a1a;
}
#uppgifter {
    width: 60ch;
    box-shadow: 10px 10px 15px #1b1a1a;
}
#wrapper div {
    width: 400px;
    height: 550px;
    border-width: 6px;
    border-style: solid;
    border-color: rgb(126, 26, 26);
    border-radius: 15px;
    
}
#box1 {
    width: 300px;
    height: 200px;
    margin-bottom: 45px;
    
}
#victor-profil {
    width: 300px;
    margin-left: 50px;
    vertical-align: top;
    border-radius: 50%;
    border-style: double;
    border-color: black;
    border-style: double;
    border-color: black;
}
#fredrik-profil {
    width: 300px;
    margin-left: 50px;
    vertical-align: top;
    border-radius: 50%;
    height: 300px;
    border-style: double;
    border-color: black;
    
}
#linus-profil {
    width: 300px;
    margin-left: 50px;
    vertical-align: top;
    border-radius: 50%;
    border-style: double;
    border-color: black;
}
#box1 p {
    padding:10px;
}
section {
    margin-bottom: 30px;
}
section ul {
    list-style: none;
    display: flex;
    flex-direction: row;
}
#galleri {
    margin-top: 700px;
}

#galleri img {
height: 200px;
margin-right: 40px;
border-radius: 10px;
transition:transform 1s;
opacity:1;
}
#galleri img:hover {
transform:scale(1.2);
opacity:0.7;
}
#rubrik1 {
margin-left: 500px;
}
#måltid {
    width: 500px ;
    height: 400px;
    

}
#pinne {
    width:500px;
    margin-left: 120px;
    margin-top: 27px;
    height: 450px;
}
#intro {
    background-color:#c41313;
    font-style: italic;
    color: bisque;
    padding:20px;
    height:360px;
    
}
#wrapper2 {
    opacity: 0.5;
}
#wrapper2 div{
    display:flex;
    flex-direction: row;
    justify-content: space-evenly;
    color: antiquewhite;
    background-color: black;
    margin-left: 50px;
    margin-bottom: 100px;
    margin-top: 10px;
    
}
#wrapper3 {
    display: grid;
    grid-template-columns: repeat(16,1fr);
    grid-template-rows: 150px 150px 150px 100px 100px;
    width: 200%;
    gap: 20px;
}
#wrapper3 div {
    border-radius: 10px;
    padding: 10px;
    
}
#william1 {
    background-color: aqua;
    grid-column: 1/7;
    grid-row: 1/2;
    background-image:url(/img/william2.jpg);
    background-position: center;
    background-size: cover;
}
#william2 {
    background-color: rgb(190, 43, 68);
    grid-column: 1/7;
    grid-row:2/4;
    background-image:url(/img/william1.jpg);
    background-position: center;
    background-size: cover;
}
#william3 {
    background-color: rgb(117, 199, 24);
    grid-column: 7/14;
    grid-row: 1/3;
    background-image:url(/img/William5.jpg);
    background-position: center;
    background-size: cover;
}
#william4 {
    background-color: rgb(24, 207, 49);
    grid-column:7/17;
    grid-row: 3/4;
    background-image:url(/img/william4.jpg);
    background-position: center;
    background-size: cover;
}
#william5 {
    background-color: rgb(41, 14, 196);
    grid-column: 14/17;
    grid-row: 1/2;
    background-image:url(/img/William3.jpg);
    background-position: center;
    background-size: cover;
}
#william6 {
    background-color: rgb(228, 238, 238);
    grid-column: 14/17;
    grid-row: 2/3;
    background-image:url(/img/william6.jpg);
    background-position: center;
    background-size: cover;
}
#william7 {
    background-color: rgb(14, 20, 20);
    grid-column: 1/10;
    grid-row: 4/6;
    background-image:url(/img/william7.jpg);
    background-position: center;
    background-size: cover;
}
#william8 {
    background-color: rgb(125, 138, 138);
    grid-column: 10/17;
    grid-row: 4/6;
    background-image:url(/img/william8.jpg);
    background-position: center;
    background-size: cover;
}
#stadgar {
    justify-content: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    border-style: ridge;
}
#menuicon {
    display: inline-block;
    background-image: url(../img/menuicon.png);
    width: 24px;
    height: 24px;
    cursor:pointer;
}
#menucheckbox {
    display: none;
}
#menucheckbox ~ ul {
    display: none;
}
#menucheckbox:checked ~ ul {
    display: flex;
}
@media screen and (max-width:600px) {
   nav ul ul{
        display: flex;
        visibility:hidden;
        position:relative;
   
    }
    nav ul li:active ul {
        visibility:visible;
        position:absolute;
    }
}