@charset "utf-8";
/*@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500&display=block');

:root {
  --clr-primary-300: #7A7A7A;
  --clr-neutral-100: #FFF;

  --ff-primary: 'Oswald';
}

* {
  border-radius: 5px;
  font-family: var(--ff-primary);
  font-weight: 300;
  color: var(--clr-primary-300);  
  box-sizing: border-box;
  text-decoration: none;
}

.titlebox{
  text-align: center;
	/*background-color: tomato;*/
}

.title {
  display: block;
  display: inline-block;
  font-size: 72px;
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-top: 60px;
  margin-bottom: 0px;
  /*background-color: aqua;*/
  
}

.subtitle {
  text-transform: none;
  text-align: left;
  font-size: 20pt;
  margin-bottom: 50px;
  margin-left: 3px;
  margin-top: -15px;
  /*background-color: beige*/
}

.h2 {
  text-align: center;
  font-size: 30pt;
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: 30px;
}

.h3 {
  text-align: center;
  font-size: 20pt;
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: 0px;
}

/* ============= Navbar ============= */
.navbar {
  text-align: center;
}
.navbar a {
  text-transform: uppercase;
	font-size: 18pt;
	text-align: left;
	display: inline-block;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-top: 10px;
	margin-left: 40px;
	margin-right: 40px;
	/*background-color: beige*/
}
.navbar a:hover{
	background-color: #dddddd;
}
.active{
  /*background-color: #CACACA;*/
  /*font-weight: 500;*/
  text-decoration: underline;
}

/* ============== Customers ============== */
.customers {
  text-align: center;
}
.customer-img{
	width: 100px;
	margin-left: 100px;
	margin-right: 100px;
	margin-bottom: 100px;
}

/* ============== About Us-text ============== */
p {
  font-size: 20px;
}
strong{
	font-weight: 500;
}
.pbox{
  width: auto;
  max-width: 1024px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 50px;
}
.paragraphs{
  max-width: 1024;
  margin-right: 20px;
  margin-left: 20px;
  padding-bottom: 30px;
  text-align: justify;
  display: block;
}

/* ============= Bottom left text ================= */
.bottom-left_white {
  position: absolute;
  bottom: 16px;
  left: 30px;
  font-size: 40px;  
  color: var(--clr-neutral-100);
}
.bottom-left_grey {
  position: absolute;
  bottom: 16px;
  left: 30px;
  font-size: 40px;
  
}

/*================================ Galleri ====================================*/
.flexmax2000 {
  max-width: 2000px;
  margin: auto;
}

.flex-gallery {
  display: flex; /* or inline-flex */
  flex-wrap: wrap;
  flex-flow: row wrap;
  justify-content: center;
  /*align-items: flex-start;*/ /*Likely not needed*/
  align-content: flex-start;
  list-style: none; /* Remove bullets */
  padding-left: 15px;
  padding-right: 15px;
  gap: 100px;
}

.flex-item {
  position: relative;
  width: 600px;
  padding-bottom: 54%;
  /*margin: 5px;*/

  font-family: var(--ff-primary);
  font-weight: 300;
  color: var(--clr-primary-300);
  text-align: center;
  font-size: 3em;
  text-transform: uppercase;
	
}
.gallery-img {
  position: absolute;
  top: 0;
  left: 0;	
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* mouse, touch pad */
@media (hover: hover) and (pointer: fine) {
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;  /* Or whatever */
  height: 100%; /* Or whatever */
  opacity: 0;
  transition: .3s ease;
  background-color: #008CBA;
}
.flex-item:hover .overlay {
    opacity: 0.5;
}
.text{
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: .3s ease;
  z-index: 1;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  color:var(--clr-neutral-100);
	
}
.flex-item:hover .text {
    opacity: 1;
}
}

/* smartphones, touchscreens */
@media (hover: none) and (pointer: coarse) {
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: #008CBA;
}
.text{
  position: absolute;
  width: 100%;
  opacity: 1;
  z-index: 1;
  bottom: 0;
  color:var(--clr-neutral-100);
}
}

/*=============== Referens-undersida =============*/
.flex-sub {
  display: flex; /* or inline-flex */
  flex-flow: row wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  list-style: none;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 10px;
}

.flex-bild {
  display: inline; /* or inline-flex */
  flex-flow: row wrap;
  position: relative;
  padding: 5px;
  width: 600px;
  height: 500px;
  margin-top: 5px;
  margin-right: 5px;
  margin-left: 5px;
  margin-bottom: 5px;
  text-align: left;
  text-transform: none;
  font-size: 1.5rem;
  flex-grow: 1;
}

.flex-text {
  display: inline; /* or inline-flex */
  flex-flow: row wrap;
  position: relative;
  padding: 0px;
  width: 800px;
  height: auto;
  margin-top: 0px;
  margin-right: 5px;
  margin-left: 5px;
  margin-bottom: 50px;
  text-align: left;
  text-transform: none;
  font-size: 1.5rem;
  flex-grow: 1;
}

.infogallery-img {
	position: absolute;
	object-fit: cover;
	width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/*=============== Auto image fader ===============*/
.slide {
  position: relative;
  background-size: cover;
  background-position: center center;
  margin-top: 22px;
  max-width: 1024px;
  height: 550px;
  overflow: hidden;
  /*background-color: #000;*/
  margin-left: auto;
  margin-right: auto;
}
.slide > div {
  position: absolute;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 100%;
  max-width: 1024px;
  animation: slide 25s infinite;
  opacity: 0;
  min-width: 800px;
  overflow: hidden;
}
/*.slide > div:nth-child(2) {
  animation-delay: 5s;
}
.slide > div:nth-child(3) {
  animation-delay: 10s;
}
.slide > div:nth-child(4) {
  animation-delay: 15s;
}
.slide > div:nth-child(5) {
  animation-delay: 20s;
}*/
.slide > div:nth-child(2) {
  animation-delay: 5s;
}
.slide > div:nth-child(3) {
  animation-delay: 10s;
}
.slide > div:nth-child(4) {
  animation-delay: 15s;
}
.slide > div:nth-child(5) {
  animation-delay: 20s;
}

/*@keyframes slide {
  10% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  40% {
    transform: scale(1.05);
  }
}*/
@keyframes slide {
  3% {
    opacity: 1;
  }
  29% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
}


/*=============== Contact info ===================*/
.contactinfo {
  width: auto;
  max-width: 400px;
  display: block;
  margin: auto;
  padding-top: 30px;
  padding-bottom: 30px;

  font-family: var(--ff-primary);
  font-weight: 300;
  color: var(--clr-primary-300);
}

.contactlist{
	list-style: none;
}


/*=============== Email form ===================*/
/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
 	background-color: #636363;
  color: white;
  padding: 12px 30px;
	cursor: pointer;
  font-size: 20px;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #7A7A7A;
}

/* Add a background color and some padding around the form */
.emailform {
  background-color: #f2f2f2;
  padding: 25px;
  font-size: 20px;
}

/* ===================== Map ===================*/
.map {
  padding-top: 200px;
}