﻿body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2266AA;
}

audio {
  border-top: 3px solid #2166AA;
  border-right: 3px solid #2166AA;
  border-bottom: 3px solid #EE5500;
  border-left: 3px solid #EE5500;
  border-radius: 8px;
  width: 350px;
  height: 38px;
  background: #F5F5F5;
  margin-top: -13px;
  padding: 0;
}

.audio-border {
  width: 450px;
  height: 100px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  border-top: 2px solid #2166AA;
  border-right: 2px solid #2166AA;
  border-bottom: 2px solid #EE5500;
  border-left: 2px solid #EE5500;
  border-radius: 8px;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.8s ease-in-out; /* Plynulé mizení a objevování za 0,8 s */
}

/* Tato třída rámeček s přehrávačem plynule skryje */
.audio-border.skryto {
  opacity: 0;
  pointer-events: none; /* Aby se na neviditelný přehrávač nedalo omylem kliknout */
}

.audio-nadpis {
  font-weight: bold;
  font-size: 24px;
  font-family: 'Times New Roman', Arial;
  color: #FFFFFF;
  text-align: center;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px -2px 0px #2266AA;
  font-style: italic;
}

.center {
  text-align: center;
  margin: auto;
}
