html {
	height: 100%;
}
body {
	height: 100%;
	margin: 0px;
	padding: 0px;
	font-family: "Noto Sans JP","Meiryo", Arial, sans-serif;
}
h4, h5, p {
	margin: 0;
}
h1	{
	text-align: center;
	border-bottom: 1px solid black;
	margin-bottom: 0;
	font-size: 2.2em;
	font-weight: 300;
}
h2 {
	font-size: 2em;
}
h3	{
	font-size: 1.4em;
	margin: 1px;
}
h4 {
	text-align: center;
	margin-top: 5px;
	margin-bottom: 5px;
}
h5 {
	text-align: center;
	font-size: 15px;
}
p {
	margin-top: 15px;
	margin-bottom: 15px;
	flex-grow: 1;
	font-size: 1.2em;
}
span {
	font-size: 1.2em;
}
header {
	background-color: azure;
	width: 100%;
	flex-shrink: 0;
	flex-grow: 0;
	display: flex;
}
a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
img {
	height: 100%;
	width: 100%;
	object-fit: contain;
}

/* Home Page */
.main {
	min-height: 100%;
	background-color: azure;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: center;
}
.navbar {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}
.logo {
	max-width: 240px;
	width: 50%;
	display: flex;
	margin: 20px 0;
	margin-left: 5px;
}
.navbar-links {
	display: flex;
	flex-direction: row;
	color: black;
	justify-content: flex-end;
	align-items: center;
}
.navbar-links a {
	padding: 35px 10px;
	width: 100px;
	text-align: center;
	text-decoration: none;
	color: black;
	font-weight: bold;
}
.navbar-links a:hover {
	background-color: #ccffff;
}
.navbar-icon {
	display: none;
	height: 50px;
	width: 50px;
	padding: 20px;
}
.navbar-icon:hover {
	background-color: #ccffff;
}
.navbar-icon svg {
	height: 100%;
}
.slideshow-div {
	width: 100%;
	height: 500px;
	position: relative;
	margin: auto;
	background-color: white;
}
.slideshow-overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: black;
	z-index: 1;
	opacity: 0.6;
}
.slide {
	display: none;
	width: 100%;
	height: 100%;
}
.slide-img1, .slide-img2, .slide-img3 {
	width: 100%;
	background-size: cover;
}
.slide-img1 {
	background-image: url(imgs/slide1-evening-island-houses.jpg);
	background-position: 10% 40%;
}
.slide-img2 {
	background-image: url(imgs/slide2-island-waves.webp);
	background-position: 10% 0%;
}
.slide-img3 {
	background-image: url(imgs/slide3-stone-island.webp);
	background-position: 10% 20%;
}
.slideshow-text {
	z-index: 1;
	position: absolute;
	top: 10%;
	width: 70%;
	max-width: 700px;
	margin-left: 13%;
	color: white;
}
.slideshow-text h1 {
	border: 0;
	margin: 0;
}
.fade {
	animation-name: fade;
	animation-duration: 2s;
}
@keyframes fade {
	from {opacity: 0.5}
	to {opacity: 1}
}
.intro {
	width: 100%;
	background-color: azure;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 20px;
}
.intro-text, .intro-points {
	display: flex;
	flex-direction: column;
	width: 80%;
	max-width: 1000px;
	padding: 5px 0px;
}
.intro-points {
	justify-content: space-evenly;
}
.intro-points div {
	display: flex;
	margin: 10px 0;
}
.intro-points svg {
	height: 3em;
	width: 3em;
	overflow: visible;
}
.intro-points path {
	fill: steelblue;
}
.intro-points span {
	margin-left: 15px;
}
.advantages-container {
	display: flex;
	width: 100%;
	background-color: #63A2CC;
	justify-content: center;
}
.advantages {
	display: flex;
	width: 70%;
	max-width: 1000px;
	flex-direction: column;
	align-items: center;
	padding-bottom: 15px;
	color: white;
}
.advantages h2 {
	text-align: center;
	border-bottom: 1px solid white;
	padding: 0 30px;
}
.main-links {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	margin-top: 10px;
	margin-bottom: 30px;
}
.main-links a {
	text-decoration: none;
	color: white;
	margin-top: 5px;
	width: 300px;
	height: 200px;
}
.main-links a:hover {
	box-shadow: 7px 7px 10px 3px gray;
	border-radius: 20px;
}
.main-links h2 {
	margin: 0;
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 2px solid black;
}
.main-links-container {
	margin: 10px 50px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
}
.main-links-container img {
	object-fit: cover;
	border: 3px solid black;
	border-radius: 20px;
	height: 100%;
	width: 100%;
}
.main-links-company, .main-links-products {
	object-position: top;
}
.main-links-services {
	object-position: right;
}
.footer {
	background-color: #2c6287;
	color: white;
	padding-bottom: 10px;
	width: 100%;
	flex-shrink: 0;
	flex-grow: 0;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: center;
}
.footer a {
	color: white;
}
.footer-container {
	margin: 20px 0px;
	width: 90%;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-evenly;
}
.footer-container div {
	min-width: 20%;
}
.footer-container span {
	font-size: 16px;
	font-weight: bold;
	margin-left: 5px;
}
.footer-container svg {
	width: 2em;
	height: 2em;
	overflow: visible;
}
.footer-container path {
	fill: white;
}
.main-about-us-ul {
	padding: 0 25px;
	margin: 10px;
}
.contact-div {
	display: flex;
	flex-direction: column;
}
.contact-div div {
	display: flex;
	align-items: center;
}
.contact-div a {
	margin-left: 5px;
}
.copyright {
	font-size: 14px;
	text-align: center;
}

