html {
 scroll-behavior: smooth;
}

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

body{
background: #FFFFFE;
position: relative;
font-family: 'Quicksand', sans-serif;
width:100%;
margin:auto;

color: #3E3E3E;

display: flex;
flex-direction: column;
justify-content:flex-start;
align-items:center;
}

/* .modalOverlay{
  position: absolute;
  top:0;
  left: 0;

  z-index: 10;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width:100%;
  height: 100%;
  padding:32px;
  background-color: rgba(81, 81, 81, 0.25);
}

.modal{
  position: absolute;

  display: flex;
  flex-direction: column;

  width:100%;
  max-width: 400px;
  padding:32px;


  background: #FFFFFF;
  box-shadow: 0px 6px 18px rgba(81, 81, 81, 0.25);
  border-radius: 4px;
} */

#newOrganisation{
 /* display: none; */
}

#loadingOverlay{

opacity: 0;
display: none;

position: absolute;
width:100%;
height: 100%;
background-color: rgb(255, 230, 96);;
z-index: 100;
/* transform: translateX(-100%); */
/*
display: flex; */
/* justify-content: center;
align-items: center; */

}


#loadingOverlay h3{
  font-size:24px;
}

#centeredOverlayText{
  position: sticky;
  top:0;
  display: flex;
  width:100%;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

nav{
  width:100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 8px 16px;

}

#navList{
  display: flex;
  flex-direction: row;
  gap:32px;
  align-items: center;
}

#navList a{
font-style: normal;
font-weight: 600;
font-size: 16px;
line-height: 21px;
color: #272343;
text-decoration: none;
}

#navList a:hover{
text-decoration: underline;


}

#logo{
  width: 180px;
  cursor: pointer;
}





.tertiary{
background: #FFFFFF;
font-style: normal;
/* sm-shadow */
font-weight: 600;
font-size: 16px;
color: #272343;
padding: 8px 16px;
box-shadow: 0px 4px 12px rgba(94, 80, 32, 0.24);
border-radius: 8px;
}

#hero{
  box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem 1rem;
gap: 32px;
width: 100%;
max-width: 1280px;
min-height: 85vh;
position: relative;
}

#hero.smaller{
  min-height:120px;
  padding: 0rem 1rem 1rem;
}

#hero.smaller #subtitle, #hero.smaller #title{
  display: none;
}

#hero.smaller h3{
  font-size: 18px;
}

 #hero.smaller .mainSearch, #hero.smaller button{
  height: 48px;
  font-size:16px;
 }
 #hero.smaller #searchContainer{
 gap: 8px;
 }


 #hero.smaller #categories{
 max-width: none;

 flex-wrap: nowrap;
 overflow-x: none;

 justify-content: flex-start;
 padding-bottom: 4px;
 }



 #hero.smaller .chip{
 padding: 8px 16px;
 font-size: 14px;
 white-space: nowrap;
 }


 .bgIllustrations {
   box-sizing: border-box;

 width: 100%;

 min-height: 95vh;
 	position: absolute;
 	z-index: -1;

  opacity: 0;

  overflow: hidden;

 }

 .bgIllustrations img {
	border: 2px solid #DDDDDD;
	border-radius: 200px;
	width: 60px;
	padding: 4px;
	position: absolute;
}

#pos1{
  top:20%;
  left: 20%;
}

#pos2{
  top:40%;
  right: 10%;
}

#pos3{
  top:16%;
  right: 30%;
}

#pos4{
  top:80%;
  left: 20%;
}

#pos5{
  top:90%;
  right: 20%;
}


h1{
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-size: 64px;
  line-height: 111.9%;
  text-align: center;
  margin:0;
  margin-bottom:32px;
}

h3{
font-family: 'Quicksand';
font-style: normal;
font-weight: 600;
font-size: 18px;
line-height: 111.9%;
/* or 20px */

text-align: center;
text-transform: uppercase;
  margin:0;
}



h4{
  font-family: 'Quicksand';
font-style: normal;
font-weight: 600;
font-size: 24px;
line-height: 111.9%;
padding: 0 16px;
text-align: center;
}


#searchContainer{
display: flex;
flex-direction: column;
align-items: center;
padding: 0px;
gap: 16px;

width:100%;
padding:0 2rem;
}

#searchContainer h3{
  font-family: 'Quicksand';
font-style: normal;
font-weight: 500;
font-size: 24px;
line-height: 111.9%;
/* identical to box height, or 27px */

text-align: center;
text-transform: none;
color: #383738;
}


p{
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 19px;
margin:0;
}


form{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 100%;
margin: 0 1rem;
gap:0.5rem;
}



