@font-face {
	font-family: 'Alegreya';
	font-style: normal;
	font-weight: 700;
	font-display: auto;
	src: url('https://producers.komotini-mills.gr/font/Alegreya-Bold.woff') format('woff');
}
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-display: auto;
	src: url('https://producers.komotini-mills.gr/font/Roboto-Regular.woff') format('woff');
}
@font-face {
	font-family: 'RobotoSlab';
	font-style: italic;
	font-weight: 400;
	font-display: auto;
	src: url('https://producers.komotini-mills.gr/font/RobotoSlab-VariableFont_wght.woff') format('woff');
}

* {
  box-sizing: border-box;
}

body { margin: 0 }
.back { font-family: 'RobotoSlab'; color: #0f1820; text-decoration: none; position: relative; display: inline-block; font-size: 15px; padding: 30px; }
header { width: 100%; display: block; padding: 30px 5% 10%; float: left; }
.logo { float: right;  }
.bird { left: 100px; top: 50px; position: relative }
.producers { position: absolute; width: 46%; left: 30%; z-index: 9; }

main { float: left; width: 100%;  padding: 0 3% }
.setbackground { background:url("https://producers.komotini-mills.gr/images/cement-texture.jpg");  width: 100%; position: relative; padding-top: 7vw; }
.icon { position: absolute; left: 25%; top: -8% }

.flour { width: 60%; display: flex; align-items: center; justify-content: center; }
.packaging { width: 45%; display: inline-block}
.flour-text { width: 55%; display: inline-block; transform: translateX(-100px) !important;}
h1 {font-family: 'RobotoSlab'; font-size: 28px }
p {font-family: 'RobotoSlab'; font-size: 18px; line-height: 28px }

.vimeo { width: 18vw; position: absolute; right: 12%; bottom: -3vw; }

h2.people { font-family: 'Alegreya'; font-size: 82px; padding-left: 5%; float: left }
h2.philosophy { font-family: 'Alegreya'; font-size: 82px; padding-left: 5%; float: left; position: relative; display: block; width: 100%; }
.phil { display: block; width: 80%; margin: 0px auto;  text-align: center; position: relative; max-width: 1560px; }
.phil img { padding-top: 50px; width: 100% }
.one-third { width: 33%; display: inline-block; font-family: 'RobotoSlab'; font-size: 20px; padding: 30px 0; vertical-align: top; }
.setbackground2 { padding: 0 0 50px 0; margin-bottom: 120px }

footer { background: #0f1820; float: left; width: 100%; color: #fff;  font-family: 'RobotoSlab'; font-size: 17px; text-align: center; padding-top: 50px}
footer p a img { margin: 0 8px }
.logo-footer { filter: brightness(0) invert(1); margin: 30px 0 }
hr { border: 1px solid #b2b2b2; }
.one-half { width: 49.5%; display: inline-block; font-family: 'Roboto'; font-size: 15px; padding: 30px 0; vertical-align: top; color: #b2b2b2; text-align: left; padding: 10px 30px 15px}
.one-half.right { text-align: right}
.one-half.right a{ text-decoration: none ;color: #b2b2b2;}
.hidden-pc, .timeline-vertical  { display: none }

.accordions {
display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;	padding: 0 3% 100px 3%; float: left; 	 
 cursor: pointer;
	  width: 100%;
	  border: none;
	  text-align: center;
	  outline: none;
	  font-size: 20px;
	  transition: 0.4s;
	  background: transparent;
	  font-family: 'RobotoSlab'; }
	  
.accordions .card {
    width: 16.66%;
    padding: 20px;
    box-sizing: border-box;
	text-align: left
}

.accordions .card img { width: 100% }
.accordions .card span { display: none }

/* Tooltip Styling */
.tooltips {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    pointer-events: none;
    display: none; /* Hidden by default */
    z-index: 999;
	font-family: 'RobotoSlab'; 
}
.tooltips h3 { font-size: 18px; margin:0 }
.tooltips p { font-size: 14px; margin: 0 }

@media (hover: none) {
	.tooltips {
        display: none !important;
		position: relative !important;
		background: transparent;
		color: #000;
		padding: 0;
		white-space: normal;
    }
	.accordions .card span { display: block }
}

/* Popup Styling */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    position: relative;
    padding: 20px;
    width: 100vw;
	height: 100%;
    text-align: center;
    border-radius: 8px;
	color: #fff;
	font-family: 'RobotoSlab';
}

.popup-content h3, .popup-content p { margin: 10px 0 }

.popup-video iframe {
    width: 100%;
    height: 75vh;
    margin-top: 5vh
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 64px;
    font-weight: bold;
    cursor: pointer;
	color: #fff
}

.box { background: #0193D7; color: #fff; text-align: center; width: 100%; aspect-ratio: 1 / 1;   display: grid; place-items: center; padding: 20px 5px }
.box h2 { margin: 0; font-size: 18px}
.box p { margin: 0; font-size: 14px; line-height: 18px}
.box a { color: #fff; text-decoration: none }
.accordions .card .box img { width: 120px }

@media (max-width:1880px) {
	.accordions .card .box img { width: 90px; }
}

@media (max-width:1680px) {
	header { padding: 30px 5% 5%; }
	.producers { width: 35%; left: 33%; }
	.sun { width: 120px }
	.bird { left: 70px; top: 20px; width: 110px; }
	.flour-text { transform: translateX(0px) !important; }
	h1 { font-size: 24px; }
	p, .one-third { font-size: 16px; line-height: 30px; }
	h2.people, h2.philosophy { font-size: 64px; }
	.accordions .card { width: 20%; }
}

@media (max-width:1440px) {
	.sun { width: 100px }
	.bird { width: 90px; }
	.logo { width: 80px; }
	.icon { width: 90px }
	h1 { font-size: 20px }
	h2.people, h2.philosophy { font-size: 48px; }
	.vimeo { right: 7%; width: 20vw; }
	.accordions .card .box img { width: 75px; }
}

@media (max-width:1280px) {
	.accordions .card { width: 25%; padding: 15px; }
	.accordions { padding: 0 3% 50px 3%; }
}

@media (max-width:1180px) {
	.vimeo { right: 7%; width: 23vw; }
}

@media (max-width:1080px) {
	.hidden-mobile { display: none }
	.logo { float: left }
	.back { float: right }
	header { padding-top: 0 }
	.logo { width: 120px;  margin-top: -30px; }
	.hidden-pc { display: block }
	.producer { position: absolute; right: 60px; z-index: 9; width: 20%; max-width: 180px; top: 100px; }
	h1.hidden-pc { font-family: 'Alegreya'; font-size: 42px; margin: 0; line-height: 48px }
	h1.hidden-pc br:first-child {display: none  }
	.subtitle {  font-family: 'RobotoSlab'; font-size: 19px; }
	.setbackground {padding: 30px; min-height: unset }
	main { padding: 0 }
	.vimeo { width: 100%; padding: 0px; bottom: unset; position: relative; right: unset; }
	.packaging { width: 50%; display: inline-block;	}
	.icon2 { float: right; padding: 80px 50px;  max-width: 40%; width: 260px; }
	.flour-text { width: 100% }
	.flour-text br { display: none }
	.one-third { width: 32.5%;} 
	h2.people { padding-left: 30px }
	h2.philosophy { padding-left: 0 }
	.one-half { width: 100%; text-align: center !important; padding: 5px 0 0; }
	footer { padding: 30px 0 10px; }
}

@media (max-width:991px) {
	.accordions .card { width: 33.33%; padding: 15px; }
	.accordions img{ width: 100% }
	
	.accordions h3 { margin-bottom: 0; font-size: 22px }
	.accordions p { margin-top: 5px; line-height: 22px }

	.accordions .item:last-child  {	border: none }
	
	.accordion:after {
	  content: '\002B';
	  color: #000;
	  font-weight: bold;
	  float: right;
	  margin-left: 5px;
	  font-size: 22px;
	  margin-top: -40px
	}

	.active:after {
	  content: "\2212";
	}

	.panel {
	  padding: 0;
	  background-color: white;
	  max-height: 0;
	  overflow: hidden;
	  transition: max-height 0.2s ease-out;
	  margin-bottom: 10px;
	  font-size: 16px;
      line-height: 30px;
	  font-family: 'RobotoSlab';
	}	
	
	.phil { display: none }
	.setbackground2 { margin-bottom: 0 }
	.timeline-vertical { display: block; width: 90%; margin-left:5%; margin-bottom: 50px }
}

@media (max-width:767px) {
	.icon2 { width: 25%; margin-top: 50px; padding: 0 }
	.packaging  { width: 75% }
	.back { padding: 15px }
	.accordions .card { width: 50%; padding: 10px;  }
	.tooltip h3 { font-size: 14px; margin:0 0 3px 0}
	.tooltip p { font-size: 12px; margin: 0; line-height: 16px }
	.close { font-size: 32px }
}

@media (max-width:520px) {
	.accordions .card .box img { width: 60px; }
	.box h2 { font-size: 14px }
	.box p { font-size: 12px; line-height: 16px; }
}