:root {
    --color-hover: #ff6c00;
    --main-color: #ffffff;
    --title-item: #9da4bd;
    --color-text: #303030;
    --title-text-item: #555555;
  }
  body {
    font-family: "Open Sans", sans-serif;
    background-color: var(--main-color);
  }
  /* nool */
  h1,
  h2,
  h3,
  h4,
  p {
    margin-top: 0;
    margin-bottom: 0;
  }
  ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
  }
  a {
    text-decoration: none;
  }
  img {
    display: block;
    width: 100%;
    height: auto;
  }
  html {
    scroll-behavior: smooth;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
   
    margin-left: auto;
    margin-right: auto;
  }
   .math_sec{
    background-color: #dbe04c;
   padding-bottom: 30px;
   padding-top: 30px;
}
  header {
    background-color: #6ccae4;
    padding-top: 40px;
    padding-bottom: 40px;
}
  
.menu {
        
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }
  .math_list {
    text-align: center;
    text-transform: uppercase;
    font-weight: 300px;
    font-size: 150px;
  }
  /* ==================mobile============== */
  @media screen and (max-width: 480px) {
    .container {
      width: 428px;
    
    }
    .math_list {
      
        font-size: 50px;
      }
   

  
   
    
    
     
}
.title {
    text-align: center;
    font-weight: 300;
    font-style: italic;
    color: rosybrown;
    margin-bottom: 20px;
   
  }
.menu_list {
   
    border: 2px solid red;
    
    padding: 10px;
    border-radius: 10px;
    background-color: #58bd3f;
  }
@media screen and (min-width: 768px) {
    .container {
      width: 720px;
   
    }
   
}  
@media screen and (min-width: 1200px) {
    .container {
      width: 1200px;
  
    }}




.list {
    color: tomato;
    text-align: center;
    font-size: 50px;
    
}
.schedule {
   
    font-size: 20px;
    line-height: 1.5;
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;

}
.shedule_item {
    flex-basis: calc(100% /3 - 20px);
    /* margin-right: 3px;
    margin-bottom: 20px; */
    text-align: left;
    font-weight: 500;
    color: #333;    
    /* border: 1px solid #773bb9; */
    padding: 10px;
    border-radius: 20px;
    background-color: #92eaf1;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15));
}

.time_box {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
}
.time {

    border: 1px solid red;
    padding: 10px;
    border-radius: 20px;
    background-color: rgb(228, 164, 164);
    /* display: flex;
    gap: 60px;
    justify-content: center; */
}
/*===========================  time============ */

.clock-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  }
  
  .clock {
    position: relative;
    width: 300px;
    height: 300px;
    border: 5px solid #222;
    border-radius: 50%;
    background: #fafafa;
    box-shadow: 0 2px 4px rgba(0,0,0,.2) inset;
  }
  
  .pivot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #222;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }
  
  .hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(0deg);
    border-radius: 3px;
  }
  .hand.hour {
    width: 6px;
    height: 90px;
    background: #222;
    z-index: 4;
  }
  .hand.minute {
    width: 4px;
    height: 120px;
    background: #222;
    z-index: 5;
  }
  .hand.second {
    width: 2px;
    height: 140px;
    background: #d02626;
    z-index: 6;
  }
  .watch_list {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  .label {
    text-align: center;
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
  }
  
  .number {
    position: absolute;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    transform: translate(-50%, -50%);
  }
  
  .minute-label {
    position: absolute;
    font-size: 14px;
    color: #444;
    transform: translate(-50%, -50%);
  }

  /*============= watch 2  ====== */

.digital-clock{
  width:300px;
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#000;
  color:#00ff88;
  font-size:48px;
  font-weight:700;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.15);
  user-select:none;
  cursor:pointer;
}
.digital-date{
  font-size:20px;
  font-weight:500;
  color:#333;
}
#speakBtn{padding:10px 20px;font-size:16px;border-radius:8px;cursor:pointer}

  .word-line {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 90px;
    margin-bottom: 20px;
  }

  
  
  /*      */
  
  .letter {
    font-size: 90px; /* Увеличение размера букв в 3 раза */
    display: inline-block;
    transition: font-size 0.3s;
  }
  
  .full-word {
    font-size: 60px; /* Размер всего слова */
  }
  

  
  /* ==-=--==--== */
  
 .book {
    text-align: center;
    font-weight: 400;
    margin-top: 60px;
    margin-bottom: 60px;
   
   

.book_list {
    font-size: 30px;
    color: tomato;
    padding: 20px;
    border: 2px solid red;
    border-radius: 20px;}
}
.book_list:hover {
    background-color: #58bd3f;
  }


  /* yds */
  .yds {
    text-align: center;
    font-weight: 300;
    font-style: italic;
    color: rosybrown;
    margin-bottom: 20px;
    margin-top: 30px;
  }

  .yds_titel {
    font-size: 30px;
    color: tomato;
    padding: 20px;
    border: 2px solid red;
    border-radius: 20px;
    margin-bottom: 20px;
  }
/* розклад */
.bell {
 
    font-weight: 300;
    font-style: var(--color-hover);
    color: rgb(53, 109, 45);
    margin-bottom: 20px;
    margin-top: 30px;
    margin-left: 40px;
    }
.it {
    text-align: center;
    border: 1px solid rgb(238, 238, 32);
    padding: 10px;
    border-radius: 20px;
}

.bell > li {
    margin-bottom: 10px;
    font-size: 20px;

}

 


  /* overlay */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #9b7aae;
    z-index: 100;
    transition: opacity 2000ms ease, visability 2000ms ease;
  }
  .overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .modal {
    padding: 36px 40px;
    /* width: 538px; */
    background: var(--hero);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-y: scroll;
    max-height: 80vh;
    background-color: #fff;
    align-items: center;

  }
  
  .modal-btn-close {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 20px;
    margin-right: 20px;
    background-color: transparent;
    border: none;
    transition: transform 500ms linear;
  }
  .modal-btn-close:hover,
  .modal-btn-close:focus {
    transform: scale(1.5);
    box-shadow: 0px 0px 8px -1px #5e3174;
  }

