@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');


*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.disFlex {
    display: flex;
}

.align-center {
    align-items: center;
}

.just-center {
    justify-content: center;
}

.just-between {
    justify-content: space-between;
}

.display_none {
    display: none;
}

#menuXBtn {
    display: none;
}

#category {
    display: none;
}

#category_item {
    visibility: hidden;
    transition: visibility .5s, max-height .5s;
    max-height: 0;
    overflow: hidden
}


nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid rgb(208, 208, 208);
    max-width: 100%;
}

nav>div:nth-child(1) {
    width: 20%;
}

nav>div:nth-child(2) {
    width: 80%;
    text-align: center;
}

#menu {
    display: none;
}

#menu_item {
    display: none;
}

nav>div>a>svg {
    margin-left: 30%;
}

nav>div>ul {
    list-style: none;
    display: flex;
    margin-left: 40%;
}

nav>div>ul>li {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .8rem;
    color: rgb(179, 184, 174);
    margin-left: 20px;
    padding: 10px;
}

nav>div>ul>li>a:hover {
    cursor: pointer;
    color: black;
}

li>a {
    color: rgb(179, 184, 174);
    text-decoration: none;
}

li>a:visited {
    color: rgb(179, 184, 174);
}

s #heading {
    position: relative;
    max-width: 100vw;
}

#sec-2 {
    margin-top: 2%;
    display: flex;
    justify-content: space-between;
}

#side_bar {
    position: relative;
    width: 20%;
    border-right: solid 1px rgb(217, 217, 217);
    padding: 20px;
}

#side_bar>p {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    letter-spacing: 1.3px;
    padding-left: 10px;
}

#side_bar>div {
    padding: 10px;
}

.side_elements {
    padding-left: 20px;
    border-left: 5px solid rgb(27, 205, 207);
}

.inactive_side {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1.3px;
    font-weight: 600;
    color: rgb(55, 93, 165);
    padding: 10px 0px 10px 0px;
}

.active_side {
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

#side_bar>div>h3 {
    font-family: 'Poppins', sans-serif;
    padding: 10px 0px 10px 0px;
    font-weight: 600;
}

#side_bar>div>p {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1.3px;
    font-weight: 600;
    color: rgb(55, 93, 165);
    padding: 10px 0px 10px 0px;
}

#side_bar>div>div>p:hover,
#side_bar>div>p:hover {
    cursor: pointer;
}


#templates {
    width: 78%;
    height: 100vh;
    padding: 30px;
}

.temp-sec-1-1 {
    width: 50%;
}

.temp-sec-1-1>p {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
    font-size: 1.3rem;
    font-weight: 600;
}

.temp-sec-1-1>h1 {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    color: #181c47;
}

.temp-sec-1-2 {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: rgb(163, 163, 163);
    height: 40px;
    width: 15em;
    border: 2px solid rgb(163, 163, 163);
    padding: 20px;
    border-radius: 20px;
    margin-left: 20%;
    cursor: pointer;
    margin-top: 20px;
}


.dis_none {
    display: none;
}

.wave_line>img {
    margin-top: 20px;
    width: 30%;
}

.temp-sec-2 {
    margin-top: 4rem;
    padding: 10px;
}

.temp-sec-2>div>p {
    font-family: 'Poppins', sans-serif;
}

.temp-sec-2>div {
    width: 50%;
}

.temp-sec-2>div>form {
    text-align: right;
    width: 100%;
}

.temp-sec-2>div>form>input {
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 50%;
    padding: 10px;
    border-radius: 6px;
    outline: none;
    border: 2px solid rgb(213, 213, 213);
}

.temp-sec-2>div>form>input::placeholder {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: rgb(205, 205, 205);
}

.temp-sec-2>div>form>input:focus {
    border: none;
    outline: 2px solid rgb(27, 205, 207);
}

#templates_results,
#templates_results1 {
    margin-top: 2rem;
    width: 85%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* max-width: 100vw; */
}


.templates_container {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 10px 0px;
    border-radius: 5px;
    background-color: rgb(243, 243, 249);
    text-align: center;
    padding: 30px;
    height: 450px;
}

