* {
    margin: 0;
    font-family: Arial;
    box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    min-height: 60px;
    background-color: #0f1111;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 6px 10px;
    gap: 6px;
}

.nav-logo {
    height: 50px;
    width: 100px;
    flex-shrink: 0;
}

.logo {
    background-image: url("logo.png");
    background-size: cover;
    height: 50px;
    width: 50%;
}

.border {
    border: 1.5px solid transparent;
    border-radius: 3px;
}

.border:hover {
    border: 1.5px solid white;
}

.add-first {
    color: #cccccc;
    font-size: 0.8rem;
    margin-left: 22px;
}

.add-second {
    font-size: 1rem;
    margin-left: 3px;
}

.add-icon {
    display: flex;
    align-items: center;
}

.nav-search {
    display: flex;
    justify-content: space-evenly;
    background-color: pink;
    width: 50%;
    height: 40px;
    border-radius: 4px;
    flex-shrink: 1;
}

.search-select {
    background-color: #f3f3f3;
    width: 50px;
    text-align: center;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border: none;
}

.nav-search:hover {
    border: 2px solid orange;
}

.search-input {
    width: 100%;
    font-size: 1rem;
    border: none;
}

.search-icon {
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    background-color: #e5a40c;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #0f1111;
}

.search-icon:hover {
    color: white;
    font-size: 2rem;
}

.language {
    width: 50px;
    background-color: #0F1111;
    display: flex;
    margin-top: 7px;
    flex-shrink: 0;
}
.flag-icon {
    color: pink;
}

.lang {
    border: none;
    background-color: #0F1111;
    color: white;
    font-size: 0.85rem;
}

.nav-singin span {
    font-size: 0.7rem;
}
.nav-return span {
    font-size: 0.7rem;
}

.nav-second {
    font-size: 0.85rem;
    font-weight: 700;
}
#b-1 {
    background-color: #0F1111;
    color: grey;
    border: none;
    transform: scale(1, 0.5);
}
#b-1:active {
    color: orange;
}

.nav-cart i {
    font-size: 30px;
}

