@font-face {
  font-family: mont;
  src: url(Montserrat-ExtraLight.ttf);
}

:root {
  --text-color: #000000;
}

html {
  box-sizing: border-box;
}

* {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

main {
  width: 100%;

}

header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
}

.logo {
  width: 35%;
}

h1 {
  font-size: 1.7rem;
  font-family: mont;
  margin-left: 2.7rem;
}

h1 span {
  display: block;
  font-size: 1.7rem;
  color: var(--text-color);
  margin-top: 0.5rem;
  font-family: mont;
}

h2 {
  color: #d99682;
  font-family: mont;
  margin-left: 4rem;
  font-size: 1.2rem;
}

nav {
  display: flex;
  align-items: start;
  margin-right: 3rem;
  width: 65%;
  padding-top: 10px;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 700;
  font-family: mont;
}

.menu {
  display: flex;
  list-style: none;
  justify-content: space-between;
  width: 100%;
  z-index: 100;
}

.menu li {
  margin-left: 20px;
}

.burger {
  display: none;
  cursor: pointer;
}

.line {
  width: 70px;
  height: 2px;
  margin: 20px;
  background-color: var(--text-color);
}

footer {
  width: 100%;
  border-top: 1px #000000 solid;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 5rem;
}

.some_section {
  grid-column: 1 / span 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.some_section p {
  margin-bottom: 2rem;
}

.icon_container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 140px;
  margin: 0 auto;
  gap: 2rem;
}

.facebook-icon {
  font-size: 55px;
  margin: 0;
  padding: 0;
}

.facebook-icon i {
  font-size: 55px;
}

.instagram-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
  text-decoration: none;
  border-radius: 10px;
}

.instagram-icon i {
  font-size: 50px;
  color: #fff;
}

.info_section {
  grid-column: 2 / span 1;
  text-align: center;
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  align-content: center;
}

.info_section h1 {
  font-size: 1.4rem;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 0;
}

.info_section hr {
  width: 400px;
  margin: auto;
}

.info_section span {
  font-size: 1.4rem;
  text-align: center;
}

.info_section h2 {
  color: #000000;
  text-align: center;
  margin-left: 0;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  text-align: left;
  justify-content: center;
}

.info-item img {
  width: 1.5rem;
  height: auto;
}

.info-item p {
  margin: 0 0 4px 0;
}

