html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: url('../media/background111.jpg') no-repeat center fixed; 
  background-size: cover;
  font-family: Tahoma, sans-serif;
  color: rgb(255, 255, 255);
  font-size: 100%;
  background-color: black;
}

body {

  opacity: 0;
  transition: opacity 0.5s ease;
}
/* #ajanlas {
  height: 71vh;
} */
#cim {
  text-align: center;
}

iframe {
  border:none;
}

.fade-out {
  opacity: 0;
}

#bev {
  display: block;
  margin: 0 auto;
}

.cim {
  text-align: center;
}

#bevezeto {
  margin-left: 100px;
  margin-right: 100px;
}
img {
  border-radius: 20px;
}

.thumbnail {
  width: 500px;
  height: auto;      
  box-shadow: 0 2px 5px rgba(0,0,0,0.3); 
  cursor: pointer;
  transition: transform 0.2s ease;
}

.thumbnail:hover {
  transform: scale(1.05);
}

p {
  text-align: justify;
  font-size: 100%;
}

h3 {
  font-size: 130%;
  margin-top: 15px;
}

footer { 
  padding: 20px;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;    
  text-align: center; 
  background: rgba(255, 254, 254, 0.2);
}

.navbar {
  background-color: rgba(255, 254, 254, 0.2) !important;
}

.navbar a {
    margin-right:50px; 
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar a:last-child {
  margin-right: 0 !important;
}

.navbar .nav-link {
  color: rgb(255, 0, 0);
  transition: color 0.2s, opacity 0.2s;
  font-weight: bold;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: rgb(255, 255, 255);
  opacity: 1;
  font-weight: bold;
}

a:visited {
  color: red;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: #00000000;
  border-radius: 10px;
  font-weight: bold;
}

.form-container label {
  margin-bottom: 2px;
}

.form-container textarea,
.form-container input[type="text"],
.form-container input[type="email"] {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
}

.radio-group {
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
  align-items: center;
}

.radio-group legend {
  margin-bottom: 0.5rem;
  width: 100%;
  font-size: 100%;
  margin-right: 0;
  padding-right: 0;
}

.radio-group label {
  display: flex;
  align-items: center;

}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.checkbox-group input {
  margin-left: 15px;
}

.car-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  align-items: start;
  margin-bottom: 5rem;

  background-color: rgba(255, 254, 254, 0.2);
  border-radius: 15px;

  padding: 1rem 2rem;
  margin-left: -1rem;
  margin-right: -1rem;
  box-sizing: border-box;
}
.car-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  grid-column: 1;
  grid-row: 1;
}

.car-image {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: center;
  align-self: center;
}

.car-video {
  grid-column: 1 / span 2;
  justify-self: center;
  margin-top: 2rem;
}

.thumbnail {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table thead th {
  position: relative;
  padding-bottom: 0.7em;
}

table thead th::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%; 
  border-bottom: 2px solid #ccc;
}

summary {
  font-weight: bold;
  margin-bottom: 0.5em;
}

aside {
  font-style: italic;
  font-size: 90%;
}

table caption {
  caption-side: top;
  font-weight: bold;
  font-size: 1.1rem;
  padding-bottom: 0.5rem;
  text-align: left;
  color: Red;
}

figcaption {
  font-style: italic;
  text-align: center;
  margin: 15px;
}

p, li, label, input, textarea {
  font-family: Verdana, sans-serif;
  font-size: 1rem;
}