.templates_container:hover {
    border: 1px solid black;
}

.templates_container>h4 {
    padding: 10px;
    font-family: 'Poppins', sans-serif;
}

.templates_container>p {
    padding-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    color: rgb(44, 44, 44);
}

.imgDiv {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 10px 0px;
    width: 200px;
    height: 200px;
    margin: auto;
}

.imgDiv>img {
    width: 100%;
    height: 100%;
}



.videoDiv {
    width: 200px;
    height: 200px;
    margin: auto;
}


/* Navbar media query Start*/

@media all and (min-width: 874px) and (max-width: 1264px) {
    nav>div:nth-child(1) {
        width: 20%;
    }

    nav>div:nth-child(2) {
        width: 70%;
        text-align: center;
    }

    nav>div>ul {
        margin-left: 10%;

    }

    nav>div>ul>li {
        margin-left: 10px;
    }

}

@media all and (min-width: 220px) and (max-width: 873px) {
    nav>div:nth-child(2) {
        display: none;
    }


    #menu {
        display: block;
        margin-left: 70%;
        transition: all .6s ease-in-out;
    }

    #menu>i {
        font-size: 2rem;
        cursor: pointer;
        color: rgb(163, 163, 163);
    }

    #menu_item {
        width: 100%;
    }

    #menu_item>ul {
        list-style: none;
        text-align: left;
    }

    #menu_item>ul>li {
        border-bottom: 1px solid rgb(188, 188, 188);
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 1.2rem;
        color: rgb(139, 140, 137);
        padding: 10px;
    }

    #menu_item>ul>li:hover {
        background-color: rgb(225, 225, 225);
    }
}

/* Navbar media query End*/





/* Normal Media Query Start */

@media all and (min-width: 768px) and (max-width: 1024px) {

    #category {
        width: 100vw;
        display: block;
        text-align: center;
        font-weight: bold;
        color: rgb(14, 112, 192);
        padding: 40px;
        font-size: 1.2rem;
        background-color: rgba(133, 173, 205, 0.574);
        font-family: 'Poppins', sans-serif;
    }



    #category_item.open {
        /* display: none; */
        visibility: visible;
        max-height: 600px;
    }

    #category_item>p {
        text-align: left;
        padding: 20px;
        font-weight: 600;
        color: grey;
        font-size: 1.2rem;
        font-family: 'Poppins', sans-serif;
        border-bottom: 1px solid rgb(90, 90, 90);
    }

    #side_bar {
        display: none;
    }

    #top_heading {
        display: none;
    }

    #heading_sec2 {
        display: none;
    }

    #templates {
        width: 100%;
    }

    #templates_results,
    #templates_results1 {
        width: 100%;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}


@media all and (min-width: 320px) and (max-width: 767px) {

    #side_bar {
        display: none;
    }

    #category {
        text-transform: uppercase;
        display: block;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 3px;
        text-align: center;
        font-weight: bold;
        color: rgb(14, 112, 192);
        padding: 20px;
        font-size: 1rem;
        background-color: rgba(133, 173, 205, 0.574);
    }



    #category_item.open {
        /* display: none; */
        visibility: visible;
        max-height: 600px;
    }

    #category_item>p {
        text-align: left;
        padding: 10px;
        font-weight: 600;
        color: grey;
        font-size: 1rem;
        border-bottom: 1px solid rgb(90, 90, 90);
        font-family: 'Poppins', sans-serif;
    }

    #top_heading {
        display: none;
    }

    #heading_sec2 {
        display: block;
    }

    #heading_sec2>div {
        width: 100%;
        text-align: center;
        margin: auto;
        margin-bottom: 20px;
    }

    #heading_sec2>div>form {
        text-align: center;
    }

    #heading_sec2>div>form>input {
        width: 100%;
    }

    #templates {
        width: 100%;
    }

    #templates_results,
    #templates_results1 {
        width: 100%;
        margin: auto;
        display: grid;
        grid-template-columns: 1fr;
    }
}


/* Normal Media Query End */