@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    width: 100%;
}

#background {
    position: fixed;
    inset: 0;
    z-index: -10;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

figure {
    position: relative;
}

figcaption {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 6px;
    margin: 0;
}

.container {
    margin: 0 auto;
    padding: 20px;
}

/* Start of Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    width: 50px;
    height: 50px;
}

/*For Menu*/
.navbar ul{
    list-style: none;
    display: flex;
    margin: 10px 0 0 0;
    padding: 0;
    text-shadow: black 0.1em 0.1em 0.2em;
}

.navbar li {
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.navbar li:hover {
    transform: translateY(-5px);
}
.navbar li a {
    color: white;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    font-size: larger;
}

.navbar a:hover {
    color: gold;
    transform: translateY(-10px);
}

/*For Sidebar*/
.navbar sidebar{
    opacity: 0;
}

.navbar sidebar a{
    color: white;
    text-shadow: black 0.1em 0.1em 0.2em;
}

.navbar sidebar a:hover{
    color: gold;
    text-shadow: none;
}
/* End of Navbar */


/* Start of Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 0;
    margin-bottom: 0;
}

.hero h1{
    color: white;
    font-size: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    margin-bottom: 0; 
}

.hero h2{
    font-family: monospace;
    color: rgb(219, 192, 36);
    font-size: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    margin-top: 0;
}

.hero .typewrite{
    overflow: visible;
    width: 600px;
    height: 40px;
}

/*Start of verse*/
/*verse box*/
.hero .verse-container{/*container .box*/
    position: relative;
    max-width: 600px;
    height: 300px;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    background-color: rgb(189, 165, 31, 0.7);
    
}

.hero .verse-container .verse-box{/*container .box .icon*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(189, 165, 31, 0.9);
    transition: 0.5s;
    z-index: 1;
    font-size: 500px;
}

.hero .verse-container:hover .verse-box{
    top: 20px;
    left: calc(50% - 40px);
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.hero .verse-container .verse-box span{
    position: absolute;
    top: 50%;
    left: 50%;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 80px;
    transition: 0.5s;
}

.hero .verse-container:hover .verse-box span{
    font-size: 35px;
}

.hero .content{
    position: absolute;
    top: 100%;
    height: calc(100% - 90px);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    transition: 0.5s;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.hero .verse-container:hover .content{
    top: 100px;
}

.hero .content h3{
    margin-top: 10px;
    padding: 0;
    font-size: larger;
    font-weight: bold;
    
}

.hero .content p{
    margin: 0;
    padding: 0;
    font-size: 17px;
}

/*End of verse*/
/* End of Hero */

/* Start of About Section */
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10rem 0;
    isolation: isolate;
    margin-top: 400px;
}

.about h1{
    color: rgb(219, 192, 36);
    font-size: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
    transition: linear 0.3s;
}

.about p{
    color: white;
    font-size: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 0;
    text-align: center;
    max-width: 600px;
    transition: linear 0.3s;
}

.about h1:hover, .about p:hover{
    transform: translateX(10px);
}
/* End of About Section */

/* Start of FORM */
#agree-text{
    font-weight: bold;
    font-size: medium;

}

.agree-container{
    display: flex;
    float: left;
    justify-content: top;
}
legend {
    font-size: 1.5em;
    font-weight: bold;
    color: gold;
    text-shadow: 2px 2px 1px rgb(22, 22, 22, 0.9);
    letter-spacing: 3px;
    transition: linear 0.3s;
    opacity: 1;
    background-color: rgba(255, 255, 255, 1);
}

legend:hover{
    transform: translate3d(10px, -5px, 0);
}

.form-container {
    max-width: 800px;
    margin: 500px auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0.8;
    border-radius: 10px;
    isolation: isolate;
}

.participate {
    display: flex;
    flex-direction: column;
}

.participate-item {
    margin-bottom: 20px;
}

label {
    font-size: 1em;
    font-weight: bold;
    color: #333;
}

