@charset "utf-8";
body {
	min-height: 100vh;
  	display: flex;
  	flex-direction: column;
	font: 100%/1.4 Calibri, Arial, Helvetica;
	font-size: 100%;
	background-color: white;
	margin: 0;
	padding: 0;
	color: #000;
}


ul, ol, dl { 
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;
	padding-right: 15px;
	padding-left: 15px;
}
a img { 
	border: none;
}


a:link {
	color:rgb(0,27,150);
	text-decoration: underline;
}
a:visited {
	color: rgb(0,27,150);
	text-decoration: underline;
}
a:hover, a:active, a:focus { 
	text-decoration: none;
}


.header {
	background-color: rgb(0,27,150);
	margin-top: 17px;
}


.content {
	margin: 5%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-top: 2%;
}

.content2 {
	margin: 5%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-top: -7%;
}


.content ul, .content ol { 
	padding: 0 15px 15px 40px; 
}


.category {
	position: relative;
	width: 320px;
	height: 200px;
	border: 2px solid black;
	border-radius: 10px;
	margin: 30px;
}

.category > span {
    position: absolute;
    bottom: 8px;
    left: 8px;
    color: white;
    font-family: "Calibri", sans-serif;
    border-radius: 4px;
    background-color: rgb(0,27,150);
    font-size: 1.7rem;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
	letter-spacing: 1px;
}

.product > img {
	margin-bottom: 5%;
	width: 50%;
    height: inherit;
}

.product > a img {
	width: 50%;
    height: inherit;
	transition: all .2s ease-in-out;
}

.product > a img:hover { 
	transform: scale(1.8); 
}

.image-container > a img {
	width: 50%;
    height: inherit;
	transition: all .2s ease-in-out;
}

.image-container > a img:hover { 
	transform: scale(1.8); 
}



.category > img {
	max-width: 100%;
	border-radius: 8px;
}

.product {
	display: flex;
	flex-direction: column;
	width: 350px;
	text-align: center;
	gap: 20px;
	margin-top: 5%;
}

#paskaegg {
	flex: 0 0 calc(16.6667% - 20px);
}



.image-container {
	margin-top: auto;
}

#belgian-sukk > .image-container img {
	width: 70%;
	height: inherit;
}

#novelty > .image-container img {
	width: 30%;
}

.product-info {
	margin-top: auto;
	min-width: 164px;
	text-align: center;
}

.product-modal {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.product-modal > img {
	width: 35%;
	margin-bottom: 20px;
}

.product-modal > .product-info {
	margin: 0;
}

.ilmkerti-texti {
	text-align: left;
	margin-top: 0;
}

.ilm-texti {
	margin-bottom: 0;
}

nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: linear-gradient(.25turn, rgb(0,122,201), 65%, rgb(0,27,150));
  color: white;
  /*margin-top: 17px;*/
  background-size: 200% 200%;
  border-top: solid 4px #ED1E24;
  border-bottom: solid 4px #ED1E24;
  -webkit-animation: Animation 5s ease infinite;
  -moz-animation: Animation 5s ease infinite;
  animation: Animation 5s ease infinite;
}

@-webkit-keyframes Animation {
    0%{background-position:10% 0%}
    50%{background-position:91% 100%}
    100%{background-position:10% 0%}
}
@-moz-keyframes Animation {
    0%{background-position:10% 0%}
    50%{background-position:91% 100%}
    100%{background-position:10% 0%}
}
@keyframes Animation { 
    0%{background-position:10% 0%}
    50%{background-position:91% 100%}
    100%{background-position:10% 0%}
}

.logo {
  flex-grow: 0;
  margin-right: auto;
}


.logo > a > img {
	width: 50%;
	min-width: 200px;
}




.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  margin-right: 5%;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
}

