@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=New+Tegomin&family=Noto+Serif+TC:wght@200..900&family=Potta+One&display=swap');

/*
* {
  background: #000 !important;
  color: #0f0 !important;
  outline: solid #f00 1px !important;
}
*/
html body{
    margin: 0px;
    padding: 0px;
    background-color: white;
    overflow-x: hidden;
    height: 100dvh;
    min-height: 100%;
    width: 100%;
    font-size: 22px;
    
}

.main-header{
    font-family: 'Noto Serif TC';
    margin: 0;
    width: 100%;
    height: auto;
    padding: 0;
    padding-top: 1vw;
    background-image: linear-gradient(darkgreen, seagreen);
    color: rgb(240, 255, 255);
    overflow-x: hidden;
}

.pagename{
    font-family: 'Potta One';
    color: azure;
    padding-left: 2%;
    text-align: left;
    margin-bottom: 2%;
    text-decoration: none;

}

.top-right{
    float: right;
    font-family: 'Potta One';
    border: none;
    border-radius: 25px;
    color: azure;
    background-color: transparent;
    padding-left: 0.5%;
    padding-right: 0.5%;
    margin-top: 0.25%;
    margin-right: 1%;
    text-decoration: none;
    font-size: 0.75rem;
    cursor: pointer;
}

.top-right:hover{
    background-color: darkgreen;
}

.navbar{
    margin-top: -5px;
    margin-bottom: -1.25%;
    font-size: 1rem;
}

.unordered-list{
    padding-left: 0px;
    width: 100%;
    text-align: center;
}

.navbar li{
    display: inline;
    padding-left: 1%;
    padding-right: 1%;
}

.navbar a{
    color: white;
    text-decoration: none;
}

.navbar a:hover{
    color: yellowgreen;
}

                    /*First section*/

.first-image{
    float: left;
    width: 25%;
    margin-left: 8%;
    margin-top: 8%;
}

.para1{
    float: right; 
    width: 51%;
    font-size: 1.2rem;
    margin-bottom: 1%;
    margin-top: 8%;
    margin-right: 8%;
    text-align: justify;
}

section::after {
  content: "";
  display: table;
  clear: both;
}

.section-ad1{
  height: 5%;
  margin-top: 5%;
  background-image: linear-gradient(darkgreen, seagreen);

}

                    /*Second section*/

.second-image{
    float: right;
    width: 25%;
    margin-right: 8%;
    margin-top: 8%;

}

.para2{
    float: left; 
    width: 51%;
    font-size: 1.2rem;
    margin-bottom: 1%;
    margin-top: 8%;
    margin-left: 8%;
    text-align: justify;
}

section::after {
  content: "";
  display: table;
  clear: both;
}

.section-ad2{
  height: 5%;
  margin-top: 5%;
  background-image: linear-gradient(darkgreen, seagreen);

}

                    /*Third section*/

.third-image{
    float: left;
    width: 25%;
    margin-left: 8%;
    margin-top: 8%;

}

.para3{
    float: right; 
    width: 51%;
    font-size: 1.2rem;
    margin-bottom: 1%;
    margin-top: 8%;
    margin-right: 8%;
    text-align: justify;
}

.footer{
    position: relative;
    margin-top: 0px;
    height: 90px;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
    background:#2c2c2c;
    color: grey;
}

.footer ul{
    padding-left: 0px;
    margin-top: 5px;
    margin-bottom: 0px;
    list-style-type: none;
    text-align: center;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #45a049;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

@media only screen and (min-width: 600px) {/**/
  .pagename {
    font-size: 1.75rem;
  }
  .top-right {
    font-size: 1.25rem;
  }
  .navbar {
    font-size: 1rem;
  }
  .navbar li {
    padding-left: 3.2%;
    padding-right: 3.2%;
  }
  .wholebody {
    height: 83%;
  }
  .body-text {
    font-size: 1.1rem;
    margin-bottom: 0%;
    margin-top: 1%;
  }
  .images figure {
    width: 25.95%;
    margin-top: 2%;
    margin-bottom: 1%;
  }
  .description {
    font-size: 1rem;
  }
  .footer ul {
    font-size: 1.5rem;
  }
}

@media only screen and (min-width: 800px) {
  .pagename {
    font-size: 2rem;
  }
  .top-right {
    font-size: 1.5rem;
  }
  .navbar {
    font-size: 1rem;
  }
  .navbar li {
    padding-left: 3.9%;
    padding-right: 3.9%;
  }
  .wholebody {
    height: max-content;
  }
  .body-text {
    font-size: 1.2rem;
    margin-bottom: 0%;
    margin-top: 1%;
  }
  .images figure {
    width: 25.95%;
    margin-top: 2%;
    margin-bottom: 1%;
  }
  .description {
    font-size: 1.25rem;
  }
  .footer ul {
    font-size: 1.5rem;
  }
}

@media only screen and (min-width: 1000px) {
  .pagename {
    font-size: 2.5rem;
  }
  .top-right {
    font-size: 1.75rem;
  }
  .navbar {
    font-size: 1.5rem;
  }
    .navbar li {
    padding-left: 3.8%;
    padding-right: 3.8%;
  }
  .wholebody {
    height: 75%;
  }
 .body-text {
    font-size: 1.3rem;
    margin-bottom: 0%;
    margin-top: 1%;
  }
  
  .images figure {
    width: 25.95%;
    margin-top: 2%;
    margin-bottom: 1%;
  }
   .description {
    font-size: 1.9rem;
  }
  .footer ul {
    font-size: 1.5rem;
  }
}

@media only screen and (min-width: 1200px) {
 .pagename {
    font-size: 2.5rem;
  }
  .top-right {
    font-size: 1.75rem;
  }
  .navbar {
    font-size: 1.5rem;
  }
    .navbar li {
    padding-left: 3.8%;
    padding-right: 3.8%;
  }
  .wholebody {
    height: max-content;
  }
 .body-text {
    font-size: 1.3rem;
    margin-bottom: 0%;
    margin-top: 1%;
  }
  
  .images figure {
    width: 25.95%;
    margin-top: 2%;
    margin-bottom: 1%;
  }
   .description {
    font-size: 1.9rem;
  }
  .footer ul {
    font-size: 1.5rem;
  }
}

@media only screen and (min-width: 1920px) {
 .pagename {
    font-size: 2.5rem;
  }
  .top-right {
    font-size: 1.75rem;
  }
  .navbar {
    font-size: 2rem;
  }
  .navbar li {
    padding-left: 3.8%;
    padding-right: 3.8%;
  }
  .wholebody {
    height: max-content;
  }
  .body-text {
    font-size: 1.8rem;
    margin-bottom: 0%;
    margin-top: 1%;
  }
  .images figure {
    width: 25.95%;
    margin-top: 2%;
    margin-bottom: 1%;
  }
   .description {
    font-size: 1.9rem;
  }
  .footer ul {
    font-size: 1.5rem;
  }
}