#resultText{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#noResultFound{
  	height: 60vh;
    min-height: 350px;
}

#noResultFoundContent {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 32px;
	margin-bottom: 64px;
	background: white;
	width: 300px;
	height: 300px;
	padding: 32px;
	border-radius: 3000px;
}
#noResultFoundContent img{
  width: 120px;
  margin-top: 16px;
}

#noResultFoundContent p{
  font-size: 16px;
  margin-bottom: 54px;
  margin-top: 16px;
  font-weight: bold;
  text-align: center;
}



#search{
display: flex;
position: relative;
width: 100%;
max-width: 600px;
}
#search img{
  position: absolute;

  padding: 0.875rem 0 0 0.875rem;
}


#underline{
  padding-bottom: 10px;
background: url(img/assets/crazyline2.svg) bottom no-repeat;
}


input[type="search"]{

  border: 1px solid #383738;
  border-radius: 12px;
  width: 100%;

  background: white;
   margin: 0;
   color: inherit;


font-family: "Quicksand", Arial, serif;
padding: 1rem 1rem 1rem 3rem;

color: rgb(55, 55, 55);
font-size: 0.875rem;

font-style: bold;
font-weight: 300;
font-size: 18px;
line-height: 114.9%;
}

input[type="search"]::placeholder {
  color: #bbb;
}

input[type="search"]:focus {
  box-shadow: 0 0 3px 0 #1183d6;
  border-color: #1183d6;
  outline: none;
}
input[type="search"]:focus{
  outline: none;
}


.mainSearch{
background-image: url(img/searchIcon.svg);
background-position: 7px 7px;
background-repeat: no-repeat;
}

button{
  border: none;
-moz-osx-font-smoothing: grayscale;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
display: inline-block;
width: auto;
position: relative;
user-select: none;
box-sizing: border-box;
text-decoration: none;
cursor: pointer;
appearance: none;
font-weight: normal;
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
padding: 18px 32px;
gap: 10px;

background: #FFD160;
border-radius: 12px;

font-family: 'Quicksand';
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 21px;
transition: all 0.3s;
}


button.primary{
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
padding: 18px 32px;
gap: 10px;

background: #FED306;
border-radius: 12px;

font-family: 'Quicksand';
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 21px;
transition: all 0.3s;
}

button.primary:hover{
background: #FFBC39;
}

button.primary:active{
transition: background 0.1s;
background: #DE9912;
}




button.secondary{
  /* background:#FFD803; */
  background:#FFF;
  padding: 12px 32px;
  font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 19px;
border: 1px solid #b0b0b0;
}
button.secondary:hover {
  background: #FFD160;
  border: 1px solid white;
}

button.secondary:active{
transition: background 0.1s;
background: #DE9912;
}


.chip{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  background: #FFF2BF;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.3s;
  user-select: none;
  gap: 8px;
}

.chip img{
  width:16px;
}
.chip:hover{
  background: #FFE99F;
}

.chip:active{
  transition: background 0.1s;
  background: #FFE087;
}


#categories{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 8px;
width:100%;
padding: 0 32px;
max-width: 750px;
flex-wrap: wrap;
overflow-x: auto;
}

#content{
  display: none;
  flex-direction: column;
  justify-content:flex-start;
  align-items: center;
  width: 100%;
  padding: 32px 0px;
  min-height:70vh;
  background-color: #F8F8F8;
}

.companyList {
	padding: 2rem;
	box-sizing: border-box;
	display: grid;
	/* overflow: hidden; */
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	/* grid-auto-flow: row; */
	grid-column-gap: 2rem;

	grid-row-gap: 3rem;
	max-width: 1500px;
	width: 100%;
	justify-items: center;
  grid-auto-flow: row;

}

.companyCard{
  /* Auto layout */


  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 68px 24px 16px;

  margin-top: 50px;
  gap: 8px;
  isolation: isolate;

  position: relative;
  width: 100%;
  max-width: 350px;

  background: #FFFFFF;
  /* aaa */

  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 1px rgba(0, 0, 0, 0.05);
  border-radius: 16px;

  transition: box-shadow 0.5s, transform 0.5s;
}

.companyCard:hover{
  transform: translateY(-2px);
  box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.05), 0px 1px 1px rgba(0, 0, 0, 0.05);
}

.companyCard h3{
  font-family: 'Quicksand';
font-style: normal;
font-weight: 600;
font-size: 28px;
line-height: 111.9%;
text-align: left;
text-transform: none;
margin:0;
padding:0;
}

.logoContainer{
  position: absolute;
  left: 1.5rem;
  top:-45px;

  display: flex;
  justify-content: center;
  align-items: center;

  height: 90px;
  width: 90px;
  overflow: hidden;

  border: 3px solid #DDDDDD;
  border-radius: 100px;

  background: white;

}

