@import url("reset.css");

/*-----------FONTS-----------*/
/* barlow-300 - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: "Barlow";
	font-style: normal;
	font-weight: 300;
	src: url("../fonts/barlow-v12-latin-300.eot");
	/* IE9 Compat Modes */
	src: url("../fonts/barlow-v12-latin-300.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("../fonts/barlow-v12-latin-300.woff2") format("woff2"),
		/* Super Modern Browsers */ url("../fonts/barlow-v12-latin-300.woff") format("woff"), /* Modern Browsers */ url("../fonts/barlow-v12-latin-300.ttf") format("truetype"),
		/* Safari, Android, iOS */ url("../fonts/barlow-v12-latin-300.svg#Barlow") format("svg");
	/* Legacy iOS */
}

/* barlow-300italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: "Barlow";
	font-style: italic;
	font-weight: 300;
	src: url("../fonts/barlow-v12-latin-300italic.eot");
	/* IE9 Compat Modes */
	src: url("../fonts/barlow-v12-latin-300italic.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("../fonts/barlow-v12-latin-300italic.woff2") format("woff2"),
		/* Super Modern Browsers */ url("../fonts/barlow-v12-latin-300italic.woff") format("woff"), /* Modern Browsers */ url("../fonts/barlow-v12-latin-300italic.ttf") format("truetype"),
		/* Safari, Android, iOS */ url("../fonts/barlow-v12-latin-300italic.svg#Barlow") format("svg");
	/* Legacy iOS */
}

/* barlow-regular - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/barlow-v12-latin-regular.eot");
	/* IE9 Compat Modes */
	src: url("../fonts/barlow-v12-latin-regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("../fonts/barlow-v12-latin-regular.woff2") format("woff2"),
		/* Super Modern Browsers */ url("../fonts/barlow-v12-latin-regular.woff") format("woff"), /* Modern Browsers */ url("../fonts/barlow-v12-latin-regular.ttf") format("truetype"),
		/* Safari, Android, iOS */ url("../fonts/barlow-v12-latin-regular.svg#Barlow") format("svg");
	/* Legacy iOS */
}

/* barlow-italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: "Barlow";
	font-style: italic;
	font-weight: 400;
	src: url("../fonts/barlow-v12-latin-italic.eot");
	/* IE9 Compat Modes */
	src: url("../fonts/barlow-v12-latin-italic.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("../fonts/barlow-v12-latin-italic.woff2") format("woff2"),
		/* Super Modern Browsers */ url("../fonts/barlow-v12-latin-italic.woff") format("woff"), /* Modern Browsers */ url("../fonts/barlow-v12-latin-italic.ttf") format("truetype"),
		/* Safari, Android, iOS */ url("../fonts/barlow-v12-latin-italic.svg#Barlow") format("svg");
	/* Legacy iOS */
}

/* barlow-500 - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: "Barlow";
	font-style: normal;
	font-weight: 500;
	src: url("../fonts/barlow-v12-latin-500.eot");
	/* IE9 Compat Modes */
	src: url("../fonts/barlow-v12-latin-500.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("../fonts/barlow-v12-latin-500.woff2") format("woff2"),
		/* Super Modern Browsers */ url("../fonts/barlow-v12-latin-500.woff") format("woff"), /* Modern Browsers */ url("../fonts/barlow-v12-latin-500.ttf") format("truetype"),
		/* Safari, Android, iOS */ url("../fonts/barlow-v12-latin-500.svg#Barlow") format("svg");
	/* Legacy iOS */
}

/* barlow-500italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: "Barlow";
	font-style: italic;
	font-weight: 500;
	src: url("../fonts/barlow-v12-latin-500italic.eot");
	/* IE9 Compat Modes */
	src: url("../fonts/barlow-v12-latin-500italic.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("../fonts/barlow-v12-latin-500italic.woff2") format("woff2"),
		/* Super Modern Browsers */ url("../fonts/barlow-v12-latin-500italic.woff") format("woff"), /* Modern Browsers */ url("../fonts/barlow-v12-latin-500italic.ttf") format("truetype"),
		/* Safari, Android, iOS */ url("../fonts/barlow-v12-latin-500italic.svg#Barlow") format("svg");
	/* Legacy iOS */
}

