body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #021d3c;
    min-height: 90vh;
    animation: fade-in 0.5s ease-out forwards;
}

body::before{
    content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    background-image: url("Images/bg.jpeg");
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
}

.info_sec{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header{
    width: 100%;
    height: 30vh;
    color: white;
    font-size: 13vh;
    font-weight: bold;
    font-family: 'Kanit', sans-serif;
    text-align: center;
    padding-top: 0;
    margin-bottom: 10px;
    padding-bottom: 0;
    margin-top: 0;
    animation: float-up 1s ease-out forwards, fade-in 1s ease-out forwards;
}

p {
    transition: transform 0.3s ease-out;
}

h1 {
    transition: transform 0.3s ease-out;
}

p:hover{
    transform: scale(1.2);
    padding-top: 0;
    padding-bottom: 0;
}

h1:hover{
    transform: scale(1.2);
    padding-top: 0;
    padding-bottom: 0;
}

.nav_bar{
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 2vh;
    left: 1vw;
    margin-left: 5vw;
    margin-top: 2vh;
}

.nb_weather{
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out;
    padding: 0;
}

.nb_weather:hover {
    transform: scale(1.3);
    padding-top: 0;
    padding-bottom: 0;
}

#clock{
    width: 20vw;
    font-size: 35px;
    color: white;
    text-align: center;
    font-family: 'Kanit', sans-serif;
    transition: transform 0.3s ease-out;
}

#clock:hover{
    transform: scale(1.3);
    padding-top: 0;
    padding-bottom: 0;
}

#weather {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    color: white;
    font-size: 25px;
    font-family: 'Oxygen', sans-serif;
    text-align: center;
    font-style: italic;
    padding: 10px;
    animation: float-down 1s ease-out forwards;
}

#weather img{
    margin-left: 20px;
    height: 30px;
    object-fit: cover;
}

#quote-refresh{
    margin-top: 0;
    height: 60px;
    filter: invert(100%) sepia(0%) saturate(1%) hue-rotate(257deg) brightness(105%) contrast(101%);
}

img{
    transition: transform 0.3s ease-out;
}

.quote-sec img:hover{
    transform: scale(1.3);
    padding-top: 0;
    padding-bottom: 0;
}

.quote-sec button{
    background: none;
    border: none;
}


.dropdown {
    display: inline-block;
    margin-top: 13px;
    margin-left: 10px;
}

/* Style the dropdown button */
.dropdown-button {
    background-color: #f1f1f1;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    border-color: white;
    border-radius: 5px;
    border-width: 6px;
    color: #333;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    font-family: 'Kanit', sans-serif;
    z-index: 1;
    background-color: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    min-width: 160px;
    border-radius: 5px;
    padding: 10px;
}

/* Style the dropdown links */
.dropdown-content a {
    color: #333;
    padding: 5px 10px;
    text-decoration: none;
    display: block;
}

/* Add a hover effect to dropdown links */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Add an arrow to the dropdown button */
.dropdown-button::after {
    content: "\25BC";
    font-size: 10px;
    margin-left: 5px;
}

.whiteBox {
    width: 30vw;
    height: 2px;
    background-color: white;
    animation: stretch 1s ease-out forwards;
}

.right-side {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: 'Kanit', sans-serif;
    width: 400px;
}

/* Basic Button Styles */
.ass-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid #3498db; /* Border color */
    color: #3498db; /* Text color */
    border-radius: 4px; /* Rounded corners */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition effect */
    margin-right: 20px;
}

/* Hover State */
.ass-button:hover {
    background-color: #3498db; /* Background color on hover */
    color: #ffffff; /* Text color on hover */
}

/* Additional Styling (Optional) */
.ass-button:active {
    transform: translateY(1px); /* Add a subtle press effect when clicked */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

.googleSearchbar{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.googleSearch{
    border: none;
    border-bottom: 5px solid white;
    background-color: transparent;
    animation: searchStretch 1s ease-out forwards;
    color: rgb(225, 238, 255);
    font-size: 40px;
    margin-left: 10px;
}

.googleSearch:focus{
    outline: none;
}

.googleSearchIcon{
    width: 70px;
    height: 70px;
    background-color: transparent;
    border: none;
}

.googleSearchIcon img{
    width: 100%;
    object-fit: cover;
}

.quote-sec{
    width: 60%;
    color: white;
    font-family: 'Kanit', sans-serif;
    animation: float-down 1s ease-out forwards, fade-in 1s ease-out forwards;
    transition: transform 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote-quote{
    font-weight: 100;
    text-align: center;
}

.quote-author{
    text-align: center;
    font-weight: 400;
    font-style: italic;
    font-size: 25px;
}

/* Animations */
@keyframes stretch {
    0% {
      width: 0;
      height: 3px;
    }
    100% {
        width: 70vw;
        height: 3px;
    }
}

@keyframes searchStretch {
    0% {
      width: 0;
      height: 70px;
    }
    100% {
        width: 20vw;
        height: 70px;
    }
  }

@keyframes float-up {
    0% {
        transform: translateY(20%);
        opacity: 0;
    }
    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes float-down {
    0% {
        transform: translateY(-20%);
        opacity: 0;
    }
    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}