* {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem;
    background-color: #fff;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.container {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px;
    border: none;
    background: transparent;
}

.bar1 {
    width: 50px;
    height: 7px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
    border-radius: 3px;
}

.bar2 {
    width: 40px;
    height: 7px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
    border-radius: 3px;
}

.bar3 {
    width: 30px;
    height: 7px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
    border-radius: 3px;
}

.change .bar1 {
    transform: rotate(-45deg) translate(-16px, 5px);
}

.change .bar2 {
    opacity: 0;
    transform: translateX(-8px);
}

.change .bar3 {
    width: 50px;
    transform: rotate(45deg) translate(-16px, -5px);
}

.logoimg {
    width: 220px;
    height: auto;
}

.container {
    transition: all 0.3s ease;
}

.signup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 90px;
    background-color: black;
    color: white;
    border-radius: 50px;
    font-size: 32px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.conthead {
    padding: 1rem;
}

.heading,
.subhead {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mainheading {
    font-size: 3.5rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    line-height: 1.2;
    padding: 0 1rem;
}

.subhead {
    font-size: 2.1rem;
    padding: 0 1rem;
    line-height: 1.4;
    margin-top: 1rem;
}

.iconsofhead {
    display: flex;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    max-width: 100%;
    margin: 30px auto;
    justify-content: center;
    flex-wrap: wrap;
}

.headicons {
    width: 220px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 45px;
    font-size: 28px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: black;
    border: 2px solid #f0f0f0;
}

.headicons:hover {
    background-color: #fcf4f4;
    border-color: #ddd;
}

#shorts:target,
#designers:target,
#services:target {
    background-color: black;
    color: white;
}

.searchicon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.search {
    font-size: 32px;
    padding: 50px;
    width: 100%;
    height: 90px;
    border: none;
    background-color: #fcf4f4;
    border-radius: 45px;
}

.search:hover {
    background-color: white;
    outline: 3px solid #fcf4f4;
}

.nav-container {
    width: 100%;
    overflow-x: auto;
    position: relative;
    margin: 20px 0;
}

.nav-scroll {
    display: flex;
    align-items: center;
    margin: 0 1rem;
    padding: 10px 15px;
    width: max-content;
    min-width: 100%;
}

.nav-item1 {
    font-weight: 600;
    font-size: 32px;
    white-space: nowrap;
    color: #000000;
    margin-right: 10px;
}

.nav-item {
    font-size: 28px;
    margin: 0 8px;
    padding: 16px 32px;
    border-radius: 35px;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid #fcf4f4;
}

.nav-item:hover {
    background-color: #fcf4f4;
    border: 2px solid #fcf4f4;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.contant {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.gemini {
    width: 100%;
    height: auto;
    font-size: 18px;
    padding: 25px;
    border-radius: 20px;
    background-color: #e8f3fc;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 30px;
    margin-bottom: 20px;
    width: 280px;
    height: 70px;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    border: 3px solid transparent;
    cursor: pointer;
    margin: 0 auto 20px auto;
}

.button a {
    text-decoration: none;
    color: black;
    z-index: 2;
    position: relative;
}

.button::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 34px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400% 400%;
    z-index: 1;
    animation: movingBorder 3s linear infinite;
    opacity: 1;
}

.button::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 31px;
    background: white;
    z-index: 1;
}

@keyframes movingBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.button svg {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 30px;
    margin-right: 10px;
}

.gemini p {
    font-size: 18px;
    text-align: center;
    margin-top: 15px;
}

.popular-list {
    list-style-type: none;
    display: flex;
}

.popular-item {
    position: relative;
}

.popular-link {
    width: 220px;
    height: 70px;
    border: 2px solid rgb(243, 212, 212);
    border-radius: 15px;
    display: flex;
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: background-color 0.3s;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    list-style-type: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 15px;
    border-bottom: 1px solid #555;
    background: white;
}

.dropdown-item {
    border-bottom: 1px solid #eee;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-link {
    display: block;
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 10px 15px;
    transition: background-color 0.3s;
    width: 150px;
    height: 45px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.dropdown-link:hover {
    background-color: #fff2f2;
}

.popular-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contselect {
    margin: 20px;
    display: flex;
    justify-content: space-between;
}

.fill {
    width: 220px;
    height: 70px;
    border: 2px solid rgb(225, 211, 211);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
}

#popularhr {
    border: none;
    outline: 1px solid rgb(225, 211, 211);
    margin: 0 20px;
}

.main-container {
    width: 100%;
    overflow-x: auto;
    position: relative;
    margin: 20px 0;
}

.main-scroll {
    display: flex;
    align-items: center;
    margin: 0 1rem;
    padding: 10px 15px;
    width: max-content;
    min-width: 100%;
}

.main-item {
    font-size: 24px;
    margin: 0 8px;
    padding: 16px 32px;
    border-radius: 35px;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid #fcf4f4;
}

.main-item:hover {
    background-color: #fcf4f4;
    border: 2px solid #fcf4f4;
}

.main-container::-webkit-scrollbar {
    display: none;
}

.main {
    margin: 20px;
}

.main-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
    max-width: 1400px;
}

.grid-item {
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.video-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    margin-bottom: 15px;
}

.video-container video,
.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 15px;
    padding: 0 15px;
}