footer {
	margin-top: auto;
	color: white;
	background-color: rgb(0,27,150);
	border-top: solid 4px #ED1E24;
	border-bottom: solid 4px #ED1E24;
	padding: 20px;
	text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.footer-section {
  margin-right: 20px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-section p {
  margin: 5px 0;
  font-size: 14px;
}

.footer-section a {
	color: white;
	text-decoration: none;
}

.modal-header {
	color: rgb(0,27,150);
}



.modal-header > h5 {
	font-weight: bold;
	font-size: 1.7rem;
}


#konfekt-img {
	width: 70%;
}

#konfekt-img-1 {
	width: 60%;
}

#king-regal-img {
	width: 86%;
}

#slaufur img {
	width: 70%;
}

#derhufur img {
	width: 70%;
}

#krullubordar img {
	width: 40%;
}

#reykelsi img {
	width: 20%;
}

#ilmolia {
	margin-top: 8%;
}


#fanatexti {
	text-align: center;
	margin-bottom: 5%;
	font-style: oblique;
}

#pajoma-ilmkerti img {
	width: 70%;
}


#gold-label-img {
	width: 24%;
}

#ilmsprotar {
	margin-top: 4%;
}

#ilmsprotar img {
	width: 60%;
}

#ilmsprotastandur img {
	width: 40%;
}


#hybilaspray img {
	width: 25%;
}

#tivoli-sleikjo img {
	width: 35%;
}

#party-glow img {
	width: 40%;
}

#jolasælgæti img {
	width: 25%;
}

#pappadiskar img {
	margin-top: 25%;
}

.fjorar-hlidar {
	display: flex;
	flex-basis: 50%;
	flex-wrap: wrap;
}

iframe {
	width: 70%;
	height: 500px;
}


