/* styles.css */

/* Reset default browser styles */
@font-face {
  font-family: nimbus;
  src: url(FONTIT/nimbus-sans-d-ot/Nimbus-Sans-D-OT-Regular-Extended_32755.ttf);
}
.marginauto {
  padding-top: 3em;
}
.carousel-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2em;
}

.carousel-control.left,
.carousel-control.right {
  background-image: none !important;
  filter: none !important;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
form,
label,
input,
textarea {
  margin-left: 0;
  margin-right: 0;
  border: none;
}

/* Set default font styles */

/* Center everything */
body {
  font-family: nimbus;
  font-size: 20px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

/* Header styles */
header {
  background-color: #fff;
  color: #000000;
  padding: 20px;
}

header h1 {
  font-family: nimbus;
  font-size: 23px;
  margin-bottom: 10px;
}

nav ul {
  list-style: none;
}

nav ul li {
  display: inline-block;
  margin-right: 10px;
}

nav ul li a {
  color: #020000;
  text-decoration: none;
}

/* Main content styles */
main {
  padding: 20px;
  max-width: 800px;
}

section {
  margin-bottom: 30px;
}

h2 {
  font-family: nimbus;
  font-size: 24px;
  margin-bottom: 10px;
}

p {
  font-family: nimbus;
  margin-bottom: 10px;
  text-align: left;
}
.footerp {
  text-align: center;
}

ul {
  margin-bottom: 10px;
}

/* Contact form styles */
form {
  margin-top: 10px;
}

label,
input,
textarea {
  display: block;
  margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 5px;
}
.ig {
  width: 40px;
  min-height: 40px;
  padding-bottom: 1em;
  padding-top: 1em;
}

/* mobile */
@media (max-width: 768px) {
  .marginauto {
    padding-top: 5em;
  }
  #home,
  #about,
  #services,
  #contact {
    height: 50%;
    font-size: 12px;
  }
  /* tää on se et ne menee päällekkäi mut ei viel toimi kunnol voit poistaa tän osion tai testaa */
  .info-container ul {
    display: flex;
    flex-direction: column;
  }
  .info-container li {
    margin-bottom: 5px;
  }
}

#home,
#about,
#services,
#contact {
  font-size: 20px;
}

.info-container ul {
  display: flex;
  list-style-type: none;
  align-items: center;
  justify-content: center;
}
.info-container ul li a {
  color: black;
  text-decoration: none;
  font-family: nimbus;
  font-size: 20px;
  line-height: 1.5;
}
.info-container ul li {
  margin-right: 20px;
}

/* Footer styles */
footer {
  background-color: #fff;
  color: #000000;
  padding: 20px;
  text-align: center;
  font-family: nimbus;
  font-size: 16px;
  line-height: 1.5;
}

/*nav*/

nav {
  text-align: center;
  padding-right: 1em;
  padding-left: 1em;
  padding-bottom: 1em;
}
nav a {
  background-color: rgb(255, 255, 255);
  width: 130px;
  color: black;
  font-family: nimbus;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  border: rgb(0, 0, 0) 2px solid;
  border-radius: 10px;
  padding: 10px;
  display: inline-block;
  border-spacing: 5px;
  margin-top: 5px;
}
nav a:link {
  color: rgb(0, 0, 0);
}
nav a:visited {
  color: rgb(0, 0, 0);
}
nav a:hover {
  background-color: peachpuff;
}
nav a:active {
  color: aliceblue;
}

/*tapahtumat*/

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin-bottom: 5px;
}
.osteritoy,
.content1,
.content2,
.content3,
.content4 {
  font-size: 20px;
}

h1,
h2,
h3 {
  padding-bottom: 1em;
  padding-top: 1em;
}
