* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: white;
    font-family: Arial, Helvetica, sans-serif;
}

nav {
    width: 100%;
    background-color: rgba(255, 255, 255, .8);
    padding: 10px;
    position: fixed;
    top: 0px;
    z-index: 1000;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

nav>ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    font-size: 12px;
}

#apple_logo {
    height: 16px;
    cursor: pointer;
}

nav a {
    text-decoration: none;
    color: black;
}

nav svg {
    height: 20px;
    cursor: pointer;
}

section {
    width: 100%;
    margin-bottom: 10px;
}

#hero_iphone_family {
    background-image: url("Media/hero_iphone_family.jpg");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 1080px;
    background-color: #f5f5f7;
    height: 620px;
}

#hero_iphone_family>.logos_cta {
    padding-top: 80px;
}

.logos_cta {
    width: 100%;
    text-align: center;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.logos_cta>h2 {
    font-size: 56px;
}

.logos_cta>img {
    width: fit-content;
    height: 48px;
}

.logos_cta>p {
    font-size: 28px;
}

.large_ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.large_ctas>.secondary_btn {
    font-size: 17px;
    background-color: #0071e3;
    border: 1px solid #0071e3;
    border-radius: 50px;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
}

.large_ctas>.primary_btn {
    font-size: 17px;
    background-color: transparent;
    border: 1px solid #0071e3;
    border-radius: 50px;
    padding: 12px 20px;
    color: #0071e3;
    cursor: pointer;
}

.primary_btn:hover {
    background-color: #0071e3;
    color: white;
}

#hero_watch_family {
    background-image: url("Media/hero_apple_watch_family.jpg");
    background-position: bottom;
    background-repeat: no-repeat;
    background-color: #f5f5f7;
    height: 580px;
}

#hero_iPad_family {
    background-image: url("Media/hero_iPad_air_family.jpg");
    background-position: bottom;
    background-repeat: no-repeat;
    background-color: #f5f5f7;
    background-size: cover;
    height: 580px;
}

#small_product_family {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    row-gap: 10px;
}

.small_product_card {
    width: 49%;
    height: 580px;
    display: flex;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.macBook_card {
    background-image: url("Media/small_macbook_pro_m5.png");
}

.watch_card {
    background-image: url("Media/small_apple_watch_ultra3.jpg");
}

.airPod_card {
    background-image: url("Media/small_airpodspro_3.jpg");
}

.small_fitness_card {
    background-image: url("Media/small_apple_fitness_plus.jpg");
}

.tradein_card {
    background-image: url("Media/small_iphone_tradein.jpg");
}

.apple_card {
    background-image: url("Media/small_apple_card.jpg");
}

.small_logos_cta {
    color: black;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-top: 50px;
}

.small_logos_cta>img {
    height: 32px;
    width: fit-content;
}

.small_logos_cta>h2 {
    font-size: 38px;
}

.small_logos_cta>p {
    font-size: 21px;
    margin: 8px;
}

.small_ctas {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    margin-top: 8px;
}

.small_ctas>.primary_btn {
    font-size: 14px;
    background-color: transparent;
    border: 1px solid #0071e3;
    border-radius: 50px;
    padding: 10px 15px;
    color: #0071e3;
    cursor: pointer;
}

.small_ctas>.primary_btn:hover{
    background-color: #0071e3;
    color: white;
}

.small_ctas>.secondary_btn {
    font-size: 14px;
    background-color: #0071e3;
    border: 1px solid #0071e3;
    border-radius: 50px;
    padding: 10px 15px;
    color: white;
    cursor: pointer;
}

.macBook_card>.small_logos_cta,
.watch_card>.small_logos_cta {
    color: white;
}


#carousels-section {
    display: flex;
    flex-direction: column;
    background-color: #f5f5f7;
    margin-top: 10px;
    row-gap: 10px;
}

#carousels-section>h2 {
    text-align: center;
    font-size: 56px;
    padding: 20px;
}

.big_carousel {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    flex-shrink: 0;
    flex-grow: 0;
}

.big_carousel_card {
    min-width: 930px;
    height: 523px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    cursor: pointer;
    flex: 0 0 auto;
    scroll-snap-align: center;
}


