* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

header {
    background-color: #1a75ff;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

header h1 {
    font-size: 28px;
}

nav ul {
    list-style-type: none;
    margin-left: 50px;
    margin-right: 50px;
    padding: 0px;
    background-color: #f2f2f2;
    overflow: hidden;
}

nav li {
    float: left;
}

nav a, .dropbtn {
    display: inline-block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav a:hover, .dropdown:hover .dropbtn{
	background-color:#ddd;
}

nav a.active {
	color: white;
	background-color: #0000ff;
}

nav.dropdown {
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f2f2f2;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	text-align: left;
}

.dropdown:hover .dropdown-content {
	background-color: #f2f2f2;
}

.dropdown:hover .dropdown-content{
	display: block;
}

.main-content {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: 100px;
    margin-right: 100px;
    text-align: center;
}

.main-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.coasters {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
}

.coasters h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.coasters ul {
    list-style: none;
}

.coasters li {
    margin-bottom: 20px;
    text-align: center;
}

.coasters a {
    text-decoration: none;
    color: black;
}

.safety {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.safety h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.safety a {
    text-decoration: none;
    color: #fff;
    background-color: #0073e6;
    padding: 10px 20px;
    border-radius: 5px;
}

.about {
    padding: 20px;
    text-align: center;
}

.about h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

a:hover {
    text-decoration: underline;
}

/* Styles for the coaster-details section */
.coaster-details {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    margin: 20px 0;
    text-align: center;
}

.coaster-details h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.coaster-details ul {
    list-style: none;
    padding: 0;
}

.coaster-details li {
    margin-bottom: 5px;
}

/* Styles for the video-container section */
.video-container {
    text-align: center;
    margin: 20px 100px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (for widescreen videos) */
    margin-left: 100px;
    margin-right: 100px;
    margin-bottom: 50px;
    margin-top: 10px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#contact-form {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#contact-form h2 {
    color: #333;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

#contact-form p {
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Styles for the form */
#contact-form form {
    display: grid;
    gap: 50px;
}

#contact-form label {
    font-weight: bold;
    display: block;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 30px;
}

#contact-form input[type="submit"] {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#contact-form input[type="submit"]:hover {
    background-color: #555;
}

#success-message {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

/* Hide the form after submission */
#contact-form.submitted {
    display: none;
}

.safety-exp {
	background-color: #f0f0f0;
    text-align: center;
}

.safety-exp li, p {
	margin-left: 100px;
	margin-right: 100px;
}

.safety-videos {
	background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    margin: 20px 0 0 0;
    text-align: center;
}