* {
    color: white;
    line-height: 20px;
    letter-spacing: 1px;
    word-spacing: 2px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.anav {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 700;
    color: rgb(253, 206, 206) !important;
    text-decoration: none;
    text-shadow: 2px;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 20px;
    letter-spacing: 1px;
    word-spacing: 2px;
}

p {
    letter-spacing: 0.06em;
    word-spacing: 0.1em;
    line-height: 1.4em;
}

.anav:hover {
    color: rgb(227, 79, 38) !important;
    text-shadow: 1px 1px 2px brown, 0 0 1em blue, 0 0 0.2em blue;
}

body {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background: linear-gradient(to right, rgb(6, 6, 134), rgb(0, 0, 64), purple);
}

#home {
    padding-bottom: 10px;
}

fieldset {
    width: 50%;
    margin: 0 auto;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 8px;
}

legend {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: rgb(227, 79, 38);
}

.form input[type="text"],
.form input[type="email"],
.form input[type="textarea"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f5f5f5;
    color: #333;
    font-size: 1em;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.form input::placeholder {
    color: #999;
}

.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form input[type="textarea"]:focus {
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
    background-color: rgb(214, 197, 197);
}

.form input[type="button"] {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
}

.form input[type="button"]:hover {
    background-color: #45a049;
}

.contact {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
}

#socialMedia i:hover {
    box-shadow: 0 0 15px 5px rgba(227, 79, 38, 0.8);
    transform: scale(1.3);
}

#socialMedia i {
    font-size: 1.4em;
}

#socialMedia {
    padding: 30px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #222;
    color: white;
    bottom: 0;
    width: 100%;
}

.faq-container {
    color: #222;
    max-width: 600px;
    margin: 20px auto;
    padding: 10px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

details {
    color: #222;
    background: #e3e3e3;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    cursor: pointer;
}

summary {
    color: #222;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

details p {
    color: #222;
    padding-top: 5px;
}

.css {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    max-width: 150px;
    height: auto;
}

.html {
    max-width: 150px;
    height: auto;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.css:hover {
    filter: drop-shadow(0px 0px 10px rgb(59, 130, 246));
    transform: scale(1.1);
}

.html:hover {
    filter: drop-shadow(0px 0px 10px rgb(227, 79, 38));
    transform: scale(1.1);
}

.h::first-letter {
    font-size: 2em;
    color: rgb(227, 79, 38);
    font-weight: bold;
}

.h2::first-letter {
    font-size: 2em;
    color: rgb(59, 130, 246);
    font-weight: bold;
}

.h {
    font-size: 1.02em;
    font-weight: bold;
    text-align: justify;
}
.h2 {
    font-size: 1.02em;
    font-weight: bold;
    text-align: justify;
}
#htmlTags ul li {
    color: #222;
}

#htmlTags h2 {
    color: rgb(227, 79, 38);
}

.tag {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    font-family: monospace;
    transition: 0.3s;
}

.tag:hover {
    background: linear-gradient(to right, #2575fc, #6a11cb);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* css comments for responsive design */

/* Responsive Design */
@media screen and (max-width: 768px) {
  .links  nav {
       
        margin: 10px 0;
        font-size: 16px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;  /* ya space-evenly / space-around */
    align-items: center;
    }


/* Table row as flex */.h2 tr, .h tr {
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .h2 tr, .h tr {
        flex-direction: column; /* Stack items in column */
    }

    .h2 td:last-child{
        order: -1; /* Image first */
    }
}
img{
 width: 7.3rem;
}
.h {
    font-size: 1em;
    font-weight: bold;
    text-align: justify;
}
p {
    letter-spacing: 0.04em;
    /* word-spacing: 0.07em;
    line-height: 1.2em; */
}
.h  .imge {
    width:100% !important;
}
.h  .para {
    width:100% !important;
}
.h2  .imge {
    width:100%  !important;
}
.h2  .para {
    width:100%  !important;
}
}


@media screen and (max-width: 640px) {
 
.faq-container {
    color: #222;
    max-width: 25rem;
    margin: 20px auto;
    padding: 10px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
}
}

@media screen and (max-width: 588px) {
   .links nav {
        
        display: flex!important;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-between; 
        align-items: start;
    }
    .h{
        font-size: 0.92em !important;
        word-spacing: 0.09em;
        line-height: 1.35em;
            letter-spacing: 0.02em;


            padding-left: 10px!important;
            padding-right: 10px!important;
            padding-top: 20px!important;
        
            /*  */


    }
    .h2{    word-spacing: 0.09em;
        line-height: 1.35em;
        font-size: 0.92em !important;
        letter-spacing: 0.02em;

        /*  */

   
        padding-left: 10px!important;
        padding-right: 10px!important;
        padding-top: 20px!important;

    }
    nav a{
padding: 0.1rem;
    }
    .hero img {
        max-width: 80px;
    }

    .hero p {
        font-size: 14px;
    }

    

    .tag {
        background: linear-gradient(to right, #6a11cb, #2575fc);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 12px;
        font-weight: bold;
        font-family: monospace;
        transition: 0.3s;
    }}
    @media screen and (max-width: 440px) {
        #socialMedia i {
            font-size: 1em;
        }#socialMedia {
            padding: 15px;
        }
        #socialMedia nav {
            padding: 20px;
            margin-left: 10px;
            margin-right: 10px;
            background: linear-gradient(to left, rgb(146, 7, 146), rgba(17, 17, 140, 0.856));
            text-align: center;
            padding-left: 1px!important;
            padding-right: 1px !important;
            background-color: #45a049;
        }
        h2{
            line-height: 1.1em;
        }
    .faq-container {
        line-height: 1.1em;
        color: #222;
        max-width: 18rem;
        margin: 19px auto;
        padding: 7px;
        background: white;
        border-radius: 5px;
        box-shadow: 0 0 10px rgb(0 0 0 / 10%);
        /* display: flex; */
        /* flex-direction: column; */
    }
    #htmlTags h2 {
        color: rgb(227, 79, 38);
        line-height: 1.1em;
    }
    #contact
    { padding-top: 5px !important;}
    fieldset {
        padding-top: 5px;
        width: 78%;
        margin: 0 auto;
        padding: 20px;
        border: 2px solid #ccc;
        border-radius: 8px;
    }
}
@media screen and (max-width: 320px) {

    .faq-container{


        max-width: 16rem !important;
    }
}
