/* Når noget styles er der ingen luft immellem hinanden */
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

/* Her angiver vi en hoved font for hele siden, som er Solway. Fungerer det ikke, så er den næste Times og derefter en font med serifer ----------------- */

body {
  font-family: "Solway", Times, serif;
}

/* Header og menu --------------------------------------------------------------------------------------------------------------------------------------- */

.burgerCont {
  display: flex;
  justify-content: center;
  background-color: rgb(230, 230, 230);
  padding: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}

.burgerMenu {
  color: #3c3c3c;
}

.mobilemenu.show {
  display: block;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* headera er et id der hører til den animation der skal afspilles nå man hover over linket */
header a:hover {
  animation-name: headera;
  animation-duration: 1s;
}

/* Her viser den hvad animationen skal gøre når man hover */
@keyframes headera {
  /* Den starter med den her farve */
  0% {
    color: #3c3c3c;
  }

  /* Går til den her farve midt under animationen */
  50% {
    color: #aaae8e;
  }

  /* Slutter med den samme farve som i begyndelsen */
  100% {
    color: #3c3c3c;
  }
}

/* Styles til a tag til undersiden minprcoes.html */
.examdec {
  color: rgb(197, 0, 0);
}

/* headera er et id der hører til den animation der skal afspilles nå man hover over linket */
.examdec:hover {
  animation-name: examdoca;
  animation-duration: 1s;
}

/* Her viser den hvad animationen skal gøre når man hover */
@keyframes examdoca {
  /* Den starter med den her farve */
  0% {
    color: rgb(197, 0, 0);
  }

  /* Går til den her farve midt under animationen */
  50% {
    color: rgb(255, 210, 210);
  }

  /* Slutter med den samme farve som i begyndelsen */
  100% {
    color: rgb(197, 0, 0);
  }
}

h1 {
  align-self: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

h1 a {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 6px;
  align-self: center;
  margin-top: 80px;
  margin-bottom: 30px;
  color: #3c3c3c;
}

.deskmenu {
  display: none;
}

h2 {
  font-size: 24px;
  color: #3c3c3c;
  margin-bottom: 20px;
}

.mobilemenu {
  display: none;
  list-style: none;
  padding-left: 20px;
  margin-bottom: 30px;
}

.mobilemenu a {
  text-decoration: none;
  width: 100%;
  font-weight: 900;
  font-size: 40px;
  color: #3c3c3c;
}

.mobilemenu li {
  display: flex;
  cursor: pointer;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 5px;
  padding-right: 10px;
}

.mobilemenu p {
  align-self: center;
  font-weight: 900;
  font-size: 40px;
  color: #3c3c3c;
}

a {
  text-decoration: none;
  color: #3c3c3c;
}

p {
  color: #3c3c3c;
  line-height: 28px;
}

/* DEAKTIVERET Generel style til håndholdt menu når man går fra forsiden til andre undersider ----------------------------------------------------------------------- */

/*

.secondmenu {
  list-style: none;
  padding-left: 45px;
  margin-bottom: 20px;
}

.secondmenu a {
  font-size: 26px;
  font-weight: 600;
}

.secondmenu li {
  margin-bottom: 4px;
}

*/

.sitetitel {
  font-size: 30px;
  font-weight: 600;
  align-self: center;
  color: #aaae8e;
}

/* Generel style til class="headliner" som er til start billede i nogle undersider ---------------------------------------------------------------------- */

.headliner {
  width: 100%;
  height: auto;
}

.headliner video {
  width: 100%;
  height: auto;
}

/* Første sektion i forsiden (facefront) ---------------------------------------------------------------------------------------------------------------- */

.facefront {
  width: 100%;
  background-color: #3c3c3c;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.limiter {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0px 100px 0px;
}
.limiter img {
  border-radius: 50%;
  width: 70%;
  height: 70%;
}

.limiter p {
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 2px;
  color: #ffddd2;
  width: 50%;
  padding-top: 50px;
}

/* Første artikel på forsiden --------------------------------------------------------------------------------------------------------------------------- */

.limitart1 {
  padding-bottom: 50px;
  flex-wrap: wrap;
}

.limitart1 img {
  width: 100%;
}

.limitart1 p {
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 2px;
  color: #3c3c3c;
  width: 90%;
  padding-top: 20px;
  padding-left: 20px;
}

.limitart1 a {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  color: #aaae8e;
  text-decoration: underline;
}

/* limitart1a er et id der hører til den animation der skal afspilles nå man hover over linket */
.limitart1 a:hover {
  animation-name: limitart1a;
  animation-duration: 1s;
}

/* Her viser den hvad animationen skal gøre når man hover */
@keyframes limitart1a {
  /* Den starter med den her farve */
  0% {
    color: #aaae8e;
  }

  /* Går til den her farve midt under animationen */
  50% {
    color: #3c3c3c;
  }

  /* Slutter med den samme farve som i begyndelsen */
  100% {
    color: #aaae8e;
  }
}

/* Anden artikel på forsiden ---------------------------------------------------------------------------------------------------------------------------- */

.frontart2 {
  background-color: #3c3c3c;
}

.limitart2 img {
  width: 100%;
}

.limitart2 {
  padding-bottom: 50px;
}

.limitart2 p {
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 2px;
  color: #ffddd2;
  width: 90%;
  padding-top: 20px;
  padding-left: 20px;
}

.limitart2 a {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  color: #ffffff;
  text-decoration: underline;
}

/* limitart2a er et id der hører til den animation der skal afspilles nå man hover over linket */
.limitart2 a:hover {
  animation-name: limitart2a;
  animation-duration: 1s;
}

/* Her viser den hvad animationen skal gøre når man hover */
@keyframes limitart2a {
  /* Den starter med den her farve */
  0% {
    color: #ffffff;
  }
  /* Går til den her farve midt under animationen */
  50% {
    color: #aaae8e;
  }
  /* Slutter med den samme farve som i begyndelsen */
  100% {
    color: #ffffff;
  }
}

/* Kontakt sektionen på forside ------------------------------------------------------------------------------------------------------------------------- */

.limitcontact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0px 0px 0px;
}

/* Kontakt formel -------------------------------------------------------------------------------------------------------------------------------------- */

.formfront {
  display: flex;
  flex-direction: column;
  padding-left: 2%;
  padding-right: 2%;
  width: 100%;
}

.contactinput {
  width: 250px;
  border: solid 2px #aaae8e;
  margin-bottom: 5px;
  padding: 5px;
}

.msginput {
  width: 100%;
  height: 270px;
  border: solid 2px #aaae8e;
  margin-bottom: 5px;
  padding: 5px;
}

.msgsend {
  width: 150px;
  margin-bottom: 5px;
  background-color: #aaae8e;
  border: none;
  padding: 5px;
  font-family: "Solway", Times, serif;
  color: #ffffff;
}

/* Sociale medier links -------------------------------------------------------------------------------------------------------------------------------- */

.frontsocials {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-top: 100px;
  margin-bottom: 100px;
}

.frontsocials img {
  width: 70px;
  height: auto;
  margin-bottom: -15px;
  border-radius: 50%;
}

/* Footer ---------------------------------------------------------------------------------------------------------------------------------------------- */

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.darkfooter {
  background-color: #3c3c3c;
}

.darkfooter p {
  color: #ffddd2;
}

/* Styles til ommig.html -------------------------------------------------------------------------------------------------------------------------------- */

/* Introduktionensboks om mig i mobil tilstand ---------------------------------------------------------------------------------------------------------- */
.omdesk {
  display: none;
}

.omprofilelimit {
  width: 100%;
  background-color: #3c3c3c;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  padding-bottom: 100px;
}

.omprofilelimit img {
  align-self: center;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  margin: 50px 0px 50px 0px;
}

.omprofilelimit p {
  align-self: center;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 2px;
  color: #ffddd2;
  width: 250px;
}

/* Boks med lille information om mine færdigheder ------------------------------------------------------------------------------------------------------- */
.omskillslimit {
  display: flex;
  flex-direction: column;
}

.omskillslimit article {
  padding: 5%;
  width: 100%;
}

.omskillslimit img {
  height: auto;
  width: 100%;
  margin-bottom: 10px;
}

.omskillslimit p {
  color: #3c3c3c;
  width: 100%;
}

/* Styles til mit fotogalleri i mobil tilstand ---------------------------------------------------------------------------------------------------------- */
.omphotos {
  background-color: #3c3c3c;
}

.omphotosdesk {
  display: none;
}

.omphotos article {
  display: flex;
  flex-direction: column;
  padding: 5% 5% 0% 5%;
}

.omphotos article img {
  margin-bottom: 5%;
  width: 100%;
}

/* Styles til min section der viser de forskellige programmer jeg bruger -------------------------------------------------------------------------------- */
.omprog {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.omproglimit {
  display: flex;
  justify-content: center;
}

.omproglimit img {
  width: 10%;
  border-radius: 50%;
  margin: 1%;
}

/* Styles til projekter.html ---------------------------------------------------------------------------------------------------------------------------- */

.flows {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.flows img {
  width: 100%;
}

.flows article {
  padding: 10% 10% 10% 10%;
}

.flows p {
  margin-top: 20px;
  margin-bottom: 20px;
}

.flows a {
  font-size: 16px;
  background-color: #aaae8e;
  padding: 5px 25px;
  color: #ffffff;
}

.flowcolor {
  background-color: #3c3c3c;
}

.flowcolor p {
  color: #ffddd2;
}

/* flowsdetail er et id der hører til den animation der skal afspilles nå man hover over linket */
.flowsdetail a:hover {
  animation-name: flowsdetail;
  animation-duration: 1s;
}

/* Her viser den hvad animationen skal gøre når man hover */
@keyframes flowsdetail {
  /* Den starter med den her farve */
  0% {
    background-color: #aaae8e;
  }
  /* Går til den her farve midt under animationen */
  50% {
    background-color: #ffffff;
    color: #aaae8e;
  }
  /* Slutter med den samme farve som i begyndelsen */
  100% {
    background-color: #aaae8e;
  }
}

/* Sørger for at holde alt inde i min bokse uden at de flyder ud når jeg vil positionere min tekst til min video ---------------------------------------- */
.headliner {
  position: relative;
  text-align: center;
}

/* Fortæller her at min tekst skal positioneres i midten af boksen den er i som er videoen -------------------------------------------------------------- */
.projbannertxt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.projbannertxt h3 {
  font-size: 25px;
  color: #ffffff;
}

/* Styles til kontakt.html ------------------------------------------------------------------------------------------------------------------------------ */

.contact {
  padding: 0% 5% 0% 5%;
  margin-bottom: 50px;
  background-color: #3c3c3c;
}

.contact p {
  margin-bottom: 20px;
  color: #ffddd2;
}

.contact h2 {
  margin-bottom: 20px;
  color: #aaae8e;
}

.contactlimit {
  padding-top: 50px;
  padding-bottom: 50px;
}

.contact form {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.contactsocials {
  padding-top: 50px;
  padding-bottom: 50px;
}

.contactsocialslimit {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}

.contactsocialslimit img {
  width: 80px;
  border-radius: 50%;
}

.contactsocialslimit a {
  margin: 2%;
}

/* Styles til 1semester.html ---------------------------------------------------------------------------------------------------------------------------- */

.projectarticles {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.prolimit {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 5%;
}

.prolimit p {
  padding-bottom: 10px;
}

.prolimit img {
  padding-bottom: 10px;
}

/* Har lavet en class som hedder ncolor for no-color og wcolor for with-color for at de skal kunne adskille sig når jeg fremviser information ----------- */
.ncolor a {
  font-size: 16px;
  text-decoration: underline;
  color: #aaae8e;
}

.sem1flow4video {
  margin-top: 15px;
  margin-bottom: 15px;
}

.wcolor a {
  font-size: 16px;
  text-decoration: underline;
  color: #ffffff;
}

.wcolor p {
  color: #ffddd2;
}

.wcolor {
  background-color: #3c3c3c;
}

.wcolor h2 {
  color: #ffddd2;
}

.ncolor h2 {
  color: #aaae8e;
}

/* Styles til minproces.html ----- minproces.html er styles meget tæt som 1semester.html da der bliver genbrugt tags og classes ------------------------ */

/* projectlink er et id der hører til den animation der skal afspilles nå man hover over linket */
.projectlink a:hover {
  animation-name: projectlink;
  animation-duration: 1s;
}

/* Her viser den hvad animationen skal gøre når man hover */
@keyframes projectlink {
  /* Den starter med den her farve */
  0% {
    color: #ffffff;
  }
  /* Går til den her farve midt under animationen */
  50% {
    color: #aaae8e;
  }
  /* Slutter med den samme farve som i begyndelsen */
  100% {
    color: #ffffff;
  }
}

.projimg {
  margin-top: 40px;
}

/* Når vi rammer over 600px, ændres hele siden så den kan tilpasse større formater --------------------------------------------------------------------- */

@media screen and (min-width: 600px) {
  /* Jeg fortæller her i header at mit indhold skal flexe, derefter centreres siden der skabes mere plads når siden bliver større */
  header {
    height: 120px;
    width: 100%;
    display: flex;
    align-items: center;
  }

  /* Den bliver displayed som none siden da mit logo vil tage over */
  h1 {
    display: none;
  }

  .burgerCont {
    display: none;
  }

  /* Desktop versionen fremvises */
  .mobilemenu {
    display: none;
  }

  /* Desktop versionen fremvises */
  .secondmenu {
    display: none;
  }

  /* Desktop menu versionen fremvises og flexes i rækker og hele indholdet centreres */
  .deskmenu {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px 30px 0px 30px;
    list-style: none;
    height: 120px;
  }

  .deskmenu a {
    font-size: 20px;
    font-weight: 500;
  }

  .deskmenu img {
    height: 120px;
  }

  .facefront {
    height: 600px;
    flex-direction: row;
    justify-content: center;
  }

  /* Har tilføjet "limiters" i flere af mine classes. Fungerer som en stop klods specielt for de bokse der skal have en baggrundsfarve og farven har den 100% bredde */
  .limiter {
    display: flex;
    justify-content: space-around;
    flex-direction: row-reverse;
    padding: 50px 0px 50px 0px;
  }

  .limiter p {
    padding-top: 0px;
  }

  .limiter img {
    align-self: center;
    width: 40%;
    height: 40%;
  }

  .frontkontakt {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .limitcontact {
    flex-direction: row;
    justify-content: center;
    margin-bottom: 100px;
    width: 100%;
  }

  .formfront {
    flex-direction: column;
    padding: 5%;
  }

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

  .frontsocials a {
    padding: 5%;
  }

  .sitetitel {
    display: none;
  }

  /* Style til ommig.html når siden er mere end 600px bred ---------------------------------------------------------------------------------------------- */

  /* Mobil versionen forsvinder og istedet kommer en flexbox galleri */
  .omphotoslimit {
    display: none;
  }

  .omphotosdesk {
    display: block;
  }

  /* Ul'en fungerer som en boks for mit listede galleri, tilføjer wrap så det bliver flexibelt og billederne går under hinanden hvis siden gøres mindre */
  .omphotosdesk ul {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5%;
  }

  /* Givet dem en fast højde efter siden er 600px i bredde og de få noget plads imellem hvertbillede og vokser samme størrelse, når siden går fra 600px og op */
  .omphotosdesk li {
    list-style: none;
    height: 35vh;
    flex-grow: 1;
    margin: 1%;
  }

  /* Billederne får fast højde på 100% og vil altid dække deres givene størrelse */
  .omphotosdesk img {
    height: 100%;
    object-fit: cover;
  }

  /* Styles til projekter.html når bredde går over 600px ------------------------------------------------------------------------------------------------ */

  /* Her centrerer jeg indholdet */
  .headliner {
    background-color: #3c3c3c;
    display: flex;
    justify-content: center;
  }

  /* givet en fast bredde på 50% så den ikke fylder fra den ene side til den anden side af sitet */
  .headliner video {
    width: 50%;
  }

  /* Styles til kontakt.html når bredde er over 600px --------------------------------------------------------------------------------------------------- */
  .contact {
    padding-top: 70px;
    padding-bottom: 70px;
    background-color: #3c3c3c;
    display: flex;
    justify-content: center;
  }

  .contactlimit {
    display: flex;
    flex-direction: column;
    width: 600px;
  }

  .contactlimit form {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contactlimit p {
    color: #ffddd2;
  }

  .contactlimit h2 {
    color: #aaae8e;
  }
}

/* Styles til classes der skal ændres når vi går over 800 i bredde -------------------------------------------------------------------------------------- */
@media screen and (min-width: 800px) {
  .omskills {
    display: flex;
    justify-content: center;
  }

  .omskillslimit article {
    display: flex;
    flex-direction: row;
    align-self: center;
  }

  .omskillslimit p {
    padding-left: 20px;
    width: 35%;
  }

  .omskillslimit img {
    width: 65%;
    object-fit: cover;
  }
}

/* Styles til classes der skal ændres når vi går over 800 i bredde -------------------------------------------------------------------------------------- */
@media screen and (min-width: 800px) {
  .deskmenu {
    width: 800px;
  }

  .limiter {
    width: 800px;
  }

  .limitcontact {
    width: 800px;
  }

  .omdesklimit {
    width: 800px;
  }

  .omskillslimit {
    width: 800px;
  }

  .wcolor {
    display: flex;
    justify-content: center;
  }

  .ncolor {
    display: flex;
    justify-content: center;
  }

  .prolimit {
    width: 800px;
  }
}

/* Styles til classes der skal ændres når vi går over 1000 i bredde ------------------------------------------------------------------------------------- */
@media screen and (min-width: 1000px) {
  .flowslimit {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 1000px;
  }

  .flowslimit img {
    width: 50%;
  }

  .flows article {
    display: flex;
    justify-content: center;
    padding: 5%;
    width: 100%;
  }

  .flowsdetail {
    margin-left: 20px;
    width: 40%;
  }
  .frontarticles {
    display: flex;
    flex-direction: column;
  }

  .frontart1 {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 500px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .limitart1 {
    padding-bottom: 0px;
    display: flex;
    flex-direction: row;
    width: 1000px;
  }

  .limitart1 img {
    width: 50%;
    object-fit: cover;
  }

  .limitart1 p {
    width: 50%;
    padding-left: 0px;
    padding: 0% 3% 3% 3%;
  }

  .frontart2 {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 500px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .limitart2 {
    padding-bottom: 0px;
    display: flex;
    flex-direction: row-reverse;
    width: 1000px;
  }

  .limitart2 img {
    width: 50%;
    object-fit: cover;
  }

  .limitart2 p {
    width: 50%;
    padding: 0% 3% 3% 3%;
  }

  .omdesk {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #3c3c3c;
    height: 600px;
  }

  .omprofile {
    display: none;
  }

  .omdesklimit {
    display: flex;
    justify-content: space-between;
    height: 100%;
  }

  .omdesklimit img {
    padding: 2%;
    border-radius: 50%;
    width: 60%;
    height: 60%;
    align-self: center;
  }

  .omdesklimit p {
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 2px;
    color: #ffddd2;
  }

  .innerdesk {
    align-self: center;
    padding: 40px;
  }

  .projbannertxt h3 {
    font-size: 60px;
  }
}