/* barlow-600 - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: "Barlow";
	font-style: normal;
	font-weight: 600;
	src: url("../fonts/barlow-v12-latin-600.eot");
	/* IE9 Compat Modes */
	src: url("../fonts/barlow-v12-latin-600.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("../fonts/barlow-v12-latin-600.woff2") format("woff2"),
		/* Super Modern Browsers */ url("../fonts/barlow-v12-latin-600.woff") format("woff"), /* Modern Browsers */ url("../fonts/barlow-v12-latin-600.ttf") format("truetype"),
		/* Safari, Android, iOS */ url("../fonts/barlow-v12-latin-600.svg#Barlow") format("svg");
	/* Legacy iOS */
}

/* barlow-600italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: "Barlow";
	font-style: italic;
	font-weight: 600;
	src: url("../fonts/barlow-v12-latin-600italic.eot");
	/* IE9 Compat Modes */
	src: url("../fonts/barlow-v12-latin-600italic.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("../fonts/barlow-v12-latin-600italic.woff2") format("woff2"),
		/* Super Modern Browsers */ url("../fonts/barlow-v12-latin-600italic.woff") format("woff"), /* Modern Browsers */ url("../fonts/barlow-v12-latin-600italic.ttf") format("truetype"),
		/* Safari, Android, iOS */ url("../fonts/barlow-v12-latin-600italic.svg#Barlow") format("svg");
	/* Legacy iOS */
}

/*-----------FONTGESTALTUNG-----------*/
body {
	font-family: "Barlow";
}

:root {
	--white: #fdfdfd;
	--grey: #f8f8f8;
	--orange: #fd7000;
	--green: #27a41e;
	--darkgrey: #656565;
}

p {
	font-size: 18px;
	font-weight: 300;
	line-height: 24px;
	margin-bottom: 25px;
}