.companyDetails{

  display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;

gap: 8px;
}

.companyFooter {
  width: 100%;
}

.logoContainer img {
	width: 90px;
}

.separator{
  border: 1px solid #F1F2F2;
  height: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  position: relative;

  margin: 1rem 0;
}

.tagList{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap:4px;

  margin-top:1rem;
}

.tagList .chip{

  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 111.9%;

padding: 4px 12px;
}

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

.section{
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  padding:2rem 4rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.about{
background: #CFEBEB;
}

.aboutContent{
    max-width: 1250px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:space-between;
    align-items: center;

}



.about h2{
  font-weight: 600;
font-size: 48px;
line-height: 111.9%;
/* or 72px */
gap:32px;

color: #383738;
margin: 24px 24px 24px 0px;
}

.about p{
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 111.9%;
width: 100%;
max-width: 580px;
padding-bottom: 16px;
/* or 27px */

color: #383738;

}

#fullListBtn{
  cursor: pointer;
  text-decoration: underline;
}
.addOrganization{
    background: #F6F5F2;
}

.addOrganizationContent{
  box-sizing: border-box;


  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap:8px;
  justify-content:space-between;
  align-items: center;
  padding: 4rem 0rem;
}
.addOrganizationContent .email{
  font-size: 24px;
  color:#FFBC39;
}


.footer{
  background: #272343;
  height:40px;
  width: 100%;
  padding:0.5rem 1rem;
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  h1{
    font-size: 48px;
  }

  #searchContainer h3 {
  font-size: 18px;
  }

  form {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

  button.primary {
	padding: 16px 24px;
	gap: 5px;
	border-radius: 12px;
	font-size: 16px;
	line-height: 16px;
}

input[type="search"] {
	border: 1px solid #383738;
	border-radius: 12px;
	font-size: 14px;

}

#searchContainer {
	padding: 0 1rem;
}

#categories {
	padding: 0;
}

.chip {
	padding: 6px 16px;
  font-size: 16px;
}


}




#navHamburger  {
  display: block;
  position: relative;
  height: 48px;
  width:48px;
}

#navHamburger  .checkbox {
  position: absolute;
  display: block;
  height: 48px;
  width: 48px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

#navHamburger  .hamburger-lines {


  height: 22px;
  width: 30px;

  margin:auto;

  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#navHamburger  .hamburger-lines .line {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 10px;
  background: #3E3E3E;
}

#navHamburger  .hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

#navHamburger  .hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}

#navHamburger  .hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}


#navHamburger  input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

#navHamburger  input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

#navHamburger  input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

#navHamburger  input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}



/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 100%;
  width: 0;
 position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(255, 230, 96); /* Black fallback color */

  overflow: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

#myNav{
  display: flex; /* Display block instead of inline */
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
/* Position the content inside the overlay */
.overlay-content {
    display: flex; /* Display block instead of inline */
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  position: relative;
  top: 25%; /* 25% from the top */
  height: 100%;
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
  overflow:hidden;
  min-width: 300px;

}

/* The navigation links inside the overlay */
#myNav a {

  padding: 8px;
  text-decoration: none;
  font-size: 24px;
  color: #383738;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}
#myNav a .tertiary {

  font-size: 24px;

}


/* When you mouse over the navigation links, change their color */
#myNav a:hover, #myNav a:focus {
  color: #383738;
  text-decoration: underline;
}

/* Position the close button (top right corner) */
#myNav .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

#eadresas{
  cursor:pointer;
}

#eadresas:hover{
  text-decoration: underline;
}

#navList{
display: none;
}

#navHamburger{
display: flex;
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  #navList{
  display: none;
  }
  #navHamburger, #myNav{
  display: flex;
  }

  .bgIllustrations {

   opacity: 0.5;

  }
/*
  #categories{
    flex-wrap:nowrap;
    overflow-x:scroll;
    justify-content: flex-start;
  } */

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  #navList{
  display: none;
  }

  #navHamburger, #myNav{
  display: flex;
  }


  #hero.smaller #categories {
  	max-width: none;
  	flex-wrap: wrap;
  	/* overflow-x: scroll; */
  	/* align-content: ; */
  	/* align-items: flex-start; */
  	justify-content: center;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

  /* #categories{
    flex-wrap:wrap;
    justify-content: center;
    overflow-x:auto;
  } */

  #navList{
  display: flex;
  }
  #navHamburger, #myNav{
  display: none;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  #navList{
  display: flex;
  }
  #navHamburger, #myNav{
  display: none;
  }

}