/* Main Page Media Queries */

@media screen and (max-width: 1000px) {
	.navbar {
	}
	.navbar-links {
		display: none;
	}
	.navbar-links a {
		padding: 15px;
	}
	.navbar-links.responsive {
		flex-direction: column;
	}
	.navbar-links.responsive .navbar-icon {
		top: 0;
	}
	.navbar-links.responsive {
		display: flex;
		width: 100%;
	}
	.navbar-links.responsive a {
		display: block;
		width: 100%;
	}
	.navbar-icon {
		display: block;
	}
}

/* About Us Page */

.header-img-container {
	width: 100%;
	height: 450px;
	position: relative;
	color: white;
	display: flex;
	justify-content: center;
}
.header-img-container h1 {
	position: absolute;
	top: 40%;
	border-bottom: 1px solid white;
	margin: 0;
	padding: 0 20px;
}
.header-img-overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: black;
	opacity: 0.6;
}
.header-img {
	width: 100%;
	height: 100%;
	background-image: url(imgs/slide2-island-waves.webp);
	background-size: cover;
	background-position: 0 20%;
}
.about-us-text {
	width: 60%;
	max-width: 1000px;
	padding-top: 10px;
	padding-bottom: 30px;
}
.about-us-offers {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	background-color: #63A2CC;
	color: white;
	padding: 30px 0;
}
.about-us-offers h2 {
	text-align: center;
	margin: 0;
	padding: 0 30px;
	border-bottom: 1px solid white;
}
.about-us-offers-blocks-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 90%;
}
.about-us-offers-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 10px 20px;
	min-width: 300px;
	width: 33%;
	max-width: 550px;
}
.about-us-offers-img {
	height: 200px;
	width: 100%;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	border: 3px solid white;
	border-radius: 20px;
}
.about-us-offers-img p {
	margin: 0;
	flex-grow: 0;
	z-index: 1;
	width: 75%;
}
.about-us-offers-img1 {
	background-image: url(imgs/businessmen-talking.jpg);
}
.about-us-offers-img2 {
	background-image: url(imgs/business-meeting.avif);
}
.about-us-offers-img3 {
	background-image: url(imgs/charts-on-a-table.jpg);
}
.about-us-offers-img4 {
	background-image: url(imgs/factory-line.webp);
}
.about-us-offers-img-overlay {
	background-color: black;
	width: 100%;
	height: 100%;
	position: absolute;
	opacity: 0.6;
	border: 3px solid white;
	border-radius: 20px;
}

/* Services Page CSS */
.services {
	width: 100%;
	padding-top: 15px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.services-block {
	display: flex;
	flex-direction: column;
	min-width: 300px;
	max-width: 550px;
	margin: 15px;
	border: 3px solid #63A2CC;
	border-radius: 20px;
	overflow: hidden;
}
.services-block p {
	padding: 0 5px;
}
.services-block-img {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
	background-size: cover;
	position: relative;
	color: white;
}
.services-block-img h2 {
	z-index: 1;
	text-align: center;
}
.services-block-img-overlay {
	width: 100%;
	height: 100%;
	background-color: black;
	position: absolute;
	opacity: 0.6;
}
.services-block-img1 {
	background-image: url(imgs/moomin-chocolate2.webp);
} 
.services-block-img2 {
	background-image: url(imgs/airplane2.jpg);
} 
.services-block-img3 {
	background-image: url(imgs/labels.webp);
	background-position: 0 25%;
} 
.services-choose-us {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #63A2CC;
	color: white;
}
.services-choose-us h2 {
	border-bottom: 1px solid white;
	text-align: center;
}
.services-choose-us-text-container {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	width: 90%;
	max-width: 1400px;
	align-content: center;	
	padding-bottom: 20px;
}
.services-choose-us-text {
	width: 65%;
}

/* Product Page CSS */
.products {
	display: inline-grid;
	grid-template-columns: repeat(auto-fit, 300px);
	grid-auto-rows: 500px;
	justify-items: center;
	justify-content: center;
	grid-gap: 40px;
	width: 90%;
	max-width: 1500px;
	height: 50%;
	padding: 40px 0;
}
.prod {
	background-color: white;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	border: 3px solid #63A2CC;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0px 0px 6px 4px lightgrey;
	margin: 5px;
	padding-bottom: 5px;
}
.prod p {
	margin-top: 10px;
	margin-bottom: 0;
}
.prod span, .prod p {
	margin: 0 10px;
}
.prod-img-container {
	width: 300px;
	height: 35%;
}