a {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

header h1 {
	font-size: 75px;
	color: var(--white);
	font-weight: 500;
	line-height: 75px;
	margin: 0 0 30px 0;
}

h2 {
	font-size: 30px;
	margin-bottom: 5px;
	color: var(--darkgrey);
}

h3 {
	font-size: 45px;
	text-transform: uppercase;
	color: var(--orange);
	font-weight: 500;
}

h4 {
	font-size: 18px;
	color: var(--orange);
	margin-bottom: 5px;
	font-weight: 300;
}

li {
	font-size: 14px;
	list-style: disc;
}

strong {
	font-weight: 500;
	font-size: 16px;
	font-weight: 600;
}

.ueberschrift {
	position: relative;
	margin-bottom: 30px;
}

.ueberschrift::before {
	content: url("../images/before.svg");
	position: absolute;
	left: -15px;
}

/*-----------NAVI-----------*/
.logo {
	position: fixed;
	width: 200px;
	height: auto;
	top: 22px;
	left: 5%;
	z-index: 9999;
}

nav {
	position: fixed;
	background: var(--white);
	width: 100%;
	z-index: 101;
	top: 0;
	text-align: center;
	padding: 50px 0;
	z-index: 100;
	border-bottom: 1px solid var(--orange);
}

nav ul li {
	display: inline-block;
	margin: 0 1%;
}

nav ul li a {
	text-decoration: none;
	font-size: 20px;
	color: var(--black);
	font-weight: 300;
}

.navi {
	display: none;
}

.burger-nav {
	position: fixed;
	right: 10%;
	top: 30px;
	color: var(--orange);
	z-index: 9999;
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
	font-size: 45px;
	cursor: pointer;
	transition: all 0.4s ease-in-out;
}

.burger-nav b {
	transition: all 0.4s ease-in-out;
	float: left;
	margin-left: 0;
	font-family: "Roboto";
	font-style: normal;
}

.burger-nav-anim {
	top: 13px;
	color: var(--orange);
}

.burger-nav-anim b:first-of-type {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.burger-nav-anim b:nth-of-type(2) {
	opacity: 0;
}

.burger-nav-anim b:last-of-type {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	margin-left: -76%;
}

.full-screen-nav {
	position: fixed;
	z-index: 9998;
	width: 100%;
	height: 100vh;
	background: var(--white);
	display: table;
	visibility: hidden;
	transition: all 0.4s ease-in-out;
	opacity: 0;
}

.full-screen-nav ul {
	text-align: center;
	display: table-cell;
	vertical-align: middle;
	width: 100%;
}

.full-screen-nav ul li a {
	padding: 20px;
	display: block;
	font-size: 30px;
	color: var(--orange);
	transition: all 0.4s ease-in-out;
	text-decoration: none;
}

.fadeIn {
	opacity: 1 !important;
	visibility: visible !important;
}

.fadeUp {
	opacity: 1 !important;
	margin-top: 0 !important;
}

.kontakt-buttons {
	display: flex;
	gap: 0.75rem;
	right: 5%;
	position: fixed;
	top: 50px;
}

/*-----------SUBNAV-----------*/
.subnav {
	position: fixed;
	bottom: 0;
	color: var(--white);
	z-index: 998;
	transition: 0.5s;
	width: 100%;
	text-align: right;
}

.subnav a {
	color: #fff;
	padding: 8px 15px;
	font-size: 14px;
	background-color: var(--orange);
	line-height: 23px;
}

.subnav a:hover {
	background-color: var(--green);
}

/*-----------HEADER-----------*/
header {
	background: url("../images/sonnen-apotheke.jpg") no-repeat center center/contain;
	height: 100vh;
	width: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
}

@media screen and (min-width: 600px) {
	header {
		height: 100vh;
    background-position-y: 3vh;
	}
}

@media screen and (min-width: 1300px) {
	header {
		height: 100vh;
    background-attachment: fixed;
	}
}

.headline {
	display: block;
	position: absolute;
		box-sizing: border-box;
		left: 0;
		bottom: 5vh;
		background-color: #fd7000d1;
		padding: 30px 50px 30px 200px;
		width: 50%;
		border-radius: 0 50px 50px 0;
}

@media screen and (min-width: 1300px) {
	.headline {
		display: block;
		position: absolute;
		box-sizing: border-box;
		left: 0;
		bottom: 5vh;
		background-color: #fd7000d1;
		padding: 30px 50px 30px 200px;
		width: auto;
		border-radius: 0 50px 50px 0;
	}
}

.headline p {
	font-size: 35px;
	font-weight: 400;
	color: var(--white);
	margin-bottom: 35px;
}

.up {
	position: fixed;
	z-index: 998;
	bottom: 3vh;
	right: 1%;
}

.up img {
	width: 100%;
}

/*-----------AUFBAU-----------*/
html {
	scroll-behavior: smooth;
}

.content {
	display: flex;
	width: 100%;
}

.col {
	width: 100%;
}

.halb{
	align-items: center;
}

.text{
	width: 50%;
	padding: 0 5%;
	box-sizing: border-box;
}

.vollbild{
	width: 70%;
	height: 57vh;
}

.vollbild img{
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
}

#abholautomat .vollbild img{
	object-position: center 10%;
}

.button {
	padding: 10px 15px;
	border-radius: 10px;
	border: solid 1px var(--white);
	font-size: 18px;
	color: var(--white);
	font-weight: 300;
	margin-bottom: 0;
	transition: 0.5s ease;
}

.button.green {
	position: relative;
	background-color: var(--green);
}

.button.green:hover {
	transform: scale(1.1);
}

.button:not(.green):hover {
	color: var(--orange);
	background-color: var(--white);
	transition: 0.5s ease;
}

.buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

#team .button,
footer .button {
	color: var(--green);
	border-color: var(--green);
	transition: 0.5s ease;
}
footer .button:nth-of-type(2){
	background-color: var(--green);
	color: var(--white);
}
#team .button:hover,
footer .button:hover {
	background-color: var(--green);
	color: var(--white);
	transition: 0.5s ease;
}
footer .button:hover:nth-of-type(2){
	background-color: var(--white);
	color: var(--green);
}

#impressum{
	width: 90%;
	margin-left: 5%;
	padding: 100px 0;
	display: flex;
	flex-wrap: wrap;
}