.tina_section {
  grid-column: 3 / span 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tina_section img {
  border: 1px #000 solid;
}


.top_gallery_frontside {
  max-width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 1.5rem;   
  place-items: center;
}

.two_photos_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.two_photos_container div {
  max-height: 274px;
}

.two_photos_container img {
  width: 100%;
  height: auto;
}

.small_img1 {
  margin-bottom: 1%;
}

.small_img2 {
  margin-top: 1%;
}

.ledig_plads {
  width: 100%;
}

.hoejstol_img {
  grid-column: 1 / span 1;  
  width: 100%;
  height: 100%;
}

.have_img {
  grid-column: 2 / span 2;
  width: 100%;
  height: auto;
}

.open_side {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  margin: auto;
}

.open_container {
  border: #000000 1px solid;
  width: 45%;
  height: 30%;
}

.open_container ul li {
  list-style: disc;
  padding: 0.7rem;
}

.open_container:first-of-type li {
  display: flex;
  justify-content: space-between; 
  width: 100%;
  margin: 5px 0;
  font-size: 1.2rem;
  font-family: mont;
  font-weight: 600;
}

.open_container h2 {
  margin: 1rem 0;
  text-align: center;
  font-size: 1.7rem;
}

.open-side .open_container:first-of-type {
  margin-left: 10%;
  margin-bottom: 5rem;
}

.open-side .open_container:last-of-type {
  margin-right: 10%;
  padding: 0 1rem;
  font-family: mont;
}

.open_container h5 {
  font-size: 1.2rem;
  font-weight: 400;
  padding: 1.3rem 0 0 0;
  text-decoration: underline;
  margin-left: 1rem;
}

.open_container h6 {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.7rem 0;
  margin-left: 1rem;
}

.custom-list li{
 margin-left: 1rem; 
 font-family: mont;
 font-weight: 400;
}


.open_container p {
  font-size: 1.1rem;
  margin-top: 8px;
}

.open_container p:last-child {
  margin-bottom: 8px;
}


.tilbage_container {
  width: 80%;
  margin: 3rem auto 6rem;
  border: 1px solid #000;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 1.5rem;
}

.tilbage_container h4 {
  margin: 1rem auto;
  font-size: 1.4rem;
}

.tilbage_container p {
  text-align: center;
  font-size: 1.1rem;
}

.ledig_plads_h2 {
  margin-left: 0;
  font-size: 3.5rem;
  
}

.ledig_plads_h5 {
  margin-left: 0;
  font-size: 3rem;
  font-weight: 300;
  font-family: mont;
}

.ledig_main {
  width: 80%;
  margin: auto;
}

.nu_boern_container {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin-top: 4rem;
  min-height: 400px;
  border: 1px solid #000;
  padding: 2rem;
}



.nu_boern_container_2 {
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  margin-top: 4rem;
  min-height: 200px;
  border: 1px solid #000;
  padding: 2rem;
}

.nu_boern_container h2 {
  font-size: 1.9rem;
  display: inline;
  margin: 0;
}

.nu_boern_container div {
  display: flex;
  flex-direction: column;
  height: 3rem;
  justify-content: space-between;
}

.nu_boern_container p {
  display: inline;
  font-size: 1.4rem;
  font-family: mont;
  font-weight: 300;
}

.nu_boern_container_2 h2 {
  font-size: 1.9rem;
  display: inline;
  margin: 0;
}

.nu_boern_container_2 div {
  display: flex;
  flex-direction: column;
  height: 3rem;
  justify-content: space-between;
}

.nu_boern_container_2 p {
  display: inline;
  font-size: 1.4rem;
  font-family: mont;
  font-weight: 300;
}

.nu_boern_box {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 300px;
  margin-top: 1rem;
}

.open_container_p {
  font-family: mont;
  font-size: 1.4rem;
  padding: 10px;
}

.pasnings_side .open_side {
  width: 100%;
}

.pasnings_side .open_container h6 {
  font-weight: 600;
  font-family: mont;
}

.pasnings_side .open_container {
  width: 60%;
  margin: 0;
}


.pasnings_side .open_side {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 80%;
  margin: auto;
}


 .pasnings_side .open_container {
  width: 70%;
  margin-bottom: 4rem;
  margin-left: 0;
  margin-right: 0;
} 


.open_side .open_container:nth-child(odd) {
  text-align: left;
  margin-right: auto;
  width: 60%;
}

.open_side .open_container:nth-child(even) {
  margin-left: auto;
  width: 60%;
  margin-top: 2rem;

}

.custom-list {
  margin-left: 1rem;
}

.pasnings_side h6 {
  margin-left: 1rem;
}




@media screen and (max-width: 1400px) {
  
  .small_img1 {
    margin: 0;
  }

  .small_img2 {
    margin: 0;
  }

  
}

.top_gallery_photos_container {
  max-width: 440px;
  height: 100%;
}

.img_right {
  width: 100%;
  height: auto;
  margin-left: auto;
}

.img_middle {
  height: 100%;
  width: 100%;
  /* margin-left: auto; */
}

.ledig_plads {
  grid-column: span 3;
  padding: 2rem;
  background-color: rgba(232, 168, 173, 0.54); 
  text-align: center;
  border: 1px solid #333; 
  
}

.ledig_plads p {
  font-size: calc(0.9em + 0.7vw);
  font-family: mont, sans-serif; 
  color: #000; 
}

/* #region /*& Media queries til navbar */
@media screen and (max-width: 1100px) {
  .logo {
    width: 65%;
  }

  nav {
    justify-content: right;
    width: 35%;
  }
  .menu {
    display: none;
  }

  .burger {
    display: block;
  }

  .burger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px 5px);
  }

  .burger.active .line:nth-child(2) {
    opacity: 0;
  }

  .burger.active .line:nth-child(3) {
    transform: rotate(45deg) translate(8px -9px);
  }

  .menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: absolute;
    top: 150px;
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: #000000 2px solid;
  }

  .menu.active li {
    margin: 10px 0;
    border-bottom: #000000 1px solid;
  }

  .open_container li {
    font-size: 1rem;
  }

  .pasnings_side .open_container {
    width: 100%;
  }
  
  .open_side .open_container {
    width: 70%;
    margin-bottom: 2rem;
  }
  
  .pasnings_side .open_container {
    width: 80%;
  }
}

