* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    font-size: 1.1rem;
}

.video-container {
    /* position: relative;
     */
    height: 530px;
}

.play-button {
    position: relative;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    width: 120px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 10px;
    margin-top: 50px;
    color: #ff3a60;
}

h1 {
    font-size: 1.5em;
    padding: 20px 0px;
    font-family: sans-serif;
    color: #fe2c55;
    text-align: center;
    margin: 0 auto;
}

h2 {
    font-size: 1.4em;
}

h3 {
    font-size: 1.3em;
}

h4 {
    font-size: 1.2em;
}

h5 {
    font-size: 1.1em;
}

h6 {
    font-size: 1em;
}

p {
    margin-bottom: 15px;
}


/* Links */

a {
    color: rgb(254 44 85);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* Lists */

ul,
ol {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
    padding: 10px;
}


/* Buttons */

button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #fe2c55;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 0px 5px;
    min-width: 100px;
}

button:hover {
    background-color: #9c253c;
    color: #fff;
    font-size: larger;
    transition: 0.3s;
}

video:hover {
    transform: scale(1.02);
    transition: 0.05s;
}


/* Forms */

input,
textarea,
select {
    display: block;
    width: 100%;
    padding: 10px;
    /* margin-bottom: 15px; */
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    height: 100px;
}


/* Tables */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

th,
td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}


/* Images */

img {
    max-width: 100%;
    height: auto;
}


/* Code */

code {
    background-color: #f4f4f4;
    padding: 5px;
    border-radius: 5px;
}

main {
    margin: auto;
    padding: 20px;
    max-width: 1200px;
}

.nav {
    display: inline-flex;
    top: 15px;
    /* place-content: space-around; */
}

div {
    display: block;
    /* padding: 10px 0px; */
}

span {
    display: flex;
}

svg {
    padding: 5px;
}

.post {
    text-align: center;
}

.template-view {
    max-width: 300px;
    border: 2px solid #fe2c55;
    padding: 5px;
    border-radius: 5px;
    margin: 5px;
    /* min-height: 690px; */
    align-content: flex-end;
    color: white;
    background-color: black;
}

.articles {
    padding: 0px;
}

.btn {
    background-color: #c10400;
    justify-content: center;
    height: 40px;
    align-items: center;
    border-radius: 8px;
    display: flex;
    height: 40px;
    justify-content: center;
    width: 96%;
    margin: 15px auto;
    padding: 5px;
}

.capcut-template {
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
    padding: 5px;
}

.meta-data {
    display: flex;
    flex-wrap: wrap;
}

.template-title {
    font-size: 1rem;
    padding: 0px auto;
    padding: 10px;
    margin: auto 0px;
    text-align: center;
    color: white;
}


/* template viewer  */

.template-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 20px auto;
    /* Center the container horizontally */
    width: 70%;
    max-width: 600px;
    /* Optional: set a maximum width */
}

.menu-toggle {
    display: none;
}


/* End template viewer */

@media only screen and (max-width: 640px) and (min-width: 480px) {
    #main {
        margin-top: 7em;
    }
}

@media only screen and (max-width:480px) and (min-width:320px) {
    #main {
        margin-top: 9.5em;
    }
}

@media only screen and (max-width:320px) and (min-width:240px) {
    #main {
        margin-top: 9em;
    }
    #tiles li {
        width: 266px;
    }
}

.container {
    height: 600px;
    width: 500px;
    background-color: white;
    box-shadow: 8px 8px 20px rgb(128, 128, 128);
    position: relative;
    overflow: hidden;
    margin: auto;
}

.post {}

@media screen and (max-width: 650px) {
    .container {
        height: 600px;
        width: 300px;
    }
    .title {
        font-size: 15px;
    }
    .btn1 {
        height: 50px;
        width: 200px;
        margin: 20px auto;
    }
    .login,
    .signup {
        font-size: 19px;
    }
    .slider {
        height: 50px;
        width: 100px;
        left: 50px;
    }
    .moveslider {
        left: 150px;
    }
    .form-section {
        height: 500px;
        width: 600px;
    }
    .form-section-move {
        left: -300px;
    }
    .login-box,
    .signup-box {
        height: 100%;
        width: 300px;
    }
    .ele {
        height: 50px;
        width: 200px;
        font-size: 15px;
    }
    .clkbtn {
        height: 50px;
        width: 130px;
        font-size: 19px;
    }
}

