@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Parkinsans:wght@300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Parkinsans:wght@300..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: white;
    display: flex;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 3;
    border: 0px solid;
    box-shadow: 0 1px 15px rgb(149, 148, 148);
}

#logo {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color:  #410975;
    font-size: 2.8em;
    text-decoration: none;
    margin-left: 0.5em;
    flex: 2;
    padding-top: 10px;
}

nav {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-items: center;
}

.links-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav a {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: black;
    text-decoration: none;
    flex: 4;
    font-size: 1.2em;
}

nav a:hover {
    background-color: rgba(72, 70, 70, 0.645);
}

.head {
    font-family: "Parkinsans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    color: #11b535;
    font-size: 4em;
    margin: 1em;
    margin-top: 1.5em;
    
}

#sidebar-active {
    display: none;
}

.open-sidebar-button,
.close-sidebar-button {
    display: none;
}


.content {
    font-family: "Crimson Text", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1em;
    margin: 1em;
    padding-left: 10%;
    padding-right: 10%;
    
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    padding-bottom: 0;
}

.illustration-1 {
    flex: 1;
    padding-right: 20px;
}
.illustration-2 {
    flex: 1;
    padding-right: 20px;
}
.illustration-3 {
    flex: 1;
    padding-right: 20px;
}
.hero-image {
    width: 100%;
    max-width: 500px;
}

.content {
    flex: 2;
}

.content h1 {
    font-family: Arial, sans-serif;
    font-size: 2rem;
    color: #222;
    margin-bottom: 20px;
}

.content p {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 20px;
}

.content-1 {
    flex: 2;
}

.content-1 h1 {
    font-family: Arial, sans-serif;
    font-size: 2rem;
    color: #222;
    margin-bottom: 20px;
    padding-right: 20px;
}

.content-1 p {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 20px;
    padding-right: 20px;
}

.works{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#topic{
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 2em;
    flex-basis: 100%;
    text-align: center;
    margin-top: 50px;
}

.subdiv{
    width: 25em;
    height: auto;
    box-shadow: 0 5px 15px rgb(79, 79, 79);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
    margin: 60px;
    margin-top: 40px;
    border-radius: 10px;
  
}

.work-box p{
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 2em;
}

.subdiv img{
    width: 100%;
    height: auto;
    
}

.overlay {
    position: absolute;
    top: -100%; 
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgb(114, 176, 221),rgb(178, 50, 238));
    display: flex;
    justify-content: center;
    align-items: center;
    color:white;
    font-size: 1.5em;
    transition: top 0.5s ease-in-out;
}

.overlay p{
    width: 90%;
    font-family: "Crimson Text", serif;
    font-weight: 400;
    font-style: normal;
}
.subdiv:hover .overlay {
    top: 0; 
}

.register-area{
    padding: 20px;
    text-align: center;
}

#register-button{
    height: 60px;
    width: 180px;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 2em;
    background-color: #11b535;
    color: white;
    border: 0;
    box-shadow: 0 5px 15px rgb(79, 79, 79);

}

#register-button:hover{
    transform: translateY(+5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2)
}

.overlay1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px); 
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup {
    background: linear-gradient(rgb(126, 8, 169),rgb(50, 90, 155));
    padding: 20px;
    border-radius: 10px;
    width: 70%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.popup h2 {
    color: white;
    margin: 0;
    font-size: 1.5em;
    text-align: center;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 0px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 48px; 
    height: 48px;
}

.close-button svg {
    color: white;
    width: 50px;
    height: 100%;
    border-radius: 20px;
}

.close-button svg:hover{
    background: rgba(255, 255, 255, 0.788);
}

.toast {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(126, 125, 125, 0.833);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-size: 1em;
    display: none; 
    opacity: 0;
    transition: opacity 1s ease-in-out; 
}

.toast.show {
    display: block;
    opacity: 1;
}



.popup form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-row label {
    color:white;
    text-align: left;
    margin-right: 10px;
    font-weight: bold;
    padding-left: 40px;
}

.form-row input {
    width: 35%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 40px;
}


input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.popup button {
    width: 100px;
    padding: 10px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    border-radius: 20px;

}

.popup .submit-button {
    background-color: white;
    color: black;
    box-shadow: 0 5px 15px rgb(79, 79, 79);

}

.submit-button:hover{
    background-color: #50df6f;
    color: white;
}

.popup .clear-button {
    background-color: white;
    color:black;
    box-shadow: 0 5px 15px rgb(79, 79, 79);

}

.clear-button:hover{
    background-color: rgb(199, 31, 31);
    color: white;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.overlay1.active {
    display: flex;
}

.contact-us {
    font-family: 'Arial', sans-serif;
    color: #222;
    background-color: #ffffff;
    line-height: 1.6;
    padding: 20px;
    margin-top: 40px;
}
.wrapper {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;

}

.contact-top {
    margin-bottom: 40px;
}

.contact-top h1 {
    font-size: 2.5rem;
    color: orange;
}

.header .tagline {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.contact-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 280px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.contact-card h2 {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

.contact-link {
    font-size: 1rem;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.contact-link:hover {
    text-decoration: underline;
}

.address {
    color: #410be0;
    font-size: 0.9rem;
}

.follow {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #555;
}

.follow p {
    margin-bottom: 10px;
}

.social-links a {
    margin: 0 10px;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #0056b3;
}
footer{
    background-color: black;
    color: #ffffff;
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}
@media(max-width:550px) {

    .links-container {
        flex-direction: column;
        align-items: flex-start;

        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        height: 100%;
        width: 300px;

        background-color: rgb(255, 255, 255);
        bottom: 100%;
        box-shadow: -5px 0 5px rgb(0, 0, 0, 0.25);
        transition: 0.75s ease-out;
    }

    nav a {
        box-sizing: border-box;
        height: 50px;
        max-height: 50px;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;

    }

    .open-sidebar-button,
    .close-sidebar-button {
        padding: 20px;
        display: block;

    }

    #sidebar-active:checked~.links-container {
        right: 0;
    }

    .head{
        margin-top: 2em;
    }

    #sidebar-active:checked ~ #overlay-1{
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;

    }

    .toast{
        font-size: 0.7em;
    }

}

@media(max-width:550px) {
    .form-row label {
        padding-left: 20px;
    }

    .form-row input {
        margin-right: 20px;
    }

    .popup{
        width: 80%;
        padding: 10px;
    }

}


@media screen and (max-width:650px) {
    .head {
        font-size: 3em;
    }
} 

@media screen and (max-width:400px) {
    .head {
        font-size: 2.5em;
    }
} 

@media(max-width:550px){
    .subdiv{
        width: 20em;
    }
    .overlay{
        font-size: 1.3em;
    }
}

@media (max-width: 600px) {
    .container{
        background-color: #f9f9f9;
        border-radius: 0;
        box-shadow: 0 0 0;
    }

    .hero {
        flex-direction: column; 
        margin-top: 20px;
        padding: 20px;
        border-radius: 10px; 
        overflow: hidden; 
        background-color: rgb(130, 244, 139); 
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    }

    .illustration-1, .illustration-2, .illustration-3 {
        padding-right: 0; 
        margin-bottom: 20px; 
        flex: none; 
        border-radius: 10px; 
        overflow: hidden; 
    }
    .content, .content-1 {
        flex: none;
        padding: 15px;
    }

    .content h1, .content-1 h1 {
        font-size: 1.5rem; 
        margin-bottom: 15px;
    }

    .content p, .content-1 p {
        font-size: 0.9rem; 
        line-height: 1.4;
    }
}