html {scroll-behavior: smooth; scroll-padding-inline: 1;}
a, div, section { transition: all 2s ease-out;}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 30px;
  font-family: Arial, sans-serif;
  background: #f1f1f1;
  color: #222;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
}

.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.video-box {
  background: #ffffff;
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.video-box h2 {
  margin-top: 0;
  text-align: center;
}

.video-player {
  width: 100%;
  display: block;
  background: #000;
  border-radius: 10px;
}

.controls {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.controls button {width: 30%;
  padding: 10px 7px;
  border: none;
  border-radius: 7px;
  box-shadow: 0px 0px 7px #000;
  color: #007;
  font-size: 1em;
  cursor: pointer;
}

.controls button:hover {
  background: #0d47a1;
}

.progress-area {
  margin-top: 15px;
}

.progress {
  width: 100%;
  cursor: pointer;
}

.info {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}

.info strong {
  color: #1976d2;
}
a:link {display: grid; width: 51%; padding: 7px; text-align: center; background: #ddd; color: #000; margin: 14px auto; border-radius: 20px; text-decoration: none; box-shadow: 0px 0px 7px #000;}
@media only screen and (max-width: 1020px) {
.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90%, 1fr));
  gap: 25px;
}
.controls button {width: 30%;
  padding: 30px 13px;
  border: none;
  border-radius: 7px;
/*  background: #1111976d2*/;
  color: #000;
  font-size: 3em;
  cursor: pointer;
}
a:link {font-size: 3em; padding: 10px; border-radius: 50px; margin: 40px auto; box-shadow: 0px 0px 7px #000;}
p, h2 {font-size: 3em;}
h2 {color: red;}
.controls button {font-size: 4em;}
.progress-area {margin-top: 15px;
}

.progress {margin: 50px 0px; min-height: 50px;
  width: 100%; 
  cursor: pointer;
}
.progress-area {}
.info {padding: 50px 0px; font-size: 3em;}
}
