@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@500;600&display=swap");


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


/* Sticks footer to bottom */
body {
font-family: 'Poppins', sans-serif;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

button {
	font-family: 'Poppins', sans-serif;
}

button:hover {
	color: #fff;
	background: lightblue;
	transition: 0.2s ease-in;
}

header{
	display: flex;
	background: lightblue;
	width: 100%;
	margin: auto;
}


/*herunder kode til nav-bar/menu*/

nav {
	position: fixed; /*får menuen til at "sidde fast" i toppen af siden*/
	top: 0;
	width: 100%;
	display: flex; /*særlig kode, der kan få elementer til at udfylde et givent område*/
	justify-content: space-around; /*justerer pladsen rundt om elementerne*/
	align-items: center;
	height: 8vh; /*vh virker nærmest ligesom %, vh står for vertical height*/
	background-color: lightblue;
	font-family: 'Poppins', sans-serif;
	z-index: 9;
	flex: 3 ;
}

.logo-container{
	position: fixed;
	top: 0;
	background: lightblue;
	margin-left: 5%;
	z-index: 10;
	text-align: center;
	padding: 10px;
	border-left: 3px solid;
	border-right: 3px solid;
	border-color: #fff;
	border-radius: 50px;
}

.logo{
	color: #fff;
}



.nav-links {
	display: flex;
	justify-content: space-around;
	width: 45%;
}

.nav-links li {
	list-style: none;
}

.nav-links a {
	color: #585772;
	text-decoration: none;
	font-weight: bold;
	font-size: 14pt;
	letter-spacing: 3px;
}

/*kode til selve burger-menuen*/

.burger {
	display: none;
	cursor: pointer; /*laver musen om til en finger/pointer*/
}

.burger div {
	width: 25px;
	height: 3px;
	background-color: rgb(226, 266, 266);
	margin: 5px;
	border-radius: 3px; /*runder kanterne*/
	transition: all 0.3s ease;
}

/*hero section*/
main{

}

.presentation{
	display: flex;
	width: 90%;
	margin: auto;
	min-height: 80vh;
	align-items: center;
}

.introduction{
	flex: 1;
}

.intro-text h1{
	font-size: 44px;
	font-weight: 500;
	background: linear-gradient(to right, #494964, #6f6f89);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.intro-text p{
	margin-top: 5px;
	font-size: 22px;
	color: #585772;
}

.cta{
	padding: 50px 0px 0px 0px;
}

.cta-select{
	border: 2px solid #c36cbb;
	background: transparent;
	color: #c36cbb;
	width: 150px;
	height: 50px;
	cursor: pointer;
	font-size: 16px;
}


.cover{
	flex: 1;
	display: flex;
	justify-content: center;
	height: 60vh;
}

.cover img{
	height: 100%;
	animation: drop 1.5s ease;
}

.big-circle{
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
	opacity: 0.5;
	height: 80%;
}

.medium-circle{
	position: absolute;
	top: 30%;
	right: 30%;
	z-index: -1;
	opacity: 0.4;
	height: 60%;
}

.small-circle{
	position: absolute;
	bottom: 0;
	left: 20%;
	z-index: -1;
}

@keyframes drop {
	0% {
		opacity: 0;
		transform: translateY(-80px);
	}
	100% {
		opacity: 1;
		transform: translateY(0px);
	}
}

.about-area, .port-area, .service-area, .contact-area{
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    height: 700px;
}
.text-part{
    width: 65%;
    height: 80%;
}        
.about-area{
    background-color: #C7FFED;
}
.port-area{
    background-color: #015958;
    color: #fff;
}
.service-area{
    background-color: #D8FFDB;
}
.contact-area{
    background-color: #023535;
    color: #D8FFDB;
}



#card-container {
  display: flex;
  justify-content: space-evenly;
  gap: 2rem;
  font-family: "Raleway", sans-serif;
  /* Add empty space above and below the container (20% of the view height) */
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-color: #023535;
}

.card img {
  width: 100%;
  border-radius: 12px;
  height: 214px;
  object-fit: cover;
}

.card {
  width: 300px;
  /* Change background color */
  background-color: white;

  /* Add border */
  border: 1px solid #bacdd8;

  /* Add space between the border and the content */
  padding: 8px;

  border-radius: 12px;
}

/* Style div elements that have class equal to tag */
.tag {
  padding: 4px 8px;
  border: 1px solid #e5eaed;

  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #788697;
}

/* Style div elements that have class equal to name */
.name {
  font-size: 24px;
  font-weight: 600;

  margin-top: 16px;
}

/* Style p element */
card p {
  font-size: 14px;
  color: #7f8c9b;
  line-height: 150%;
}

/* Style button element */
.card button {
  border: none;
  padding: 12px 24px;
  border-radius: 50px;

  font-weight: 600;
  color: #0077ff;
  background-color: #e0efff;

  /* Button is inline-block element by default, it need to have block display for margin: 0 auto; to work */
  margin: 0 auto;
  display: block;

  /* Button is a clickable element, therefore it should have a pointer cursor */
  cursor: pointer;
}

/* Add style when button is focused or hovered */
.card button:focus,
.card button:hover {
  background-color: #0077ff;
  color: #e0efff;
  transition: 0.2s ease-in-out;
}

.card__details {
  /* Add space around the details */
  padding: 16px 8px 8px 8px;
}


footer {
  background-color: #555;
  color: #bbb;
  line-height: 1.5;
}

footer ul {
  list-style: none;
  padding-left: 0;
}
footer a {
  text-decoration: none;
  color: #eee;
}
footer a:hover {
  text-decoration: underline;
}
.ft-title {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.375rem;
  padding-bottom: 0.625rem;
}

/* Footer main */
.ft-main {
  padding: 1.25rem 1.875rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.ft-main-item {
  padding: 1.25rem;
  min-width: 12.5rem;
}

/* Footer main */
/* Footer social */
.ft-social {
  padding: 0 1.875rem 1.25rem;
}
.ft-social-list {
  display: flex;
  justify-content: center;
  border-top: 1px #777 solid;
  padding-top: 1.25rem;
}
.ft-social-list li {
  margin: 0.5rem;
  font-size: 1.25rem;
}
/* Footer legal */
.ft-legal {
  padding: 0.9375rem 1.875rem;
  background-color: #333;
}
.ft-legal-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.ft-legal-list li {
  margin: 0.125rem 0.625rem;
  white-space: nowrap;
}
/* one before the last child */
.ft-legal-list li:nth-last-child(2) {
    flex: 1;
}

/*herunder kommer koderne, der kun gælder i mobilvisning*/

@media screen and (max-width: 768px) {

body {

	overflow-x: hidden;
}

.nav-links {
	position: absolute;
	right: 0px;
	height: 92vh; /*fordi højden på nav er sat til 8vh, laver vi selve boksen med links 92vh*/
	top: 8vh; /*herefter skubber vi boksen ned med 8vh, så den ikke blokerer for nav*/
	background-color: lightblue;
	display: flex;
	flex-direction: column; /*får retningen af elementerne til at stå i en kolonde*/
	align-items: center;
	width: 50%; /*bredden af boksen med links*/
	transform: translateX(100%); /*gør at vi kan bevæge et element*/
	transition: transform 0.5s ease-in; /*animation af bevægelsen ovenfor*/
	z-index: 1000;
}

.burger {
	display: block;
	right: 20px;
	position: absolute;
}


.presentation {
	flex-direction: column;
}

.introduction {
	margin-top: 5vh;
	text-align: center;
}

.intro-text h1{
	font-size: 30px;
}

.intro-text p{
	font-size: 18px;
}

.cta {
	padding: 10px 0px 0px 0px;
}

.cover img{
	height: 30vh;
}

.small-circle,
.medium-circle,
.big-circle {
	opacity: 0.2;
}
.ft-main {
	flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

}/*her lukker media screen*/


.nav-active {
	transform: translateX(0%); /*når burger-menuen aktiveres, skubbes boksen med links på x-aksen*/
}

/*koderne herunder er til animation af de tre linjer i burger-menuen*/
/*vi roterer line1 og line3, så de danner et kryds. Line2 skjules*/

.toggle .line1 {
	transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
	opacity: 0;
}

.toggle .line3 {
	transform: rotate(45deg) translate(-5px, -6px);
} 