/*
    CSS file created by Lars Skjærbæk
*/

body {
    width: 90%;
    margin: auto;
}

#header {
    width: 100%;
    margin: auto;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #9A8E80;
    color: white;
    text-align: center;
}

#nav {
    width: 100%;
    margin: auto;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: C7B79C;
    text-align: center;
}

#section {
    float: left;
    text-align: left;
    width: 56%;
    margin: 2%;
}

#aside {
  float: left;
  text-align: center;
  width: 36%;
  margin: 2%;
}

#footer {
    float: left;
    width: 100%;
    margin: auto;
    padding-top: 1px;
    padding-bottom: 1px;
    background-color: #9A8E80;
    color: white;
    text-align: center;
}

#menu {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #C7B79C;
}

.menuPunkt {
    float: left;
}

.menuPunkt a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    background-color: #C7B79C;
}

.menuPunkt a:hover {
    background-color: #111;
}

/* mobil optimeret design */
@media screen and (max-width: 800px) {

    #section {
      width: 100%;
      margin: auto;
    }

    #aside {
      width: 100%;
      margin: auto;
    }

}

.testbtn {
    background-color: #9A8E80;
    color: white;
    font-size: 15px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.testbtn:hover {
    background-color: #9A8E80;
}

div.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

div.gallery-item {
  margin: 5px;
  border: 1px solid #ccc;
  width: calc(50% - 20px)
}

div.gallery-item:hover {
  border: 1px solid #777;
}

div.gallery-item img {
  width: 100%;
  height: auto;
}

div.gallery-item div.desc {
  padding: 15px;
  text-align: center;
}

.gallery-item {
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

#section p {
  line-height: 1.6;
  max-width: 600px;
}

#aside img {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.foto-tekst {
  font-weight: bold;
  letter-spacing: 2px;
  padding: 10px 0;
}

.tags {
  font-size: 14px;
  color: #9A8E80;
  letter-spacing: 1px;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.desc {
  padding: 15px;
  text-align: center;
}