/*FONTS*/

.cooper-blk {
  font-family: "cooper-black-std", serif;
  font-weight: 400;
  font-style: normal;
}
.cooper-blk-italic {
  font-family: "cooper-black-std", serif;
  font-weight: 400;
  font-style: italic;
}
.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

/*FONTS END*/

/*CSS FOR ALL HTML PAGES*/
h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
}

h2 {
  font-size: 1.2rem;
}
h3 {
  font-size: 1.1rem;
}

html,
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  background-color: #f7f7ec;
}

footer {
  padding-top: 10px;
  padding-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
}
main {
  height: auto;
  background-color: #fee8c8;
  width: auto;
}

nav a[aria-current="page"] {
  color: #933932;
  background-image: linear-gradient(90deg, #933932 0%, #bd4d57 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

img {
  border-radius: 10px;
  margin: 10px;
}
.overlay-content a[aria-current="page"] {
  color: #933932;
  background-image: linear-gradient(90deg, #933932 0%, #bd4d57 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

a {
  color: black;
  text-decoration: none;
}

/*CSS FOR ALL HTML PAGES END*/

/*LOGOTYP WS*/
.ws-logo-200-blk {
  width: 200px;
  height: 200px;
  fill: black;
}
.ws-logo-100-blk {
  width: 100px;
  height: 100px;
  fill: black;
}
.ws-logo-80-blk {
  width: 80px;
  height: 80px;
  fill: black;
}
path {
  fill-rule: evenodd;
  clip-rule: evenodd;
}
/*LOGOTYP WS*/

/*HEADER*/

.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 5px 50px 5px 50px;
  background-color: #f7f7ec;
  width: 100vw;
}
/*BLI MEDLEM BUTTON*/

div .medlem-btn {
  margin-right: 100px;
  margin-left: auto;
}
.medlem-btn {
  height: auto;
  width: auto;
  border-radius: 10px;
  background-color: #a8cc78;
  font-size: 1rem;
  margin-left: auto;
  margin-right: 0px;
  text-align: center;
  right: 0;
  padding: 10px;
}
.medlem-btn:hover {
  background-color: #ff9997;
}
/*MENU - SUBMENU*/
.menu {
  display: none;
  width: 100%;
}
.menu li {
  list-style-type: none;
}
.nav-menu {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  font-size: 1rem;
  gap: 1.4rem;
  padding: 13px 13px 0 13px;
  height: 2rem;
  font-weight: 500;
}
.nav-submenu {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 10px;
  padding-right: 10px;
}

.submenu {
  background-color: #f7f7ec;
  padding: 0;
  margin-top: -30px;
  margin-left: 20px;
  height: 25px;
}
.submenu li {
  list-style-type: none;
}
.nav-link-sub {
  font-size: 0.8rem;
  margin-top: 7px;
  padding: 8px;
}
/*WEATHER API*/
#weather {
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  background-color: rgba(255, 153, 151, 0.1);
}
.weather-api {
  font-size: 0.8rem;
}
.underline-link {
  text-decoration: underline;
}

/*CURTAIN MENU*/
@media (max-width: 929px) {
  .menu-toggle {
    border: none;
    background-color: #f7f7ec;
    font-size: 1.5rem;
    width: 2rem;
    height: 2rem;
    margin-right: auto;
    margin-left: 25px;
  }
  .overlay {
    height: 0%;
    width: 100vw;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: hidden;
    transition: 0.3s;
  }

  .overlay-content {
    position: relative;
    top: 25%;
    width: 100vw;
    text-align: center;
    margin-top: 30px;
    color: #f7f7ec;
  }
  .overlay-content:hover {
    color: #ff9997;
  }

  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 2rem;
    color: #f7f7ec;
    display: block;
    transition: 0.3s;
  }

  .overlay a:hover,
  .overlay a:focus {
    color: #ff9997;
  }

  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 40px;
    color: #f7f7ec;
  }

  @media screen and (max-height: 450px) {
    .overlay {
      overflow-y: auto;
    }
    .overlay a {
      font-size: 20px;
    }
    .overlay .closebtn {
      font-size: 40px;
      top: 15px;
      right: 35px;
    }
  }
}

/*CURTAIN MENU END*/
/*HEADER END*/

/*MAIN*/
.article-text {
  width: 80vw;
  height: auto;
  background-color: rgba(247, 247, 236, 0.6);
  padding: 30px;
  border-radius: 20px;
  max-width: 500px;
  min-width: 350px;
  margin: 10px;
}
/*GRID FOR HOLE LAYOUT IMG*/
.hole-layout {
  display: grid;
  grid-template-columns: 260px;
  grid-template-rows: 360px;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 300px;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 15px;
  border-bottom: 5px solid #f7f7ec;
}
/*ARTICLE CLASS FOR TEXT AND IMG*/
.article {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: auto;
  min-height: 300px;
  width: auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 5px;
  padding-top: 0;
  margin: 10px 0;
}
.article2 {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: auto;
  width: auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 30px;
  padding-top: 0;
}

