@font-face {
    font-family: dribbble;
    src: url(./WFVisualSans-RegularText-46461986901f80620e484e70aa8cbb90ede25a01351d464819a4e47a3f38ea43.woff2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: dribbble;
}

html,
body {
    height: 100%;
    width: 100%;
}

nav {
    height: 13%;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.129);
    padding: 20px;
    font-weight: 500;
    position: fixed;
    top: 0;
    z-index: 10;
}

nav #logo:hover svg {
    color: #7B71A1;
    cursor: pointer;
}

nav #search {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border-radius: 50px;
    background-color: #f3f3f6;
    border: 1px solid #f3f3f6;
}

nav #search:hover {
    background: transparent;
}

nav #search input {
    border: none;
    outline: none;
    padding: 5px 10px;
    padding-right: 100px;
    background: transparent;
    font-size: 1.1rem;
}

nav #search div:hover {
    color: #7B71A1;
    cursor: pointer;
}

nav #search>i {
    background-color: #EC5E95;
    border-radius: 50%;
    padding: 10px;
    color: white;
}

nav #links {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 80px;
}

nav #links h4 {
    cursor: pointer;
}

nav #links h4:hover {
    color: #7B71A1;
}

nav #login {
    display: flex;
    align-items: center;
    gap: 15px;
}

nav #login h3:hover {
    cursor: pointer;
    color: #7B71A1;
}

nav #login button {
    outline: none;
    border: none;
    background-color: black;
    color: white;
    cursor: pointer;
    font-weight: 700;
    padding: 15px 25px;
    border-radius: 30px;
}

nav #login button:hover {
    background-color: #0D0C22;
}

#main {
    min-height: 100%;
    width: 100%;
    margin-top: 6%;
    padding: 0 5%;
}

#main #nav {
    padding: 1.5% 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    background: white;
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    min-width: 140px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-button i {
    font-size: 1.5rem;
    margin-left: 6px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: white;
    min-width: 160px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.dropdown-content button {
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    background: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.dropdown-content button:hover {
    background: #f5f5f5;
}

.dropdown-content button.selected::after {
    content: "✔";
    float: right;
    font-size: 12px;
    color: #333;
}

.dropdown:hover .dropdown-content {
    display: block;
}

#main #nav #links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 0.9rem;
}

#main #nav #links h4:hover {
    color: #6E6D7A;
    cursor: pointer;
}

#main #nav #links #special {
    background-color: #F8F7F4;
    padding: 10px 15px;
    border-radius: 30px;
}

#main #nav #filter {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #555;
    border-radius: 30px;
    cursor: pointer;
}

#main #nav #filter h3 {
    font-size: 0.8rem;
    font-weight: 500;
}

#main #cards {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2%;
    row-gap: 40px;
    margin: 40px 0;
}

#main #cards .card {
    width: 23%;
}

#main #cards .card .design {
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

#main #cards .card .design img,
#main #cards .card .design video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#main #cards .card .design #overlay {
    position: absolute;
    bottom: -50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 30px 20px;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(transparent, black);
}

#main #cards .card .design:hover #overlay {
    bottom: 0;
}

#main #cards .card .design #overlay h1 {
    font-size: 1.5rem;
    color: white;
}

#main #cards .card .design #overlay div {
    display: flex;
    align-items: center;
    gap: 15px;
}

#main #cards .card .design #overlay div button {
    background-color: white;
    padding: 10px;
    border: none;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    cursor: pointer;
}

#main #cards .card .details {
    height: 50px;
    width: 100%;
    padding: 10px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#main #cards .card .details img {
    height: 30px;
    width: 30px;
    object-fit: cover;
    border-radius: 50%;
}

#main #cards .card .details div {
    display: flex;
    align-items: center;
    gap: 5px;
}

#main #cards .card .details div i {
    cursor: pointer;
}

#main #cards .card .details div #special:hover {
    color: red;
}

footer {
    padding: 30px 60px;
    background: #fff;
    border-top: 1px solid #eee;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.logo {
    font-family: "Brush Script MT", cursive;
    font-size: 28px;
    font-weight: bold;
    color: #111;
}

.footer-links {
    display: flex;
    gap: 25px;
    font-size: 14px;
    font-weight: bold;
}

.footer-links a {
    text-decoration: none;
    color: #111;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 18px;
    color: #111;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666;
}

.footer-bottom a {
    margin-left: 15px;
    text-decoration: none;
    color: #666;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-tags a {
    text-decoration: none;
    color: #666;
}

.footer-tags a:hover {
    text-decoration: underline;
}