@media screen and (max-width: 718px) {
  h1 {
    font-size: 1rem;
    margin-left: 1.7em;
  }

  h1 span {
    font-size: 1rem;
  }

  nav {
    width: 30%;
    margin-right: 1rem;
  }

  .logo {
    width: 70%;
  }

  h2 {
    font-size: 0.8rem;
    margin-left: 3rem;
  }

  .line {
    width: 45px;
    margin: 10px;
  }

  .menu.active {
    top: 110px;
  }

  .ledig_plads {
    padding: 1rem;
  }

  footer {
    margin-top: 2rem;
  }

  .open_container {
    width: 60%;
  }

  .open_container h5 {
    font-size: 1rem;
  }

  .open_container h6 {
    font-size: 1rem;
  }

  .custom-list li {
    font-size: 0.8rem;
  }

  .open_container p {
    font-size: 0.8rem;
  }
  
  .open_side .open_container {
    width: 100%;
  }
}
/* #endregion */

/* #region /*& Media quieries footer */
@media screen and (max-width: 900px) {
  
  .some_section p {
    margin-bottom: 1rem;
  }
  
  .icon_container {
    width: 140px;
  }
  
  .facebook-icon {
    font-size: 45px;
  }
  
  .facebook-icon i {
    font-size: 45px;
  }
  
  .instagram-icon {
    width: 45px;
    height: 45px;
    margin-top: 4px;
  }
  
  .instagram-icon i {
    font-size: 45px;
  }
  
  .info_section h1 {
    font-size: 1rem;
  }
  
  .info_section hr {
    width: 320px;
  }
  
  .info_section span {
    font-size: 1rem;
  }
  
  .info_section h2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
  }
  
  .info-item img {
    width: 1.2rem; 
    height: auto;
  }
  
  .info-item p {
    margin: 0 0 4px 0;  
    font-size: 0.8rem;
  }
  
  
  .tina_section img {
    border: 1px #000 solid;
    width: 120px;
    height: auto;
  }

  .open_container h2 {
    font-size: 1.2rem;
  }
  
  .pasnings_side .open_container {
    width: 80%;
  }
}