.article img {
  height: auto;
  max-width: 600px;
  width: 80vw;
}
.img-div {
  width: auto;
  height: auto;
  padding: 50px;
}
/*H1 DIV*/
.headline {
  width: 100%;
  padding: 20px 0;
  background-color: rgba(255, 153, 151, 0.4);
}
/*BUTTONS IN PAGES*/
.btn {
  height: auto;
  width: 130px;
  border-radius: 15px;
  background-color: rgba(255, 153, 151, 0.4);
  font-size: 1rem;
  margin-left: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
  padding: 13px;
}
.btn:hover {
  background-color: rgba(255, 153, 151, 0.6);
}
.bgcolor1 {
  background-color: #fee8c8;
}
.bgcolor2 {
  background-color: #ffd4b0;
}
.back-btn {
  padding: 4px 6px;
  border-radius: 5px;
  font-size: 1.3rem;
  opacity: 50%;
}
/*CONTACT FORM*/
#form-list {
  background-color: rgba(255, 153, 151, 0.3);
  list-style-type: none;
  color: black;
  font-weight: 400;
  border-radius: 5px;
  padding: 10px;
  width: 300px;
  height: auto;
}
#errorlist {
  list-style-type: none;
  padding: 10px;
  width: 300px;
  height: auto;
}
/*MAIN END*/

/*FOOTER*/

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-around;
}
/*LINKS*/
.footer-links {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 0.9rem;
  width: auto;
  gap: 20px;
}
.footer li {
  font-size: 0.9rem;
  list-style-type: none;
  height: 25px;
}
footer h2 {
  text-align: center;
}
/*SOCIAL ICONS*/
.social {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
.social-link img {
  height: 40px;
  width: auto;
}
#copywrite {
  text-align: center;
  padding-top: 10px;
  font-size: 0.8rem;
}
/*FOOTER END*/

/*HOLE LAYOUT ENLARGE*/
.image-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f7f7ec;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  width: 90vw;
  height: auto;
  max-height: 730px;
  max-width: 530px;
  overflow: hidden;
  border-radius: 20px;
}

/* Styling for the close button */
.close-btn {
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: rgba(255, 153, 151, 0.5);
  color: black;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 20px;
}

/* Styling for the image */
.image-container img {
  width: 83vw;
  height: auto;
  max-height: 660px;
  max-width: 490px;
  padding: 10px;
  margin-right: 0px;
  margin-left: 0px;
  border: solid 10px #f7f7ec;
}

.hole-img {
  height: 350px;
  width: auto;
  padding-left: 0px;
  padding-right: 0px;
}
/*HOLE LAYOUT ENLARGE END*/

/*TABLE LAYOUT*/

table {
  margin-left: auto;
  margin-right: auto;
  max-width: 520px;
  width: 90vw;
  height: auto;
  text-align: center;
  background-color: rgba(247, 247, 236, 0.5);
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 10px;
  font-size: 0.8rem;
}
th {
  height: auto;
  width: auto;
  padding: 5px;
  border-radius: 5px;
  background-color: rgba(255, 153, 151, 0.5);
}
td {
  height: auto;
  width: auto;
  padding: 5px;
  border-radius: 5px;
  background-color: rgba(255, 153, 151, 0.3);
}

/*TABLE LAYOUT END*/

/*FORM LAYOUT*/

.form {
  width: auto;
  height: auto;
  margin: 30px;
  padding: 30px;
  background-color: rgba(255, 153, 151, 0.3);
  border-radius: 10px;
}

.form input {
  border: none;
  width: 300px;
  height: 30px;
  border-radius: 5px;
  padding-left: 5px;
  padding-right: 5px;
  margin-left: 5px;
  margin-right: 5px;
}

.form textarea {
  border: none;
  width: 300px;
  height: 300px;
  padding: 5px;
  border-radius: 5px;
  margin-left: 5px;
  margin-right: 5px;
}

.form button {
  border: none;
  border-radius: 5px;
  padding: 5px;
  background-color: #f7f7ec;
  margin-left: 10px;
}
.form label {
  margin-left: 10px;
  font-size: 0.9rem;
}
/*FORM LAYOUT END*/

/*MEDIA QUERY FOR HOLE LAYOUT GRID*/
@media (min-width: 580px) {
  .hole-layout {
    grid-template-columns: 260px 260px;
  }
}

/*MEDIA QUERY FOR NAV-MENU*/
@media (min-width: 870px) {
  .menu-toggle {
    display: none;
  }
  .menu {
    display: block;
    width: auto;
  }
  .overlay {
    display: none;
  }
  .medlem-btn {
    margin-right: auto;
  }
  .nav-menu {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }
  .nav-link {
    padding: 13px;
    height: auto;
    width: auto;
  }
}
/* NAVLINK ANIMATION */
a {
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.nav-link a::before,
a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, #ffd4b0, #ff9997);
  transition: all 0.1s;
}

.nav-link a::before {
  top: -10px;
  left: 0;
}

.nav-link a::after {
  bottom: -10px;
  right: 0;
}

.nav-link a:hover::before {
  width: 100%;
  transition: width 0.2s ease-in-out;
}

.nav-link a:hover::after {
  width: 100%;
  transition: width 0.2s ease-in-out 0.2s;
}
/* NAVLINK ANIMATION END */

/*MEDIA QUERY FOR HOLE LAYOUT GRID*/
@media (min-width: 970px) {
  .hole-layout {
    grid-template-columns: 260px 260px 260px;
  }
}

/*SCREEN BIGGER THAN*/
@media (min-width: 1020px) {
  .footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }
}
/*SCREEN BIGGER THAN 1155PX*/
@media (min-width: 1155px) {
  /*HOLE LAYOUT GRID*/
  .hole-layout {
    grid-template-columns: 260px 260px 260px 260px;
  }
  /*ARTICLE FLEXBOX*/
  .article {
    flex-direction: row;
    justify-content: center;
    padding: 0 100px;
    gap: 30px;
  }
}