@media screen and (max-width: 320px) {
    .container {
        height: 600px;
        width: 250px;
    }
    .heading {
        font-size: 30px;
    }
    .title {
        font-size: 10px;
    }
    .btn1 {
        height: 50px;
        width: 200px;
        margin: 20px auto;
    }
    .login,
    .signup {
        font-size: 19px;
    }
    .slider {
        height: 50px;
        width: 100px;
        left: 27px;
    }
    .moveslider {
        left: 127px;
    }
    .form-section {
        height: 500px;
        width: 500px;
    }
    .form-section-move {
        left: -250px;
    }
    .login-box,
    .signup-box {
        height: 100%;
        width: 250px;
    }
    .ele {
        height: 50px;
        width: 220px;
        font-size: 15px;
    }
    .clkbtn {
        height: 50px;
        width: 130px;
        font-size: 19px;
    }
}

img {
    max-width: 100%;
}

body {
    background: #F0EFEE;
}

.wrap {
    width: 80%;
    margin: 0 auto;
}

.header {
    border-bottom: 1px solid rgba(214, 213, 212, 0.64);
    /* position: fixed; */
    width: 100%;
    top: 0;
    z-index: 999;
    background-color: #000000;
}

.logo {
    float: left;
}

.top-searchbar {
    float: left;
    width: 45%;
    position: relative;
    margin-left: 2em;
}

.top-searchbar input[type="text"] {
    margin-top: 0.55em;
    width: 100%;
    padding: 0.58em 1em;
    border: 1px solid #E7E7E7;
    transition: border-color 0.3s all;
    -webkit-transition: border-color 0.3s all;
    -moz-transition: border-color 0.3s all;
    -o-transition: border-color 0.3s all;
    outline: none;
    border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    -o-border-radius: 0.3em;
    -webkit-appearance: none;
    font-family: 'Open Sans', sans-serif;
    color: #777;
    position: relative;
}

.top-searchbar input[type="text"] {
    background: #F7F6F6;
}

.top-searchbar input[type="text"]:hover {
    border: 1px solid #DDDDDD;
}

.top-searchbar input[type="submit"] {
    position: absolute;
    background: url(../images/search-icon.png) no-repeat 0px 0px;
    height: 26px;
    width: 26px;
    display: inline-block;
    border: none;
    top: 12px;
    right: -22px;
    outline: none;
    cursor: pointer;
}

.menu_box_list {
    display: inline-block;
    padding: 2.1em 0;
}

.menu_box_list ul li {
    display: inline-block;
}

