@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;0&display=swap');

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 100%;
  height: auto;
  background-color: #edede9;
  overflow: auto;
  flex-direction: row;
}



.menubar {
  height: 10vh;
  width: 100%;
  margin-bottom: 10px;
  background-image: linear-gradient(rgb(222, 222, 222),#edede9);
}
.menubar .logo {
  height: 100%;
  margin-left: 25px;
  object-fit: contain;
  display: flex;
  justify-content: left;
  align-content: center;
  align-items: center;
}



.content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  background-color: #edede9;
  overflow: auto;
  flex-direction: row;
}

.content div {
  width: 100%;
  border: 10px black;
}

.content .overskrift {
  text-align: center;
  height: 100%;
}

.content .mainvideoplayer {
  position: relative;
  display: flex;
  justify-content: center;
}

.content .video-js {
  height: 60vh;
  max-height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 25px;
  border-color: transparent;
  background-color: rgba(0, 0, 0, 0.01);
}



.funktioner {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
  gap: 10px;
}
.funktioner .btn {
  background: rgba(100, 100, 100, 0.5);
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 25px;
  padding: 5px 10px 5px 10px;
  font-size: 1rem;
  width: 20vw;
  max-width: 200px;
}
.funktioner .btn:hover {
  background: rgba(224, 26, 26, 0.6);
  color: #ffffff;
}


.footer {
  font-family: "Poppins", sans-serif;
  position: absolute;
  height: 5vh;
  width: 100%;
  bottom: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(0, 0, 0, 0.5);
  background-image: linear-gradient(#edede9, rgb(222, 222, 222));
}




@media screen and (max-width:420px) {

h1 {
  font-size: 1.2rem;
}
h2 {
  margin-top: -10px;
  font-size: 1rem;
}

.overskrift {
  margin-bottom: 25px;
}

.menubar .logo {
  width: 50%;
  margin-left: 50%;
  transform: translate(-50%);
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.content .video-js {
  height: 100%;
}

.footer {
  height: 4vh;
}

}

@media screen and (min-width: 420px) and (max-width: 600px) {

h1 {
  font-size: 1.2rem;
}
h2 {
  margin-top: -10px;
  font-size: 1rem;
}
    
.overskrift {
  margin-bottom: 25px;
}
    
.menubar .logo {
  width: 50%;
  margin-left: 50%;
  transform: translate(-50%);
}
    
.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
    
.content .video-js {
  height: 100%;
}
    
.footer {
  height: 4vh;
}
    
}

@media screen and (min-width: 600px) and (max-width: 954px) {

h1 {
  font-size: 2rem;
}
h2 {
  margin-top: -10px;
  font-size: 1.5rem;
}
    
.overskrift {
  margin-bottom: 25px;
}
    
.menubar .logo {
  width: 50%;
  margin-left: 50%;
  transform: translate(-50%);
}
    
.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
    
.content .video-js {
  height: 100%;
}
    
.footer {
  height: 4vh;
}
    
}

@media screen and (min-width: 954px) and (max-width: 1024px) {

h1 {
  font-size: 3rem;
}
h2 {
  margin-top: -10px;
  font-size: 2rem;
}
  
.overskrift {
  margin-bottom: 25px;
}
  
.menubar .logo {
  width: 50%;
  margin-left: 50%;
  transform: translate(-50%);
}
  
.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
  
.content .video-js {
  height: 100%;
}
  
.footer {
  height: 4vh;
}
  
}