.tehran_card {
    background-image: url("Media/tehran_card.png");
}

.theMovie_card {
    background-image: url("Media/theMovie_card.png");
}

.dropsOfGods_card {
    background-image: url("Media/dropsOfGods_card.png");
}

.downCemeteryRoad_card {
    background-image: url("Media/downCemeteryRoad_card.jpg");
}

.theMorningShow_card {
    background-image: url("Media/theMorningShow_card.png");
}

.tedLasso_card {
    background-image: url("Media/tedLasso_card.png");
}

.h_jack_card {
    background-image: url("Media/h_jack_card.png");
}

.pluriBus_card {
    background-image: url("Media/pluribus_card.jpg");
}

.shrinking_card {
    background-image: url("Media/shrinking_card.jpg");
}

.big_carousel_card_content {
    position: absolute;
    bottom: 50px;
    left: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.big_carousel_card_content>button {
    font-size: 17px;
    background-color: white;
    border: 1px solid white;
    border-radius: 50px;
    padding: 11px 21px;
    color: black;
    cursor: pointer;
}

.big_carousel_card_content>li,
strong {
    color: white;
}

.small_carousel {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    flex-shrink: 0;
    flex-grow: 0;
}

.small_carousel_card {
    min-width: 420px;
    height: 235px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    cursor: pointer;
    display: flex;
    flex: 0 0;
    scroll-snap-align: center;
    scroll-snap-type: mandatory;
    gap: 100px;
}

.small_carousel_card img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
}

.hello_kitty_card {
    background-image: url("Media/hello_kitty.png");
}

.HIIT_card {
    background-image: url("Media/hitt.png");
}

.angry_bird_card {
    background-image: url("Media/angry_bird.png");
}

.no_shoes_card {
    background-image: url("Media/no_shoes.jpg");
}

.NBA_2k26_card {
    background-image: url("Media/NBA_2k26.png");
}

.fitness_card {
    background-image: url("Media/fitness.png");
}

.small_carousel_card_content {
    position: absolute;
    bottom: 20px;
    left: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    justify-content: space-between;
    color: white;
}

.small_carousel_card_content>button {
    padding: 10px;
    color: black;
    background-color: white;
    border: none;
    border-radius: 50px;
}

.small_carousel> :nth-child(3n) {
    background-color: black;
    flex-direction: row;
}

.small_carousel> :nth-child(3n)>img {
    align-self: center;
    margin-left: 20px;
}

.small_carousel> :nth-child(3n)>.small_carousel_card_content {
    flex-direction: column;
    width: 45%;
    top: 20px;
    left: 50%;
    align-items: end;
}

.small_carousel::-webkit-scrollbar {
    display: none;
}

.big_carousel::-webkit-scrollbar {
    display: none;
}

footer {
    background-color: #1d1d1f;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer_wrapper {
    max-width: 980px;
}

.about_para {
    font-size: 12px;
    color: #a1a1a6;
    line-height: 1.45;
    padding: 20px 0px 0px;
}

.about_para>p {
    margin-bottom: 10px;
}

.about_para a {
    color: #ffffffcc;
}

.about_para a:hover {
    color: white;
}

.divider {
    width: 100%;
    height: 1px;
    border-top: 1px solid #424245;
    margin-top: 20px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding: 20px 0px 0px;
}

.col {
    flex: 1;
    min-width: 180px;
    color: #fffc;
}

.col h4 {
    color: #f5f5f7;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.col ul {
    list-style: none;
    margin-bottom: 20px;
}

.col li {
    font-size: 12px;
    line-height: 2;
    cursor: pointer;
}

.col li:hover {
    text-decoration: underline;
}

.shop-note {
    font-size: 12px;
    color: #ffffff8f;
    padding: 20px 0px 0px;
}

.shop-note a {
    color: #2997ff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 10px;
    color: #ffffff8f;
    padding: 20px 0px 20px;
}

.footer-bottom .links a {
    margin-right: 10px;
    color: #a1a1a6;
    text-decoration: none;
}

.footer-bottom .links a:hover {
    text-decoration: underline;
}