* {
  box-sizing: border-box;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: arial, helvetica, sans-serif;
  font-size: 100%; /*Specifying the font-size in percent in body and em below, displays the same size in all major browsers, and allows all browsers to resize the text!*/
  display: grid;
  grid-template-columns: repeat(12, auto);
}

h1 {
  font-size: 4em;
}
h2 {
  font-size: 3em;
}
h3 {
  font-size: 1.5em;
  color: #86868b;
  padding: 10px 20px;
}
h4 {
  font-size: 1.2;
}
h5 {
  font-size: 2.8em;
  font-family: georgia, sans-serif;
  margin: 10px 0px 25px 0px;
  text-align: center; /*her centrer jeg ovserskriften*/
}
h6 {
  /*jeg har brugt den her til overskrifter i intro øvelserne til tekst*/
  font-size: 1.5em;
  color: #86868b;
}

.barsGoo {
  color: #dc4e7b;
}

.headerMatr {
  grid-column: 1/13;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 17rem;
}

.logoWrap {
  margin: 1rem 0rem 3rem 0rem;
  border-bottom: solid 1px #bbb;
  display: block;
  text-decoration: none;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  overflow: hidden;
  transition: border 0.3s ease; /* Smooth border appearance */
}

.logoWrap:hover {
  border: 3px solid #dc4e7b;
}

.logoApr {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease; /* Smooth scaling */
}

.logoWrap:hover .logoApr {
  transform: scale(0.96); /* Slight shrink when border appears */
}

.main-box {
  grid-column: 1/13;
  display: flex;
  justify-content: center;
}

.justify {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 7rem;
  width: 640px;
}

@media (max-width: 800px) {
  .justify {
    width: 100%;
  }
}

.txtStor {
  font-size: 1.8rem;
  text-align: justify;
  margin-bottom: 1.2rem;
}

.txt {
  font-size: 1.2rem;
  text-align: justify;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.flexCenter {
  display: flex;
  align-items: center;
}

.prisP {
  margin-top: 1.5rem;
  margin-bottom: 5rem;
  border-bottom: 1px solid #bbb;
  padding-bottom: 0.5rem;
  font-style: italic;
}

.formBox {
  width: 100%;
  max-width: 700px;
  margin-bottom: 4rem;
}

.form-info {
  border: solid 1px #ddd;
  border-left: 1px solid #f3d430;
  padding: 1.5rem 1.5rem 2rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 5px;
}

.form-group {
  border: solid 1px #ddd;
  border-left: 1px solid #f3d430;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 5px;
}

.label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.formContent {
  display: flex;
  flex-direction: column;
  align-items: center;
}

input[type="text"],
input[type="email"],
input[type="number"] {
  border: none;
  border-bottom: 2px solid #ccc;
  padding: 0.5rem 0;
  width: 100%;
  max-width: 400px;
  background: none;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
  outline: none;
  border-bottom-color: #f3d430;
  box-shadow: 0 1px 0 0 #f3d430;
}

button[type="submit"] {
  background-color: #e89b1a;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #d07f15; /* slightly darker shade for hover */
  box-shadow: 0 4px 10px rgba(243, 212, 48, 0.6); /* #f3d430 */
}

ul > li {
  margin-bottom: 0.7rem;
}

.form-error {
  color: #d33e2d;
  font-size: 0.9rem;
  margin-top: 4px;
}

.form-errors-summary {
  background-color: #fff8e1;
  padding: 1em;
  border-left: 4px solid #f3d430;
  margin-bottom: 1em;
}

.iframeBestil {
  width: 640px;
  height: 1779px;
  border: none; /* replaces frameborder="0" */
  margin: 0; /* replaces marginwidth / marginheight */
  padding: 0; /* also ensures no inner spacing */
  display: block; /* removes tiny inline gaps */
}

@media (max-width: 800px) {
  .iframeBestil {
    width: 100%;
  }
}

.footer {
  grid-column: 1/13;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ebebec;
  height: 20rem;
}

.info {
  text-align: center;
}
