body{
    margin:0;
    box-sizing: border-box;
    font-family: 'Noto Sans TC', sans-serif;
    
}

/* header design */
header {
    display: block;
}

#nav-bar {
        position: fixed;
        padding-top: 4px;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 100%;
        background: rgb(177, 221, 232);
        z-index: 1000;
}

.header-img {
    height: 80px;
    text-align: center;
    max-width: 10%;
    min-height: auto;
    padding-bottom: 10px;
}

@media (max-width: 768px) { 
  .header-img {
    height: 39px;
}
}

.nav-link {
    text-decoration: none;
    color:black;
}

ul {
    display: flex;
    text-align: center;
}

li {
  list-style-type: none;
  padding-right: 50px;
  font-size: 14px;
}

@media (min-width: 376px) {
li {
    list-style-type: none;
    padding-right: 50px;
    font-size: 20px;
}
}

@media (min-width: 350px) and (max-width: 400px)  { 
  li {
    list-style-type: none;
    padding-right: 50px;
    font-size: 14px;
  }
}

a:hover {
    color: rgb(48, 45, 246);
}

a:active {
    color: rgb(48, 45, 246);
}

.NAUI-diving {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 180px;
    padding-bottom: 80px;
    background-image: linear-gradient(#76b6c4, #064273);
}

.NAUI-h1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border: 3px solid #fff;
    border-radius: 50px ;
    height: 100px;
    width: 930px;
    color: #fff;
    background-color: #064273;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .NAUI-h1 {
     height: 120px;
     width: 335px;
 }
}

.footer-p {
    text-align: center;
    font-size: small;
}

.fa-address-card{
    color: #fff;
}


.address-card {
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}

.card-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 50px;
    color: #000;
    width: 500px;
    margin: 20px;
}

@media (max-width: 768px) {
    .card-1 {
    display: flex;
    flex-direction: column;
    align-items:flex-start;
     width: 335px;
 }
}

.card-1 div {
    margin: 15px;
}

.courses {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items:flex-start;
    list-style-type: square;
    margin-top: 0;
}

.courses-li {
    list-style-type: square;
    font-size: 16px;
}

.courses-s {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items:flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
}

iframe {
    margin: 0.5px;;
}

@media (max-width: 768px) {
    iframe {
     width: 335px;
     height: 240px;
 }
}