/*-----------VORTEILE-----------*/
.vorteil-box{
	background-color: #F8F8F8;
	box-sizing: border-box;
	padding: 50px;
	border-radius: 20px;
	box-shadow: rgba(128, 128, 128, 0.269) 0px 2px 3px 3px;
	margin-bottom: 15px;
}
.vorteil-box p{
	margin-bottom: 0;
}

/*-----------SHOP-----------*/
#shop {
  background-image: url("../images/shop.jpg");
  background-position: left;
  background-repeat: no-repeat;
  background-size: cover;
}

#shop .content{
width: 90%;
margin-left: 5%;
padding: 100px 0;
}

#shop h2,
#shop h3,
#shop p {
	color: var(--white);
}

#shop .ueberschrift::before {
	content: url("../images/before-w.svg");
}

#shop .col {
	width: 45%;
}

/*-----------FOOTER-----------*/

.flex {
	display: flex;
	gap: 3rem;
	flex-wrap: wrap;
}

/*-----------RESPONSIVE-----------*/
@media screen and (max-width: 1825px) {
	.headline {
		width: auto;
	}
}

@media screen and (max-width: 1725px) {
	.headline {
		width: auto;
	}
}

@media screen and (max-width: 1625px) {
	.headline {
		width: auto;
	}
}

@media screen and (max-width: 1525px) {
	.headline {
		width: auto;
	}
}

@media screen and (max-width: 1425px) {
	.headline {
		width: auto;
	}
}

@media screen and (max-width: 1325px) {
	.headline {
		width: auto;
	}
}

@media screen and (max-width: 1400px) {
	nav ul {
		display: none;
	}

	.navi {
		display: block;
	}

	.kontakt-buttons {
		display: none;
	}

	.logo {
		top: 20px;
	}
}

@media screen and (max-width: 1230px) {
	#ueber-uns .content, #vorteile .content {
		flex-direction: column;
	}

	#abholautomat .content, #kontakt .content{
		flex-direction: column-reverse;
	}

	.text{
		padding: 100px 5%;
	}

	.vollbild{
		height: 400px;
	}

	.col {
		width: 100%;
	}

	#shop .col, #newsletter .col {
		width: 90%;
	}

	.headline {
		width: 100%;
		padding: 3% 10%;
		bottom: 0vh;
		border-radius: 0;
	}
}

@media screen and (max-width: 830px) {
	header h1 {
		font-size: 65px;
		line-height: 70px;
		margin-bottom: 20px;
	}

	.headline p {
		font-size: 30px;
		margin-bottom: 20px;
	}

	.button {
		font-size: 16px;
	}
}

@media screen and (max-width: 750px) {
	.up {
		bottom: 4vh;
		right: -3%;
	}

	.up img {
		width: 70%;
	}

	.text{
		padding: 75px 10%;
	}

	#shop .content {
		width: 80%;
		margin-left: 10%;
		padding: 75px 0;
	  }
}

@media screen and (max-width: 600px) {
	header h1 {
		font-size: 45px;
		line-height: 50px;
		margin-bottom: 10px;
	}

	.headline p {
		font-size: 25px;
	}

	h2 {
		font-size: 25px;
	}

	h3 {
		font-size: 35px;
	}

	p {
		font-size: 16px;
		line-height: 22px;
	}
	.logo {
		width: 175px;
		top: 20px;
	}
}

@media screen and (max-width: 500px) {
	h2 {
		font-size: 22px;
	}

	h3 {
		font-size: 25px;
	}
}

@media screen and (max-width: 350px) {
	header h1 {
		font-size: 35px;
		line-height: 40px;
	}

	
}
