*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root{
    /* fonts  */
    --outfit: "Outfit", serif;


    /* colors  */
    --green: #33FF57;
}
html{
    font-size: 62.5%;
}
.btn{
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.4s;
}
/* General Styles */
body {
    font-family: var(--outfit);
    background-color: #f4f4f4;
    color: #333;
}

.header {
    /* background-color: #4CAF50; */
    background: linear-gradient(to right, #FF8C00, #FFD700);
    color: white;
    padding: 5rem 2rem;
}
.header .title{
    width: 50%;
    margin: 0 auto;
    text-align: center;
}
.header .title h1 {
    font-size: 3rem;
}
.header .title p{
    font-size: 1.7rem;
}
.container{
    padding: 100px;
}
.home{
    padding: 2rem;
}
.home h2{
    font-weight: 500;
    color: #222;
    font-size: 2.7rem;
}
.section{
    width: 80rem;
    margin: 2rem auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


#input-section h2, #output-section h2 {
    color: #333;
}
.section form{
    width: 100%;
}
form .input-group{
    margin: 1.5rem 0;
    width: 100%;
}
form label {
    font-size: 1.7rem;
    margin-bottom: 5px;
    display: block;
}

form input, form select, form button {
    width: 100%;
    padding: 1rem;
    height: 5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.6rem;
    color: gray;
}

form button {
    background:var(--green);
    color: white;
    font-size: 1.7rem;
    cursor: pointer;
    margin-bottom: 2rem;
}

form button:hover {
    background: linear-gradient(to right, #FF8C00, #FFD700);
}
form .box{
    margin: 2rem 0;
}
form p{
    text-align: center;
    font-size: 1.6rem;
    color: gray;
    font-weight: 400;
    margin: 1.5rem 0;
}
#output-section{
    padding: 2rem;
}
.output-content {
    margin-top: 20px;
    padding: 20px;
    background-color: #eef2f4;
    border-radius: 4px;
    display: none; /* Hidden initially */
}
.output-content h3{
    font-size: 2rem;
    color: #222;
    text-transform: capitalize;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.output-content h4{
    font-size: 1.7rem;
    font-weight: 500;
    color: #222;
    text-transform: capitalize;
    margin-bottom: 1.5rem;
}
.output-content p{
    font-size: 1.7rem;
    color: gray;
    font-weight: 400;
}
.output-content ul{
    margin: 1rem 0;
    list-style: none;
}
.output-content ul li{
    margin: 1rem 0;
    font-size: 1.7rem;
    color: gray;
    font-weight: 400;
}
.printBtn{
    width: 15rem;
    padding: 1rem;
    background: linear-gradient(to right, #FF8C00, #FFD700);
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    text-transform: capitalize;
    border-radius: 20px;
    display: inline-block;
    margin: 2rem 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.text {
    text-align: center;
    width: 50%;
    margin: 1rem auto;
}
.text p{
    font-size: 1.7rem;
    font-weight: 400;
    color: gray;
    margin: 1.5rem 0;
}
.text .links{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.text .links a{
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 400;
    color: dodgerblue;
    transition: 0.4s;
}
.text .links a:hover{
    text-decoration: underline;
}

.share{
    width: 50%;
    margin: 0 auto;
}
.share h3{
    font-size: 2rem;
    color: #222;
    font-weight: 500;
    text-transform: capitalize;
}
.share .input-group{
    width: 100%;
    display: flex;
    align-items: center;
    height: 5rem;
    margin: 1rem 0;
}
.share .input-group input{
    width: 100%;
    padding: 1rem;
    height: 100%;
    border: 1.5px solid #ddd;
    font-size: 1.5rem;
    color: gray;
    outline: none;
}
.share .input-group .btn{
    width: 10rem;
    height: 100%;
    background: linear-gradient(to right, #FF8C00, #FFD700);
    color: #fff;
    font-size: 1.7rem;
    font-weight: 500;
    cursor: pointer;
}


footer {
    text-align: center;
    padding: 2rem;
    background-color: #333;
    color: white;

}
footer .copyright-text{
    font-size: 1.5rem;
    color: #eee;
    font-weight: 400;
}
footer .social-icons{
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
footer .social-icons a{
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255,.2);
    font-size: 1.7rem;
    color: var(--green);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: 0.4s;
}
footer .social-icons a:hover{
    transform: scale(1.1);
}
footer .links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}
footer .links a{
    font-size: 1.5rem;
    color: gray;
    font-weight: 400;
    text-transform: capitalize;
}
.section h2{
    color: #222;
    font-size: 2rem;
    font-weight: 500;
}

.modal{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    height: auto;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    border-radius: 5px;
    z-index: 100;
    padding: 2rem;
    display: none;
    justify-content: center;
    align-items: center;
}
.modal.active{
    display: flex;
}
.modal .close{
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    color: tomato;
    cursor: pointer;
    transition: 0.4s;
}
.modal .modal-content{
    text-align: center;
}
.modal .modal-content span{
    font-size: 5rem;
    color: var(--green);
    font-weight: 500;
}
.modal .modal-content h4{
    font-size: 2rem;
    color: #222;
    font-weight: 500;
    text-transform: capitalize;
}
.modal .modal-content p{
    font-size: 1.7rem;
    color: gray;
    font-weight: 400;
    line-height: 2.5rem;
    margin: 1.5rem 0;
}



@media (max-width:1200px) {
    .header .title{
        width: 60%;
    }
    .section{
        width: 100%;
    }
    .text{
        width: 70%;
    }
    .share{
        width: 70%;
    }
    .modal{
        width: 50%;
    }
}
@media (max-width:768px) {
    html{
        font-size: 58.5%;
    }
    .header .title{
        width: 100%;
    }
    .container{
        padding: 50px;
    }
    .text{
        width: 100%;
    }
    .share{
        width: 80%;
    }
    .modal{
        width: 70%;
    }
}

@media (max-width:500px) {
    .container{
        padding: 30px;
    }
    .modal{
        width: 80%;
    }
}