@font-face{
    font-family: irish;
    src: url(irish.ttf);
}

body {
    margin: 0;
    padding: 0;
    background: #02312b;
}

/*programming for navigation bar.*/
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;

}

nav {
    position: fixed;
    width: 100%;
    height: 75px;
    line-height: 75px;
    padding: 0px 100px;
    position: fixed;
    background-image: linear-gradient(rgb(24, 99, 6),
    rgb(2, 32, 2) );
    z-index: 9000;
}


nav .logo p {
    font-family: irish;
    font-size: 30px;
    float: left;
    color: white;
    letter-spacing: 1.5px;
    cursor: pointer;
}


nav ul {
    float: right;
}

nav li {
    display: inline-block;
    list-style: none;
}

nav li a{
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
    padding: 0px 30px;
    color: white;
}

nav li a:hover{
    color: rgb(236, 135, 40);
    transition: all 0.4s ease 0s;
}
.dropbtn {
  display: none;
}


/*media queries for the navigation bar*/
@media screen and (max-width: 1170px) {
  nav {
      padding: 0 20px; /* Adjust padding for smaller screens */
  }

  nav .logo p {
      font-size: 24px; /* Adjust font size for smaller screens */
  }

  nav li a {
      font-size: 14px; /* Adjust font size for smaller screens */
  }

}

/* Media query for smaller screens */
@media screen and (max-width: 900px) {
  nav {
      padding: 0 20px; /* Adjust padding for smaller screens */
  }

  nav .logo p {
      font-size: 24px; /* Adjust font size for smaller screens */
  }

  nav ul {
      display: none; /* Hide the navigation links by default */
      position: absolute;
      top: 75px; /* Adjust based on the height of the navbar */
      background-color: rgb(0, 114, 41);
      width: 100%;
      text-align: center;
      z-index: 1000;
  }

  nav ul li {
      display: block;
  }

  nav ul li a {
      display: block;
      padding: 20px 0;
      color: white;
  }

  .dropbtn {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: solid 5px black;
  }

  .dropdown {
    position: relative;
    display: block;
  }

  .dropdown .dropbtn {
    float: right;
    display: block;
    line-height: 33px;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }

  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }

  .dropdown-content a:hover {background-color: #ddd;}

  .dropdown:hover .dropdown-content {display: block;}

  .dropdown:hover .dropbtn {background-color: black;}

}
/*header*/
h2 {
    color: white;
    position: absolute;
    font-size: 30px;
    top: 85px;
    margin: 30px;
    padding: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.alltables {
    position: relative;
    top: 135px;
    display: flex;
    justify-content: space-around;
}
/*media query for the number tables*/

@media screen and (max-width: 1200px){
    .alltables{
        position: relative;
        top: 170px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    table{
        margin: 20px;
    }
}

table {
    border-collapse: collapse;
    color: white;
    background-color: #4CAF50; /* Irish green background color */
    border-radius: 5px;
    font-weight: bold;
    font-family: sans-serif;
    margin: 20px;
}

th, td {
    border: 3px solid #FFD700; /* Gold border */
    padding: 15px;
    text-align: center;
}

th {
    font-weight: bold;
    background-color: #008000; /* Dark green header background color */
    color: #FFD700; /* Gold header text color */
}

tr:nth-child(even) {
    background-color: #006400; /* Dark green alternate row background color */
}

tr:hover {
    background-color: #006400; /* Dark green hover color */
    color: #fff;
}

.pronunciation{
    font-weight: 100 !important;
    font-style: italic;
}

/*header for clocks*/

h3 {
    position: relative;
    color: white;
    top: 170px;
    font-size: 30px;
    margin: auto 20;
    text-align: center;
}

/*clocks*/

.clocks {
    position: relative;
    top: 190px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    color: white;
    justify-content: space-around;
    align-items: flex-end
}

.clockbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clocks p {
    font-size: 20px;
    padding: 5px 0px 10px 0px;
    margin: 0 auto;
}

.clockbox img{
    width: 200px;
    height: auto;
    border-radius: 50%;
}

/*center vocabulary chart*/
#vocabTitle{
    top: 200px;
}
#vocab-charts{
        position: relative;
        top: 200px !important;
        margin: 0 auto;
        align-self: flex-start; /* Adjust this based on your needs */
    }

#exampleClocks{
    top: 220px;
}