.lollipop {
	position: fixed;
	top: 0;
	left: 25%; /* Adjust the left value to center the images */
	transform: translateX(-25%); /* Add this transform to center the images properly */
	right: 0;
	bottom: 0;
	z-index: -1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
  }
  
  .lollipop img {
	width: 12%;
	height: 100%; /* Set the height of the images to 100% */
	object-fit: cover; /* Ensure the images cover the entire container */
  }



  /* Define the animation for each lollipop div */
  .lollipop1 {
	animation: float1 20s infinite linear;
  }
  
  .lollipop2 {
	animation: float2 25s infinite linear;
  }
  
  .lollipop3 {
	animation: float3 22.5s infinite linear;
  }
  
  /* Define the keyframe animations for each lollipop div */
  @keyframes float1 {
	0% { transform: translateX(0px) translateY(0px); }
	50% { transform: translateX(500px) translateY(500px); }
	100% { transform: translateX(0px) translateY(0px); }
  }
  
  @keyframes float2 {
	0% { transform: translateX(0px) translateY(0px); }
	50% { transform: translateX(-300px) translateY(-300px); }
	100% { transform: translateX(0px) translateY(0px); }
  }
  
  @keyframes float3 {
	0% { transform: translateX(0px) translateY(0px); }
	50% { transform: translateX(-50%) translateY(50%); }
	100% { transform: translateX(0px) translateY(0px); }
  }




  
  @media (min-width: 320px) and (max-width: 480px) {

	h1 {
		font-size: 28px !important;
	}

	.banner {
		padding: 3px !important;
	}

	.banner > span {
		font-size: 3vw !important;
		bottom: 0px !important;
	}

	.logo > a > img {
		width: 80%;
		min-width: 200px;
	}
  
	.product {
		width: 160px;
	}

	.product-info {
		font-size: 0.88em;
		min-width: 170px;
	}

	.product-modal .product-info {
		font-size: 0.8em;
		min-width: 140px;
	}

	.ilm-texti {
		font-size: 0.88em;
		min-width: 140px;
	}

	.ilmkerti-texti {
		font-size: 0.88em;
		min-width: 140px;
		margin-left: 10%;
	}

	.modal-header > h5 {
		font-weight: bold;
		font-size: 1.1rem;
	  }
	
	.category {
		width: 200px;
		height: auto;
		margin: 10px;
	}

	.category > img {
		margin-bottom: -3%;
	}

	.category > span {
		bottom: 3px;
		left: 1px;
		font-size: 1em;
	}

	#nr10667 {
		margin-top: 0 !important;
	}

	.nav-links li {
		margin-left: 10px;
	  }

	.nav-links li a {
		font-size: 0.8rem;
	}

	#hybila img {
		width: 30% !important;
	}

	#pappadiskar img {
		margin-top: 0% !important;
	}

	#papparor img {
		width: 15% !important;
	}

	#plastror img {
		width: 30% !important;
	}

	.image-container > a > img {
		margin-top: 10% !important;
	}

	#stadsetning-img {
		max-width: 310px;
	}
	
	#modal-texti {
		flex-direction: column !important;
	}

  }


  @media (min-width: 481px) and (max-width: 767px) {

	h1 {
		font-size: 38px !important;
	}

	.banner {
		padding: 3.5px !important;
	}

	.banner > span {
		font-size: 2.5vw !important;
		bottom: 4px !important;
	}
  
	.product {
		width: 200px;
	}

	.product-info {
		font-size: 0.88em;
		min-width: 140px;
	}

	.product-modal .product-info {
		font-size: 0.88em;
		min-width: 140px;
	}

	.ilm-texti {
		font-size: 1em;
		min-width: 140px;
	}

	.ilmkerti-texti {
		font-size: 1em;
		min-width: 140px;
		margin-left: 10%;
	}
	

	.category {
		width: 200px;
		height: auto;
		margin: 10px;
	}

	.category > span {
		bottom: 3px;
		left: 1px;
		font-size: 1.2em;
	}

	.category > img {
		margin-bottom: -3%;
	}

	#pappadiskar img {
		margin-top: 0% !important;
	}

	#papparor img {
		width: 15% !important;
	}

	#plastror img {
		width: 30% !important;
	}

	.image-container > a > img {
		margin-top: 10% !important;
	}

	.nav-links li a {
		font-size: 1rem;

	}

	#stadsetning-img {
		max-width: 470px;
	}
	
  }

  @media (min-width: 768px) and (max-width: 1024px) {

	h1 {
		font-size: 48px !important;
	}

	.banner {
		padding: 4px !important;
	}

	.banner > span {
		font-size: 2vw !important;
		bottom: 5px !important;
	}

	.product {
		width: 300px;
	}

	.product-info {
		font-size: 0.88em;
		
	}

	.category {
		width: 260px;
		height: auto;
	}

	.category > img {
		margin-bottom: -2.18%;
	}

	/*
	#paskaegg {
		flex: 0 0 calc(25% - 20px);
	}
	*/

  }

  .banner {
	position: relative;
    display: inline-block;
	overflow: hidden;
	border: 1px solid black;
	border-radius: 5px;
	padding: 5px;
  }
  
  .banner img {
	width: 100%;
	height: auto;
	vertical-align: middle;
  }

  .banner-container {
    position: relative;
}


.banner > span {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: "Calibri", sans-serif;
    border-radius: 4px;
    background-color: rgb(227, 20, 31);
    font-size: 1.5vw; 
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
    letter-spacing: 1px;
}

  .banner:before, .banner:after {
	content: '';
	position: absolute;
	right: -1px;
	bottom: -1px;
	left: -1px;
	top: -1px;
	background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00,#ffff00, #ff0000, #fb0094, 
	  #0000ff, #00ff00,#ffff00, #ff0000);
	background-size: 400%;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	z-index: -1;
	animation: steam 25s linear infinite;
  }
  
  @keyframes steam {
	0% {
	  background-position: 0 0;
	}
	50% {
	  background-position: 400% 0;
	}
	100% {
	  background-position: 0 0;
	}
  }

  #debock-pokar {
	margin-top: -7%;
  }

  #debock-content {
	margin-top: -2%;
  }

#kveikjarar {
	margin-top: 0;
}

.sukk-sedlar-modal {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

#helium-blodrur > a img {
	width: 60%;
}