.input-group {
    display: flex;
}

.input-prefix{
    display: flex;
    align-items: center;
    padding: 0 5px;
    color: #555;
    border: 1px solid #ccc;
    border-right: none;
    background-color: #fff;
    border-radius: 10px 0 0 10px;
}

input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

#amount {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.form-button{
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.form-button button{
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    color: rgb(33, 33, 33);
    background-color: gold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.form-button button:hover{
    background-color: rgba(212, 212, 212, 0.8);
}
/* End of FORM */

/* Up arrow */
#up-arrow {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: gold;
    color: black;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
}

#up-arrow span{
    font-size: 1.2em;
    font-weight: bold;
}

#up-arrow:hover {
    background-color: #555;
    color: white;
    box-shadow: 0 0 10px rgb(255, 255, 255, 0.5);
}
/*end of up arrow*/

/*Contact Section*/
#contact {
    padding: 14px 0;
    overflow: hidden;
    border-top: 1px solid #2d3748;
    background-color: rgba(255, 255, 255, 0.3);
}

.contact-container{
    position: relative;
    max-width: 1120px;
    margin: auto;
    padding: 8px;
}

.header{
    text-align: center;
    margin-bottom: 32px;
    text-shadow: 2px 2px 1px rgb(22, 22, 22, 0.9);
}

.contact-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    text-align: center;
}

.contact-container a {
    color: gold;
    font-weight: 600;
    text-decoration: none;
}

.contact-container a:hover {
    text-decoration: underline;
}

.header h2 {
    font-size: 1.125rem;
    color: gold;
    font-weight: 600;
    text-transform: uppercase;
}

.header p{
    margin-top: 8px;
    padding-bottom: 16px;
    font-size: 3.0rem;
    font-weight: 700;
    color: #f7fafc;
}
/* End of Contact Section */

/* Footer */

footer .flaticon{
    color: white;
    text-decoration: none;
    text-align: center;
    margin: 10px auto;
    justify-content: center;
    display: flex;
    font-size: 10px;
}

.footer-container {
    max-width: 80%;
    margin: auto;
    padding: 20px;
    overflow: hidden;
    text-align: center;
}

.footer-container h3{
    color: rgb(255, 255, 255);
    font-size: 20px;
    margin-bottom: 10px;
}
.footer-container a {
    color: gray;
    text-decoration: none;
    transition: color 0.1s;
}

.footer-container a:hover {
    color: white;
}

.footer-container p {
    color: rgb(255, 255, 255);
    font-size: 12px;
    margin: 0;
}

.footer-container .social-media {
    margin: 20px 0;
}

.footer-container .social-media img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 2px 2px 1px rgb(22, 22, 22, 0.9);
}

.footer-container .social-media img:hover{
    opacity: 0.7;
}
/* End of Footer */

/*Media*/
@media (max-width: 1024px) {
    .hero h1, .about h1 {
        font-size: 3em;  
    }
    .navbar sidebar{
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1, .about h1 {
        font-size: 2em;  
    }
    
    
    .hero .typewrite{
        width: 500px;
    }
    .hero .popverse{
        max-width: 400px;
    }
}

/* For mobile devices with max width 480px */
@media only screen and (max-width: 480px) {
    body {
        font-size: 0.875rem; /* Adjust font size */
    }

    .navbar {
        flex-direction: column; /* Stack navbar items vertically */
        
    }

    .navbar li {
        margin: 5px 10px; /* Adjust margin */
    }

    .hero {
        padding: 3rem 0; /* Adjust padding */
    }

    .hero h1 {
        font-size: 2rem; /* Adjust font size */
    }

    .about {
        padding: 5rem 0; /* Adjust padding */
    }

    .about h1 {
        font-size: 2rem; /* Adjust font size */
    }

    .form-container {
        margin: 200px auto; /* Adjust margin */
    }

    /* Adjust other elements as needed */
}