.nav-cart {
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* =============================================
   2nd Panel
   ============================================= */
.panel {
    display: flex;
    background-color: #222F3D;
    height: 40px;
    color: white;
    align-items: center;
    justify-content: space-evenly;
    font-size: 0.9rem;
    overflow-x: auto;
    white-space: nowrap;
}
.panel-all {
    font-weight: 700;
    padding: 8px;
    flex-shrink: 0;
}

.panel-ops {
    width: 95%;
    overflow-x: auto;
    white-space: nowrap;
}
.panel-ops p {
    padding: 8px;
    display: inline-block;
    margin-left: 15px;
}

.panel-all:hover {
    color: orange;
}

/* =============================================
   Hero Section
   ============================================= */
.hero-section {
    background-image: url(Hero-img.jpg);
    height: 350px;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-msg {
    background-color: white;
    position: relative;
    font-size: 0.9rem;
    width: 90%;
    min-height: 30px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 40px 6px 10px;
    margin-bottom: 40px;
    text-align: center;
}
.hero-msg-link {
    text-decoration: none;
    margin-right: 4px;
    margin-left: 4px;
    font-style: italic;
    color: #088bdd;
}

#laughing-emoji-1 {
    color: #e5a40c;
    background-color: transparent;
    border-radius: 50px;
    border: 1px solid #e5a40c;
}
#laughing-emoji-1:hover {
    animation: laughEmoji 0.5s linear 0s infinite normal;
}
@keyframes laughEmoji {
    0%   { transform: scale(1) rotate(0deg); }
    25%  { transform: scale(1.3) rotate(10deg); }
    50%  { transform: scale(1) rotate(10deg); }
    75%  { transform: scale(1.3) rotate(-10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.hero-msg-close {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: rgb(126, 117, 117);
    font-weight: 700;
}
.hero-msg-close:hover {
    color: red;
    transform: scale(1.4);
}

/* =============================================
   Shop Section
   ============================================= */
.shop-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: #0d1218;
    padding: 0 10px;
}

.box {
    width: 23%;
    min-height: 300px;
    height: auto;
    background-color: white;
    padding: 20px 0px 15px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 3px;
}

.box-img {
    height: 200px;
    padding: 1rem;
    background-size: cover;
    background-position: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 3px;
}
.box-content {
    margin: 0rem 1rem 0rem 1rem;
}
.box-content a {
    color: #088bdd;
    text-decoration: none;
}

/* =============================================
   Footer
   ============================================= */
footer {
    margin-top: 1rem;
}
.foot-panel1 {
    background-color: #37475a;
    color: white;
    height: 40px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
footer > a {
    text-decoration: none;
    color: white;
    display: block;
}

.foot-panel2 {
    min-height: 300px;
    height: auto;
    padding: 2rem 1rem;
    background-color: #222F3D;
    color: white;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.foot-panel2 h3 {
    padding-bottom: 0.8rem;
}
.foot-panel2 ul {
    list-style: none;
    padding: 0;
}
.foot-panel2 ul a {
    margin-top: 10px;
    display: block;
    color: #dddddd;
    text-decoration: none;
    font-size: 0.9rem;
}

.foot-panel2 ul a:hover {
    text-decoration: underline;
}

.foot-panel3 {
    background-color: #222F3D;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.foot-logo {
    background-image: url(logo.png);
    background-size: cover;
    height: 50px;
    width: 50px;
}

.foot-panel4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #0d1218;
    min-height: 1rem;
    padding: 14px 10px;
}
.foot-panel4 a {
    text-decoration: none;
    color: white;
    font-size: 0.7rem;
}

.check {
    font-size: 0.8rem;
    color: #f3f3f3;
}

.copyr {
    height: 3rem;
    background-color: #0d1218;
    font-size: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 0.2rem;
    text-align: center;
}

.foot-panel3 h4 span {
    opacity: 0;
    animation: appear 2s infinite;
    color: #f3f3f3;
    font-weight: 600;
}

@keyframes appear {
    0%   { opacity: 0; }
    50%  { opacity: 1; }
    100% { opacity: 0; }
}

.foot-panel3 h4 span:nth-child(1)  { animation-delay: 0.00s; }
.foot-panel3 h4 span:nth-child(2)  { animation-delay: 0.13s; }
.foot-panel3 h4 span:nth-child(3)  { animation-delay: 0.26s; }
.foot-panel3 h4 span:nth-child(4)  { animation-delay: 0.39s; }
.foot-panel3 h4 span:nth-child(5)  { animation-delay: 0.52s; }
.foot-panel3 h4 span:nth-child(6)  { animation-delay: 0.65s; }
.foot-panel3 h4 span:nth-child(7)  { animation-delay: 0.78s; }
.foot-panel3 h4 span:nth-child(8)  { animation-delay: 0.91s; }
.foot-panel3 h4 span:nth-child(9)  { animation-delay: 1.04s; }
.foot-panel3 h4 span:nth-child(10) { animation-delay: 1.17s; }
.foot-panel3 h4 span:nth-child(11) { animation-delay: 1.30s; }
.foot-panel3 h4 span:nth-child(12) { animation-delay: 1.43s; }
.foot-panel3 h4 span:nth-child(13) { animation-delay: 1.56s; }
.foot-panel3 h4 span:nth-child(14) { animation-delay: 1.69s; }


/* =============================================
   LARGE SCREENS (max-width: 1024px)
   Slightly smaller text and elements, 3-column grid
   ============================================= */
@media (max-width: 1024px) {

    .navbar {
        gap: 4px;
    }

    .nav-logo {
        width: 80px;
    }

    .logo {
        height: 44px;
    }

    .add-first {
        font-size: 0.7rem;
        margin-left: 10px;
    }

    .add-second {
        font-size: 0.85rem;
    }

    .nav-search {
        width: 40%;
        height: 36px;
    }

    .search-input {
        font-size: 0.85rem;
    }

    .search-select {
        width: 40px;
        font-size: 0.75rem;
    }

    .search-icon {
        width: 36px;
        font-size: 1rem;
    }

    .language {
        width: 42px;
        font-size: 0.75rem;
    }

    .nav-singin span,
    .nav-return span {
        font-size: 0.6rem;
    }

    .nav-second {
        font-size: 0.75rem;
    }

    .nav-cart i {
        font-size: 24px;
    }

    .nav-cart {
        font-size: 0.75rem;
    }

    .box {
        width: 30%;
    }
}


/* =============================================
   TABLET (max-width: 768px)
   Search bar moves to second row, text scales down
   2-column shop grid
   ============================================= */
@media (max-width: 768px) {

    .navbar {
        justify-content: space-between;
        padding: 6px 10px;
        gap: 6px;
    }

    .nav-logo {
        width: 60px;
        height: 40px;
    }

    .logo {
        height: 40px;
    }

    /* Search drops to full-width second row */
    .nav-search {
        order: 5;
        width: 100%;
        height: 34px;
    }

    .search-input {
        font-size: 0.8rem;
    }

    .search-select {
        width: 36px;
        font-size: 0.7rem;
    }

    .search-icon {
        width: 32px;
        font-size: 0.9rem;
    }

    .add-first {
        font-size: 0.6rem;
        margin-left: 6px;
    }

    .add-second {
        font-size: 0.7rem;
    }

    .add-icon i {
        font-size: 0.75rem;
    }

    .language {
        width: 38px;
        font-size: 0.65rem;
        margin-top: 4px;
    }

    .lang {
        font-size: 0.65rem;
    }

    .nav-singin span,
    .nav-return span {
        font-size: 0.55rem;
    }

    .nav-second {
        font-size: 0.65rem;
    }

    .nav-cart i {
        font-size: 18px;
    }

    .nav-cart {
        font-size: 0.65rem;
    }

    .panel {
        justify-content: flex-start;
        font-size: 0.8rem;
        padding: 0 8px;
    }

    .panel-ops {
        width: auto;
    }

    .panel-ops p {
        margin-left: 8px;
        padding: 6px;
    }

    .hero-section {
        height: 260px;
    }

    .hero-msg {
        font-size: 0.75rem;
        margin-bottom: 20px;
    }

    .box {
        width: 47%;
    }

    .foot-panel2 {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        height: auto;
    }
}


/* =============================================
   MOBILE (max-width: 480px)
   1-column shop grid, everything scaled down
   ============================================= */
@media (max-width: 480px) {

    .navbar {
        padding: 5px 8px;
        gap: 4px;
    }

    .nav-logo {
        width: 44px;
        height: 36px;
    }

    .logo {
        height: 36px;
    }

    .add-first {
        font-size: 0.5rem;
        margin-left: 4px;
    }

    .add-second {
        font-size: 0.6rem;
    }

    .add-icon i {
        font-size: 0.65rem;
    }

    .language {
        width: 32px;
        font-size: 0.55rem;
        margin-top: 2px;
    }

    .lang {
        font-size: 0.55rem;
    }

    .nav-singin span,
    .nav-return span {
        font-size: 0.48rem;
    }

    .nav-second {
        font-size: 0.55rem;
    }

    #b-1 {
        font-size: 0.5rem;
    }

    .nav-cart i {
        font-size: 14px;
    }

    .nav-cart {
        font-size: 0.55rem;
    }

    .nav-search {
        order: 5;
        width: 100%;
        height: 30px;
    }

    .search-input {
        font-size: 0.75rem;
    }

    .search-select {
        width: 30px;
        font-size: 0.6rem;
    }

    .search-icon {
        width: 28px;
        font-size: 0.8rem;
    }

    .panel {
        font-size: 0.7rem;
        padding: 0 6px;
    }

    .panel-ops p {
        margin-left: 6px;
        padding: 5px 4px;
    }

    .hero-section {
        height: 200px;
    }

    .hero-msg {
        font-size: 0.62rem;
        padding: 5px 34px 5px 8px;
        margin-bottom: 10px;
    }

    .box {
        width: 95%;
    }

    .box-img {
        height: 180px;
    }

    .foot-panel2 {
        padding: 1rem;
    }

    .foot-panel3 h4 {
        font-size: 0.8rem;
    }

    .foot-panel4 {
        flex-direction: column;
        gap: 6px;
        padding: 10px;
        text-align: center;
    }

    .copyr {
        font-size: 0.6rem;
        padding: 0.5rem;
        height: auto;
    }
}


@media (max-width: 480px) {
    .hero-section {
        background-image: url(mobile-logo.png);
    }
}

@media (max-width: 480px) {
    .shop-section {
    background-color: #061a43;
    }
}
