body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
}

.sedan-regular {
  font-family: "Sedan", serif;
  font-weight: 400;
  font-style: normal;
}

header {
    background-color: #37474f;
    padding: 50px 0;
    color: #ffffff;
    display: flex;
    justify-content: flex-end; /* Adjusted to push navigation to the right */
    align-items: center;
}

header .container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
}

.title-container {
    margin-bottom: 20px; /* Adjust spacing between title and navigation */
}
		
header .title {
    padding: 0;
	font-size: 53px;
    color: #8BD8E;
    font-weight: 300;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center; /* Center navigation items vertically */
}

nav ul li {
    margin-left: 20px; /* Adjust spacing between navigation items */
}

nav ul li:first-child {
    margin-left: 0;
}

header nav ul li:first-child {
    margin-left: 0;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
        font-size: 18px;
	  font-weight: 300;
}

.hero {
    height: 500px;
    background-image: url('../kuvat/hero-vellu.jpg');
    background-size: cover;
    background-position: center;
    position: relative; /* Ensure relative positioning for absolutely positioned elements */
		
}

.hero .container {
    position: relative; /* Ensure relative positioning for absolutely positioned elements */
    display: flex;
    justify-content: center;
    align-items: center;
}

.mid1 {
    height: auto; /* Change height to auto to allow content to expand vertically */
    min-height: 300px; /* Set a minimum height to ensure the div is at least 300px tall */
    background-image: url('../kuvat/mid_vellu.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center; /* Center the content vertically */

}

.mid1 .container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-width: 80%; /* Set a maximum width to prevent the text from becoming too wide */
    margin: 0 auto; /* Center the container horizontally */
}

.mid1-heading {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1.25;
    color: #ffffff;
    text-align: center; /* Center the text within the container */
    padding: 15px 30px; /* Consolidate padding properties */
}



.hero-heading {
    position: absolute; /* Position the heading absolutely */
    top: 390px; /* Adjust as needed */
    left: 50%; /* Adjust as needed */
    transform: translate(-50%, -50%);
  font-family: "Playfair Display", serif;
	font-size: 30px;
    font-weight: 300;
	line-height: 1.25;
    color: #ffffff;
    text-align: center; /* Adjust as needed */
	background-color: rgba(53,0,81,0.41); /* Specify the background color */
    padding-top: 15px; /* Optional: Add padding for better spacing */
	padding-bottom: 23px; /* Optional: Add padding for better spacing */
    padding-left: 30px; /* Optional: Add padding for better spacing */
	padding-right: 30px; /* Optional: Add padding for better spacing */

}

.content {
    padding: 50px 0;
}

.content .container {
    width: 60%;
    margin: 0 auto;
	}

.content p {
    font-size: 18px;
    line-height: 2;
	font-weight: 300;
   	color: #000000;
}

.content h2 {
    font-size: 42px;	
    font-weight: 300;
    color: #007CC4;
}

.additional-content {
    background-color: #f2f2f2; /* Light gray background */
	padding: 50px 0;
	font-weight: 300;
    color: #000000;
}
	
.additional-content .container {
    width: 60%;
    margin: 0 auto;
}

.additional-content p {
    font-size: 18px;
    line-height: 2;
	font-weight: 300;
   	color: #000000;
}

.additional-content h2 {
    font-size: 42px;
    font-weight: 300;
    color: #007CC4;
}

/* Define styles for unordered lists */
ul {
  list-style-type: disc; /* or other values like circle, square */
	    font-size: 18px;
    line-height: 1.75;
	font-weight: 300;
   	color: #000000;
  /* Additional styles */
}

strong {
  font-weight: bold; /* Ensures strong text is bold */
  /* Additional styles */
}

/* Style for bold text */
b {
  font-weight: bold; /* Ensures bold text is bold */
  /* Additional styles */
}


footer {
    background-color: #6E8C9A;
    color: #ffffff;
    padding: 1px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 14px;
}

footer .container {
    width: 80%;
    margin: 0 auto;
}

@media only screen and (max-width: 768px) {
    /* Tässä voit määrittää tyylin mobiililaitteille */
	body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    backgroundar: #ffffff;
}

.sedan-regular {
  font-family: "Sedan", serif;
  font-weight: 400;
  font-style: normal;
}

header {
    background-color: #37474f;
    padding-top: 10px 0;
	padding-bottom: 10px 0;
    color: #ffffff;
    display: flex;
    justify-content: flex-end; /* Adjusted to push navigation to the right */
    align-items: center;
}

header .container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
	  text-align: center; 
}

.title-container {
    margin-bottom: 20px; /* Adjust spacing between title and navigation */
	  text-align: center; 
}
		
header .title {
    padding: 0;
	font-size: 36px;
    color: #8BD8E;
    font-weight: 300;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center; /* Center navigation items vertically */
}

nav ul li {
    margin-left: 20px; /* Adjust spacing between navigation items */
}

nav ul li:first-child {
    margin-left: 0;
}

header nav ul li:first-child {
    margin-left: 0;
}


.hero {
    height: 500px;
    background-image: url('../kuvat/hero-vellu.jpg');
    background-size: cover;
    background-position: center;
    position: relative; /* Ensure relative positioning for absolutely positioned elements */
		
}

.hero .container {
    position: relative; /* Ensure relative positioning for absolutely positioned elements */
    display: flex;
    justify-content: center;
    align-items: center;
	width: 100%;
}

.hero-heading {
    position: absolute; /* Position the heading absolutely */
    top: 390px; /* Adjust as needed */
    left: 50%; /* Adjust as needed */
    transform: translate(-50%, -50%);
  font-family: "Playfair Display", serif;
	font-size: 26px;
    font-weight: 300;
	line-height: 1.25;
    color: #ffffff;
    text-align: center; /* Adjust as needed */
	background-color: rgba(53,0,81,0.41); /* Specify the background color */
    padding-top: 15px; /* Optional: Add padding for better spacing */
	padding-bottom: 23px; /* Optional: Add padding for better spacing */
    padding-left: 30px; /* Optional: Add padding for better spacing */
	padding-right: 30px; /* Optional: Add padding for better spacing */

}

.content {
    padding: 50px 0;
}

.content .container {
    width: 80%; 
    margin: 0 auto;
	}

.content p {
    font-size: 16px;
    line-height: 1.75;
	font-weight: 300;
   	color: #000000;
}

.content h2 {
    font-size: 32px;	
    font-weight: 300;
    color: #007CC4;
}

.additional-content {
    background-color: #f2f2f2; /* Light gray background */
	padding: 50px 0;
	font-weight: 300;
    color: #000000;
}
	
.additional-content .container {
    width: 80%;
    margin: 0 auto;
}

.additional-content p {
    font-size: 16px;
    line-height: 1.75;
	font-weight: 300;
   	color: #000000;
}

.additional-content h2 {
    font-size: 32px;
    font-weight: 300;
    color: #007CC4;
}


/* Define styles for unordered lists */
ul {
  list-style-type: disc; /* or other values like circle, square */
	    font-size: 16px;
    line-height: 1.75;
	font-weight: 300;
   	color: #000000;
  /* Additional styles */
}

strong {
  font-weight: bold; /* Ensures strong text is bold */
  /* Additional styles */
}

/* Style for bold text */
b {
  font-weight: bold; /* Ensures bold text is bold */
  /* Additional styles */
}

footer {
    background-color: #6E8C9A;
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 14px;
}

footer .container {
    width: 80%;
    margin: 0 auto;
}
 
	
	}