@media screen  and (max-width: 620px) {
  
  .some_section p {
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
  }
  
  .icon_container {
    width: 140px;
  }
  
  .facebook-icon {
    font-size: 35px;
  }
  
  .facebook-icon i {
    font-size: 35px;
  }
  
  .instagram-icon {
    width: 35px;
    height: 35px;
    margin-top: 4px;
  }
  
  .instagram-icon i {
    font-size: 35px;
  }
  
  .info_section h1 {
    font-size: 0.8rem;
  }
  
  .info_section hr {
    width: 255px;
  }
  
  .info_section span {
    font-size: 0.8rem;
  }
  
  .info_section h2 {
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
    font-size: 0.8rem;
  }
  
  .info-item img {
    width: 1rem; 
    height: auto;
  }
  
  .info-item p {
    margin: 0 0 4px 0;  
    font-size: 0.7rem;
  }
  
  
  .tina_section img {
    border: 1px #000 solid;
    width: 100px;
    height: auto;
  }

  .open_container li {
    font-size: 0.8rem;
  }
  
  .ledig_plads_h2 {
    font-size: 1.7rem;
  }
  
  .ledig_plads_h5 {
    font-size: 1.5rem;
  }
  
  .nu_boern_container {
    margin-top: 1.2rem;
    min-height: 300px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  
  .nu_boern_container h2 {
    font-size: 1.2rem;
  }
  
  .nu_boern_container p {
    font-size: 1rem;
  }
  
  .nu_boern_container_2 {
    margin-top: 1.2rem;
    min-height: 130px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nu_boern_container_2 h2 {
    font-size: 1.2rem;
  }
  
  .nu_boern_container_2 p {
    font-size: 1rem;
  }
}


@media screen and (max-width: 540px) {
  
  footer {
    width: 100%;
    border-top: 1px #000000 solid;
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .some_section {
    grid-column: 1 / span 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .some_section p {
    margin-bottom: 2rem;
  }
  
  .icon_container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 140px;
    margin: 0 auto;
    gap: 2rem;
  }
  
  .facebook-icon {
    font-size: 55px;
    margin: 0;
    padding: 0;
  }
  
  .facebook-icon i {
    font-size: 55px;
  }
  
  .instagram-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    text-decoration: none;
    border-radius: 10px;
  }
  
  .instagram-icon i {
    font-size: 50px;
    color: #fff;
  }
  
  .info_section {
    grid-column: 1 / span 1;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-content: center;
  }
  
  .info_section h1 {
    font-size: 1.4rem;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 0;
  }
  
  .info_section hr {
    width: 70%;
    margin: auto;
  }
  
  .info_section span {
    font-size: 1.4rem;
    text-align: center;
  }
  
  .info_section h2 {
    color: #000000;
    text-align: center;
    margin-left: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  .info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    text-align: left;
    justify-content: center;
  }
  
  .info-item img {
    width: 1.5rem;
    height: auto;
  }
  
  .info-item p {
    margin: 0 0 4px 0;
  }
  
  .tina_section {
    grid-column: 1 / span 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
  }
  
  .tina_section img {
    border: 1px #000 solid;
  }

  .ledig_plads p {
    font-size: calc(0.6em + 0.6vw);
  }
  
  .nu_boern_box {
    min-height: 240px;
  }
}

/* #endregion */


@media screen and (max-width: 420px) {
  
  .open_side {
    width: 90% !important;
  }

  .top_gallery_frontside {
    grid-template-columns: repeat(2, 1fr);
  }

  .top_gallery_photo_container {
    height: 100%;
  }

  .img_middle {
    height: 100%;
  }

  .two_photos_container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;
  }

  .small_img1 {
    height: 100%;
  }

  .small_img2 {
    height: 100%;
  }
  .img_right {
    display: none;
  }

  .ledig_plads {
    grid-column: 1 / span 2;
  }

  .ledig_plads p {
    font-size: calc(0.5em + 0.7vw);
  }

  .hoejstol_img {
    display: none;
  }

  .have_img {
    grid-column: 1 / span 2;
  }

  

  .open_container {
    width: 100% !important;
  }

  .open_container li {
    font-size: 0.6rem;
    font-weight: 700;
  }
  
  .open_side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .open_container {
    width: 90%; 
    max-width: 500px; 
    text-align: center; 
  }
  
  .open_container h6 {
    margin-left: 0;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px; 
  }

  .open_container:first-of-type {
    margin: 0 0 1.5rem 0;
  }

  .open_container:last-of-type {
    margin: 1.5rem 0;
  }
  
  .pasnings_side .open_container {
    width: 80%;
    margin: 1rem auto;
  }
  
  .ledig_plads_h2 {
    font-size: 1.3rem;
  }
  
  .ledig_plads_h5 {
    font-size: 1.2rem;
  }
  
   .nu_boern_container {
    margin-top: 1.2rem;
    min-height: 250px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  
  .nu_boern_container div {
    height: 2rem;
  }
  
  .nu_boern_container h2 {
    font-size: 1rem;
  }
  
  .nu_boern_container p {
    font-size: 0.9rem;
  }
  
  .nu_boern_container_2 {
    margin-top: 1.2rem;
    min-height: 130px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nu_boern_container_2 h2 {
    font-size: 1rem;
  }
  
  .nu_boern_container_2 p {
    font-size: 0.9rem;
  }
  
  .nu_boern_box {
    min-height: 200px;
  }

  
}