.pro {
    font-size: 10px;
    width: auto;
    height: auto;
    background-color: gainsboro;
    padding: 2px;
    border-radius: 2px;
    margin-left: 5px;
}

.like {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.likw {
    display: flex;
    align-items: center;
}

.likes {
    color: rgb(107, 99, 99);
    margin-left: 5px;
    margin-right: 10px;
    font-size: 14px;
}

.imgtitle {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.imgtitle img {
    width: 30px;
    height: 30px;
    margin-right: 7px;
    border: 1px solid gray;
    border-radius: 50%;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    flex-direction: column;
}

.logoimg1 {
    width: 220px;
    height: auto;
}

.footercoont {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.footercoont a {
    font-weight: bold;
    text-decoration: none;
    color: black;
    margin: 10px;
}

.copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 50px;
    color: gray;
}

.copyright span {
    margin: 5px 10px;
}

@media (min-width: 992px) {
    .mainheading {
        font-size: 3rem;
    }

    .subhead {
        font-size: 2rem;
    }

    .search {
        max-width: 1500px;
    }

    .nav-container {
        display: flex;
        justify-content: center;
    }

    .nav-scroll {
        width: auto;
        min-width: auto;
    }

    .main-container {
        display: flex;
        justify-content: center;
    }

    .main-scroll {
        width: auto;
        min-width: auto;
    }

    .contselect {
        max-width: 1400px;
        margin: 20px auto;
    }

    .gemini {
        max-width: 1500px;
    }
}

@media (max-width: 1200px) {
    .main-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mainheading {
        font-size: 3rem;
    }

    .subhead {
        font-size: 1.8rem;
    }

    .headicons {
        width: 180px;
        height: 70px;
        font-size: 24px;
    }

    .search {
        font-size: 28px;
        padding: 40px;
        height: 80px;
    }

    .nav-item1,
    .nav-item {
        font-size: 24px;
    }

    .main-item {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .mainheading {
        font-size: 2rem;
    }

    .subhead {
        font-size: 1.2rem;
    }

    .headicons {
        width: 120px;
        height: 50px;
        font-size: 16px;
    }

    .search {
        font-size: 18px;
        padding: 20px;
        height: 60px;
    }

    .nav-item1,
    .nav-item {
        font-size: 16px;
        padding: 10px 20px;
    }

    .main-item {
        font-size: 16px;
        padding: 10px 20px;
    }

    .title {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .likes {
        font-size: 16px;
    }

    .signup {
        width: 140px;
        height: 50px;
        font-size: 18px;
    }

    .logoimg,
    .logoimg1 {
        width: 140px;
    }

    .bar1,
    .bar2,
    .bar3 {
        width: 35px;
        height: 5px;
    }

    .bar2 {
        width: 28px;
    }

    .bar3 {
        width: 21px;
    }

    .popular-link,
    .fill {
        width: 150px;
        height: 50px;
        font-size: 18px;
    }

    .button {
        width: 220px;
        height: 60px;
        font-size: 16px;
    }

    .button svg {
        width: 40px;
        height: 24px;
    }
}

@media (max-width: 576px) {
    .mainheading {
        font-size: 1.5rem;
    }

    .subhead {
        font-size: 1rem;
    }

    .headicons {
        width: 100%;
        margin-bottom: 10px;
    }

    .iconsofhead {
        flex-direction: column;
        align-items: center;
    }

    .search {
        font-size: 16px;
        padding: 15px;
        height: 50px;
    }

    .nav-item1,
    .nav-item {
        font-size: 14px;
        padding: 8px 16px;
    }

    .main-item {
        font-size: 14px;
        padding: 8px 16px;
    }

    .title {
        font-size: 16px;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .like {
        margin-top: 10px;
        width: 100%;
        justify-content: flex-end;
    }

    .likes {
        font-size: 14px;
    }

    .signup {
        width: 100px;
        height: 40px;
        font-size: 14px;
    }

    .logoimg,
    .logoimg1 {
        width: 120px;
    }

    .bar1,
    .bar2,
    .bar3 {
        width: 25px;
        height: 4px;
    }

    .bar2 {
        width: 20px;
    }

    .bar3 {
        width: 15px;
    }

    .popular-link,
    .fill {
        width: 120px;
        height: 40px;
        font-size: 16px;
    }

    .button {
        width: 180px;
        height: 50px;
        font-size: 14px;
    }

    .button svg {
        width: 30px;
        height: 18px;
    }

    .gemini p {
        font-size: 14px;
    }

    .footercoont a {
        font-size: 14px;
        margin: 5px;
    }

    .copyright span {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .mainheading {
        font-size: 1.2rem;
    }

    .subhead {
        font-size: 0.9rem;
    }

    .nav-item1,
    .nav-item {
        font-size: 12px;
        padding: 6px 12px;
    }

    .main-item {
        font-size: 12px;
        padding: 6px 12px;
    }

    .title {
        font-size: 14px;
    }

    .likes {
        font-size: 12px;
    }

    .signup {
        width: 80px;
        height: 35px;
        font-size: 12px;
    }

    .logoimg,
    .logoimg1 {
        width: 100px;
    }

    .popular-link,
    .fill {
        width: 100px;
        height: 35px;
        font-size: 14px;
    }

    .button {
        width: 150px;
        height: 40px;
        font-size: 12px;
    }

    .button svg {
        width: 25px;
        height: 15px;
    }
}