
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: "Jockey One", sans-serif;
  }

.jockey-one-regular {
    font-family: "Jockey One", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

a {
    text-decoration: none; 
    color: white /* Removes underline */ 
  }

body {
    font-family: "Jockey One", sans-serif;
    line-height: 1.6;
    font-weight: 400;
    font-style: normal;
    }
  
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f4f4f4;
    font-family: "Jockey One", sans-serif;
    }
  
header h1 {
    font-size: 44px;
    font-family: "Jockey One", sans-serif;
    }
header i {
    color: #778DA9;
    }
nav a {
    margin: 0 10px;
    text-decoration: none;
    font-size: 20px;
  }
nav a:hover {
    color: #0056b3;
    }
  
main {
    display: flex;
    gap: 10px;
    padding: 20px;
    }
  
main section {
    flex: 1;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    }

#messages {
    height: 700px;
    text-align: center;
    font-weight: normal;
    }
  
  #galleries {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    min-height: 300px;
    font-weight: normal;
  }
  
  #galleries button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #778DA9;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: normal;
    font-size: 1.25rem;
  }
  #messages button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #778DA9;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.25rem;
  }
  #galleries button:hover {
    background-color: #0056b3;
  }
  #messages button:hover {
    background-color: #0056b3;
  }
  .carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: auto;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .slide {
    min-width: 100%;
    height: 500px;
    padding: 50px;
    text-align: center;
    background-color: #ddd;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slide img {
    width: 100% ;
    height: 100%;
    display: block;
    object-fit: cover;
  }  
  
  button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
  }
  
  button.prev {
    left: 10px;
  }
  
  button.next {
    right: 10px;
  }
  
  button.prev:hover, button.next:hover {
    background-color: #0056b3;
  }
  
  
  footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #ddd;
  }
  
  footer section {
    flex: 1;
    padding: 10px;
    text-align: center;
  }
  

/* Task List Section */
#tasks {
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#tasks h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  text-align: center;
  font-weight: normal;
}

/* Task List Styling */
.task-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* task list */

.task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Task Date and Content */
.task-date {
  font-size: 0.9rem;
  color: #666;
  margin-right: 10px;
}

.task-content {
  flex-grow: 1;
  font-size: 1rem;
  color: #333;
}

/* Buttons */
.task-actions button {
  margin-left: 5px;
  padding: 5px 10px;
  font-size: 0.9rem;
  color: #fff;
  background-color: #778DA9;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.add-task-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #778DA9;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
}

.add-task-btn:hover {
  background-color: #0056b3;
  
}

.task-actions button.delete-btn {
  background-color: #32a854;
}

.task-actions button:hover {
  opacity: 0.7;
}

/* Chat Container */
.message-container {
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  background-color: #f9f9f9;
}

.message-log {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  background-color: #fff;
}

.message-log .message {
  margin-bottom: 10px;
  padding: 5px;
}

.message-log .user {
  text-align: right;
  color: #007bff;
}

.message-log .reply {
  text-align: left;
  color: #666;
}


/* Footer Navigation Styling */
/* Footer Container */
footer {
  background-color: #f9f9f9; /* Light background color */
  padding: 20px 10px; /* Add spacing */
}

.footer-container {
  display: grid; /* Use grid for precise column layout */
  grid-template-columns: 1fr 1fr; /* Two equal-width columns */
  align-items: center; /* Vertically center the content */
  max-width: 1200px; /* Optional: Center content on wide screens */
  margin: 0 auto; /* Center the footer on the page */
}

/* Footer Sections */
.footer-about,
.footer-contact {
  text-align: center; /* Center the text in each column */
}

.footer-about a,
.footer-contact a {
  text-decoration: none; /* Remove underline */
  color: #007bff; /* Link color */
  font-size: 2rem; /* Adjust font size */
  font-weight: normal; /* Optional: Add emphasis */
  transition: color 0.3s ease;
  padding-right: 5rem;
  padding-left: 5rem;
}

.footer-about a:hover,
.footer-contact a:hover {
  color: #0056b3; /* Darker link color on hover */
}
/*contact*/
/* General Reset */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Video Container */
.video-container {
  position: relative;
  height: 100vh; /* Full viewport height */
  width: 100vw; /* Full viewport width */
  overflow: hidden;
}

/* Background Video */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%; /* Ensure the video covers the container */
  min-height: 100%; /* Ensure the video covers the container */
  transform: translate(-50%, -50%);
  object-fit: cover; /* Ensures proper scaling without distortion */
  z-index: 1;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark tint overlay, muuda ainult viimast */
  z-index: 2;
}
/* Content Overlay, tekstikastid */
.content {
  position: relative;
  z-index: 2; /* Above the video */
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background, muuda ainult viimast. */
  padding: 20px;
  max-width: 600px;
  margin: auto;
  border-radius: 10px;
}

/* Form Styling */
form {
  display: flex;
  flex-direction: column;
}

form label {
  text-align: left;
  margin-bottom: 5px;
}

form input, form textarea {
  margin-bottom: 10px;
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
}

form button {
  padding: 10px;
  font-size: 1rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #0056b3;
}
/* About Us */ 

.about-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Full height of the viewport */
  background: none;
  background-image: url("img/taust.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Dark Overlay */
.about-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark tint overlay */
  z-index: 1;
}
.about-container .content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent background for text */
  padding: 20px;
  border-radius: 10px;
}

.about-container p {
  font-size: 1.4rem;
  line-height: 1.5;
}
.about-content {
  position: relative; /* Allows placement within the container */
  display: flex; /* Align items horizontally or vertically */
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center items horizontally */
  justify-content: center; /* Center items vertically */
  text-align: center; /* Center text */
  color: white; /* Text color (ensure it contrasts with the background) */
  padding: 20px; /* Add spacing around content */
}

.about-image {
  max-width: 80%; /* Adjust to prevent the image from being too large */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 20px; /* Add spacing below the image */
  border-radius: 10px; /* Optional: rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Optional: shadow for emphasis */
}

.about-text {
  font-size: 1.2rem; /* Adjust font size */
  line-height: 1.5; /* Improve readability */
  max-width: 600px; /* Limit text width */
  background-color: rgba(0, 0, 0, 0.5); /* Optional: semi-transparent background */
  padding: 10px 15px; /* Add spacing around text */
  border-radius: 5px; /* Optional: rounded corners for text box */
}