* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 62.5%;
}

img {
    object-fit: fill;
    max-width: 100%;
}

body {
    height: 100vh;
}

nav {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    background: #000;
}

.style-background-nav {
    background: rgba(14, 9, 27, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

nav .content-nav {
    max-width: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav .content-nav ul {
    display: flex;
    align-items: center;
    gap: 5rem;
}

nav .content-nav ul li {
    cursor: pointer;
}

nav .content-nav ul a {
    font-size: 13px;
    font-family: sans-serif;
    text-decoration: none;
    color: #C0C0C0;
}

nav .content-nav ul a:hover {
    transition: all 700ms;
    color: #fff;
}

nav #search-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all .2s ease;
    display: none;
}

nav #search-nav input {
    background: scroll;
    border: none;
    outline: none;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    padding-left: 10px;
    caret-color: #fff;
    color: #fff;
}

nav #search-nav #close-search {
    background: none;
    border: none;
    cursor: pointer;
}

main {
    height: 760px;
    padding-top: 110px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

main h2 {
    font-size: 5.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #fff;
}

main h3 {
    font-size: 2.8rem;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    color: #fff;
}

.learn-buy {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 50px 0;
}

.learn-buy a {
    width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    color: #2997FF;
}

.learn-buy a:hover {
    text-decoration: underline;
}

main img {
    width: 600px;
}

#container-iphone-14 {
    padding-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #FBFBFD;
}

.info-iphone {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

#container-iphone-14 .info-iphone h2 {
    color: #1D1D1F;
    font-size: 5.4rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

#container-iphone-14 .info-iphone h3 {
    font-size: 2.8rem;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    color: #1D1D1F;
}

#container-iphone-14 .info-iphone p {
    font-size: 2rem;
    font-family: sans-serif;
    text-align: center;
    color: #86868B;
}

#container-watch {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 50px;
}

#container-watch .info-watch {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 30px;
}

#container-watch .info-watch span {
    font-size: 2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    color: #FD6A13;
}

#container-watch .info-watch h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 2.4rem;
    color: #1D1D1F;
}

#container-watch .img-watch {
    height: 550px;
}

@media screen and (max-width: 1100px) {
    nav .content-nav a {
        display: none;
    }
}

#container-airpods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

#container-airpods .airpods,
#container-airpods .watch {
    width: 100%;
    max-width: 1050px;
    padding-top: 50px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    background: #000;
}

#container-airpods .airpods .info-airpods,
#container-airpods .watch .info-watch-air {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

#container-airpods .airpods > .info-airpods h2 {
    font-size: 40px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #fff;
}

#container-airpods .airpods .info-airpods h3,
#container-airpods .watch .info-watch-air h3 {
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #fff;
}

#container-airpods .watch .info-watch-air h3 {
    color: #000;
}

#container-airpods .watch .info-watch-air span {
    color: #cc1919;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#container-fitness {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

#container-fitness .watch-fitness,
#container-fitness .fitness {
    padding-top: 50px;
    width: 100%;
    height: 600px;
    max-width: 1050px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

#container-fitness .watch-fitness span {
    font-size: 12px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    color: #c90202;
}
#container-fitness .watch-fitness h3,
#container-fitness .fitness h4,
#container-fitness .fitness h3 {
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #1D1D1F;
}

#container-fitness .fitness h3 {
    font-size: 21px;
}

#container-macbook-card {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

#container-macbook-card .macbook,
#container-macbook-card .card {
    padding-top: 50px;
    width: 100%;
    height: 600px;
    max-width: 1050px;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: #FBFBFD;
}

#container-macbook-card .macbook .info-mac,
#container-macbook-card .card .info-card {
    display: flex;
    align-items: center;
    flex-direction: column;

}

#container-macbook-card .card .info-card {
    gap: 9px;
}

#container-macbook-card .macbook 
.info-mac h2 {
    font-size: 40px;
    font-family: 'Roboto', sans-serif;
    color: #1D1D1F;
}

#container-macbook-card .macbook .info-mac h3,
#container-macbook-card .card .info-card p {
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    color: #1D1D1F;
    font-weight: 400;
    text-align: center;
}

#container-macbook-card .card 
.info-card img{
    width: 150px;
}

@media screen and (max-width: 1100px) {
    nav #search-nav input {
        font-size: 15px;
    }

    #container-airpods,
    #container-fitness,
    #container-macbook-card {
        display: flex;
        flex-direction: column;
    }

    #seta-mac {
        width: 600px;
        height: 600px;
    }

    #container-airpods .airpods img,
    #container-airpods .watch img:not(#logo-watch) {
        width: 300px;
    }

    #container-airpods .watch img:not(#logo-watch) {
        padding-bottom: 35px;
    }
}

@media screen and (max-width: 768px) {
    main {
        padding-top: 80px;
        height: 600px;
    }

    main h2 {
        font-size: 3.2rem;
        margin-bottom: 5px;
    }

    main h3 {
        font-size: 2rem;
    }

    .learn-buy a {
        font-size: 1.6rem;
    }

    main img {
        height: 100%;
        width: 300px;
    }

    #container-iphone-14 .info-iphone h2 {
        font-size: 3.2rem;
    }

    #container-iphone-14 .info-iphone h3 {
        font-size: 2rem;
    }

    #container-iphone-14 .info-iphone p {
        font-size: 1.7rem;
    }

    #container-watch .info-watch img{
        width: 160px;
    }

    #container-watch .info-watch span {
        font-size: 1.7rem;
    }

    #container-watch .info-watch h2 {
        font-size: 2rem;
    }

    #container-watch .img-watch {
        height: 400px;
        width: 600px;
    }

    #container-fitness .fitness #image-fitness {
        width: 500px;
    }

    #container-fitness .watch-fitness #watch-image {
        width: 300px;
    }

    #container-macbook-card .macbook
    .info-mac h2 {
        font-size: 34px;
    }

    #container-macbook-card .card 
    .info-card img {
        width: 120px;
    }

    #container-macbook-card .card #card-apple {
        width: 350px;
        height: 300px;
    }
}

@media screen and (max-width: 400px) {
    main img {
        width: 300px;
    }
}