.menu_box_list li a {
    display: block;
    color: #363636;
    font-size: 0.875em;
    margin: 0.44em 2em;
    font-weight: 900;
    text-transform: uppercase;
    text-align: left;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.menu_box_list li a:hover {
    color: #B9CB41;
}

.menu_box_list li a>i>img {
    vertical-align: middle;
    padding-right: 10px;
}

@media only screen and (max-width:1440px) and (min-width:1366px) {
    .wrap {
        width: 85%;
    }
}

@media only screen and (max-width:1366px) and (min-width:1280px) {
    .wrap {
        width: 90%;
    }
    .footer {
        bottom: 0px;
        right: 0px;
        background: #fff;
        padding: 10px;
    }
}

@media only screen and (max-width:1280px) and (min-width:1024px) {
    .wrap {
        width: 80%;
    }
    .footer {
        bottom: 0px;
        right: 0px;
        background: #fff;
        padding: 10px;
    }
}

@media only screen and (max-width:1024px) and (min-width:768px) {
    .wrap {
        width: 90%;
    }
    .footer {
        bottom: 0px;
        right: 0px;
        background: #fff;
        padding: 10px;
    }
    .top-searchbar {
        width: 40%;
    }
}

@media only screen and (max-width:768px) and (min-width:640px) {
    .wrap {
        width: 90%;
    }
    .footer {
        bottom: 0px;
        right: 0px;
        background: #fff;
        padding: 10px;
    }
    .menu_box_list li a {
        margin: 0.44em 1.5em;
    }
}

@media only screen and (max-width:640px) and (min-width:480px) {
    .wrap {
        width: 90%;
    }
    .footer {
        bottom: 0px;
        right: 0px;
        background: #fff;
        padding: 10px;
    }
    .menu_box_list li a {
        margin: 0.44em 1.5em;
    }
    /* .header {
        padding: 1em 0 0.6em;
    } */
    .menu_box_list ul li {
        display: block;
    }
}

@media only screen and (max-width:480px) and (min-width:320px) {
    .wrap {
        width: 90%;
    }
    .footer {
        bottom: 0px;
        right: 0px;
        background: #fff;
        padding: 10px;
    }
    .top-searchbar {
        width: 94%;
        float: none;
        margin: 0;
        clear: both;
    }
    .menu_box_list li a {
        margin: 0.44em 1.5em;
    }
    /* .header {
        padding: 1em 0 0.6em;
    } */
    .menu_box_list ul li {
        display: block;
    }
}

@media only screen and (max-width:320px) and (min-width:240px) {
    .wrap {
        width: 90%;
    }
    .footer {
        bottom: 0px;
        right: 0px;
        background: #fff;
        padding: 5px 10px;
    }
    .top-searchbar {
        width: 90%;
        float: none;
        margin: 0;
        clear: both;
    }
    .menu_box_list li a {
        margin: 0.44em 1.5em;
    }
    /* .header {
        padding: 1em 0 0.6em;
    } */
    .menu_box_list ul li {
        display: block;
    }
}


/* start: post page css  */

.template-box {
    border: 1px solid #de4646;
    margin: 20px 0px;
    border-radius: 10px;
    width: -webkit-fill-available;
}

.post-video {
    padding: 20px;
}

.template-box div span div a {
    color: white;
}

.post-title {
    color: #fe2c55;
    font-weight: 600;
    padding: 35px;
}

.template-box span {
    place-content: space-evenly;
}

.template-box span div {
    margin: 5px;
}

.share-btn {
    color: #ffffff;
    border: none;
    padding: 0.1em 0.6em;
    outline: none;
    text-align: center;
    font-size: 0.9em;
    margin: 0 0.2em;
}

.share-btn:focus,
.share-btn:hover {
    text-decoration: none;
    opacity: 0.8;
}

.share-btn:active {
    color: #e2e2e2;
}

.share-btn.twitter {
    background: #55acee;
}

.share-btn.google-plus {
    background: #dd4b39;
}

.share-btn.facebook {
    background: #3B5998;
}

.share-btn.stumbleupon {
    background: #EB4823;
}

.share-btn.reddit {
    background: #ff5700;
}

.share-btn.hackernews {
    background: #ff6600;
}

.share-btn.linkedin {
    background: #4875B4;
}

.share-btn.email {
    background: #444444;
}

@media (max-width: 1050px) {
    span {
        display: block;
        /* or any other display value you prefer */
    }
}


/* End: post page css  */


/* Start: Social media icons  */

.justify-content-center {
    text-align: -webkit-center;
}

.process-scetion .slider-nav-item {
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
    border-radius: 50%;
    text-align: center;
    background: #fff;
    cursor: pointer;
    transition: all .4s ease;
}

.social-icons a {
    border-radius: 50px;
    color: #3f345f;
    line-height: 52px;
    height: 50px;
    width: 50px;
    box-shadow: 0 5px 25px rgba(93, 70, 232, 0.15);
    margin: 15px 15px;
    font-size: 22px;
}

.slider-nav-item:before {
    position: absolute;
    content: "";
    height: calc(100% + 16px);
    width: calc(100% + 16px);
    top: -8px;
    left: -8px;
    border-radius: 50%;
    border: 1px solid rgba(132, 132, 164, 0.35);
    animation: 1.5s linear 0s normal none infinite focuse;
}


/*socil*/

.slider-nav {
    display: flex;
}

.process-scetion .slider-nav-item {
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
    border-radius: 50%;
    text-align: center;
    background: #fff;
    cursor: pointer;
    transition: all .4s ease;
}

.slider-nav-item:before {
    position: absolute;
    content: "";
    height: calc(100% + 16px);
    width: calc(100% + 16px);
    top: -8px;
    left: -8px;
    border-radius: 50%;
    border: 1px solid rgba(132, 132, 164, 0.35);
    animation: 1.5s linear 0s normal none infinite focuse;
}

.process-scetion .slider-nav-item:nth-child(1) {
    color: #36a1dc;
}

.process-scetion .slider-nav-item:nth-child(2) {
    color: #c10400;
}

.process-scetion .slider-nav-item:nth-child(3) {
    color: #311f9b;
}

.process-scetion .slider-nav-item:nth-child(4) {
    color: #ff9259;
}

.process-scetion .slider-nav-item:nth-child(5) {
    color: #b70000;
}

.process-scetion .slider-nav-item:nth-child(6) {
    color: #000000;
}

.process-scetion .slider-nav-item:after {
    position: absolute;
    top: 50%;
    left: 100%;
    height: 2px;
    content: '';
    width: 100%;
    background: url(https://demo.themenio.com/ico/assets/images/line.png) repeat 0 0;
    z-index: 0;
    animation: slide 1s linear infinite;
}

.process-scetion .slider-nav-item:last-child:after {
    display: none;
}

.process-scetion .slider-nav-item .ikon {
    font-size: 50px;
    line-height: 80px;
}

.process-scetion .slider-nav-item.active:before {
    position: absolute;
    content: "";
    height: calc(100% + 16px);
    width: calc(100% + 16px);
    top: -8px;
    left: -8px;
    border-radius: 50%;
    border: 1px solid rgba(132, 132, 164, 0.35);
    animation: 1.5s linear 0s normal none infinite focuse;
}

@keyframes focuse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes slide {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 40px 0;
    }
}

.shadow-img1 {
    background-image: url("../img/shadow.png");
    background-repeat: no-repeat;
    background-position: bottom;
}

.shadow-img2 {
    background-position: bottom;
    background-image: url("../img/shadow2.png");
    background-size: 100%;
    background-repeat: no-repeat;
}

.slider-nav-item:after {
    position: absolute;
    top: 50%;
    left: 100%;
    height: 2px;
    content: '';
    width: 100%;
    background: url(https://1.bp.blogspot.com/--Btu5p654jU/XYmrVd5IcYI/AAAAAAAATQ0/4bX8aZyFBgApbJUf90KrpCfO6RvAaZ6LgCLcBGAsYHQ/s1600/line.png) repeat 0 0;
    z-index: 0;
    animation: slide 1s linear infinite;
}

@-webkit-keyframes jello-horizontal {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    30% {
        -webkit-transform: scale3d(1.25, 0.75, 1);
        transform: scale3d(1.25, 0.75, 1);
    }
    40% {
        -webkit-transform: scale3d(0.75, 1.25, 1);
        transform: scale3d(0.75, 1.25, 1);
    }
    50% {
        -webkit-transform: scale3d(1.15, 0.85, 1);
        transform: scale3d(1.15, 0.85, 1);
    }
    65% {
        -webkit-transform: scale3d(0.95, 1.05, 1);
        transform: scale3d(0.95, 1.05, 1);
    }
    75% {
        -webkit-transform: scale3d(1.05, 0.95, 1);
        transform: scale3d(1.05, 0.95, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes jello-horizontal {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    30% {
        -webkit-transform: scale3d(1.25, 0.75, 1);
        transform: scale3d(1.25, 0.75, 1);
    }
    40% {
        -webkit-transform: scale3d(0.75, 1.25, 1);
        transform: scale3d(0.75, 1.25, 1);
    }
    50% {
        -webkit-transform: scale3d(1.15, 0.85, 1);
        transform: scale3d(1.15, 0.85, 1);
    }
    65% {
        -webkit-transform: scale3d(0.95, 1.05, 1);
        transform: scale3d(0.95, 1.05, 1);
    }
    75% {
        -webkit-transform: scale3d(1.05, 0.95, 1);
        transform: scale3d(1.05, 0.95, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.jello-horizontal {
    -webkit-animation: jello-horizontal 0.9s both;
    animation: jello-horizontal 0.9s both;
}

.social-bar a:hover i {
    -webkit-animation: jello-horizontal 0.9s both;
    animation: jello-horizontal 0.9s both;
}

@media only screen and (max-width: 300px) {
    .process-scetion .slider-nav-item {
        height: 30px;
        width: 30px;
        margin: 15px 10px;
        line-height: 28px;
    }
}

.join-text {
    font-size: 20px;
    font-family: fantasy;
    color: #c10400;
    padding: 10px;
}


/* End: Social media icons  */

.add-template-btn {
    position: fixed;
    background-color: #c10400;
    bottom: 15px;
    right: 15px;
    padding: 5px;
}

.add-template-btn a {
    color: white;
}

.wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    position: relative;
    max-width: 100px;
    height: auto;
}


/* Navigation Styling */

.nav {
    display: flex;
    list-style: none;
    margin-left: auto;
}

.nav li {
    margin-left: 20px;
}

.nav li a {
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav li a:hover {
    color: #007bff;
}


/* Responsive Design for Mobile */


/* @media (max-width: 768px) {
    .wrap {
        flex-direction: column;
        align-items: flex-start;
    }
    .logo {
        margin-bottom: 10px;
    }
    .nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .nav li {
        margin: 10px 0;
    }
    .nav li a {
        font-size: 18px;
    }
} */


/* Navigation Responsive for Smaller Devices */

@media (max-width: 580px) {
    .header {
        padding: 10px;
    }
    .nav {
        display: none;
        /* Initially hidden */
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0 20px;
    }
    .nav.active {
        display: flex;
        /* Toggle visible on button click */
    }
    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 20px;
        color: #333;
        margin-left: auto;
    }
}


/* 
/* Hamburger Menu Icon */

.menu-toggle {
    color: white;
}


/* General Footer Styles */

footer.ccg-footer {
    background-color: #222;
    color: #fff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

footer .ccg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

footer .ccg-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer h5 {
    font-size: 18px;
    color: #f2f2f2;
    margin-bottom: 15px;
}

footer p {
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 15px;
}

footer ul {
    padding: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #fff;
}

footer hr.ccg-divider {
    border-color: #555;
    margin: 20px 0;
}


/* About, Links, and Social Media */

footer .ccg-about,
footer .ccg-links,
footer .ccg-social {
    width: 30%;
    padding: 0 15px;
    margin-bottom: 20px;
}

footer .ccg-about p {
    font-size: 14px;
}


/* Social Media Links Styling */

footer .ccg-social-links {
    display: flex;
    gap: 10px;
}

footer .ccg-social-links a {
    font-size: 20px;
    color: #fff;
    background-color: #444;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

footer .ccg-social-links a:hover {
    background-color: #f4511e;
}

footer .ccg-copyright {
    font-size: 13px;
    color: #bbb;
    text-align: center;
}


/* Responsive Footer */

@media (max-width: 768px) {
    footer .ccg-row {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    footer .ccg-about,
    footer .ccg-links,
    footer .ccg-social {
        width: 95%;
        margin-bottom: 20px;
    }
    footer .ccg-social-links {
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    footer .ccg-about,
    footer .ccg-links,
    footer .ccg-social {
        text-align: center;
    }
    footer .ccg-social-links {
        justify-content: center;
    }
}