* {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Now Text Medium",Helvetica,Arial,sans-serif;
}

a {
    color: black;
    text-decoration: none;
}

header {
    height: 36px;
    display: grid;
    padding: 0 48px;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    background-color: #f5f5f5;
}

header a {
    font-size: 12px;
    font-weight: bold;
}

header a:hover {
    color: grey;
}

header #right-header {
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: end;
}

nav {
    height: 60px;
    display: grid;
    font-size: 16px;
    padding: 0 48px;
    font-weight: 500;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
}

nav #middle-nav {
    gap: 24px;
    display: flex;
    font-weight: bold;
    align-items: center;
    justify-content: center;
}

nav #right-nav {
    gap: 12px;
    display: flex;
    align-items: center;
    justify-content: end;
}

nav #right-nav #search-bar {
    width: 180px;
    padding: 5px;
    display: flex;
    border-radius: 30px;
    align-items: center;
    background-color: #f5f5f5;
}

nav #right-nav #search-bar input {
    border: none;
    outline: none;
    background-color: transparent;
    color: white;
    width: 150px;
}

img {
    width: 60px;
    height: 60px;
}

#hero-text {
    height: 75px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-text #hero-text1{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hero-text #hero-text1 p {
    display: block;
    line-height: 1;
    font-size: 16px;
    font-weight: 500;
}

#hero-text #hero-text1 a {
    color: black;
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;
}

#hero-text #hero-text2 {
    display: none;
}

#hero-image {
    height: 720px;
    display: flex;
    color: white;
    align-items: start;
    background-size: cover;
    flex-direction: column;
    justify-content: center;
    background-image: url("https://static.nike.com/a/images/f_auto/dpr_1.3,cs_srgb/h_2278,c_limit/f79d4811-91f8-4946-903e-6c7f5d3fa589/nike-just-do-it.jpg");
}

#hero-image div {
    gap: 10px;
    display: flex;
    text-align: left;
    margin-left: 48px;
    margin-top: 350px;
    flex-direction: column;
    justify-content: start;
}

#hero-image h3 {
    font-size: 90px;
    font-weight: bolder;
    text-transform: uppercase;
    font-family: "Helvetica Now Text Medium",Helvetica,Arial,sans-serif;
}

#hero-image p {
    width: 600px;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 25px;
    font-family: "Helvetica Now Text Medium",Helvetica,Arial,sans-serif;
}

#hero-image button {
    border: none;
    width: 120px;
    height: 36px;
    color: black;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    background-color: white;
}

#hero-image button:hover {
    color: white;
    background-color: grey;
}

#latest {
    display: flex;
    flex-direction: column;
    margin: 48px;
}

#latest h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
}

#latest #latest-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

#latest #latest-items div {
    width: 50%;
    position: relative;
}

#latest #latest-items div img {
    width: 686px;
    height: 470px;
    display: block;
}

#latest #latest-items div div {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    color: white;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
}

#latest #latest-items div div h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

#latest #latest-items div div p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

#latest #latest-items div div button {
    border: none;
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    background-color: white;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

#latest #latest-items div button:hover {
    background-color: #e5e5e5;
    color: black;
}

#featured {
    display: flex;
    flex-direction: column;
    margin: 72px;
}

#featured h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
}

#featured #featured-items {
    gap: 24px;
    display: grid;
    font-weight: 500;
    grid-template-columns: 1fr 1fr 1fr;
}

#featured #featured-items div {
    display: flex;
    flex-direction: column;
}

#featured #featured-items img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#featured #featured-items h4 {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 500;
}

#dont-miss {
    margin: 48px;
    display: flex;
    flex-direction: column;
}

#dont-miss h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
}

#dont-miss img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#dont-miss #dont-miss-text {
    display: flex;
    margin-top: 30px;
    text-align: center;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

#dont-miss #dont-miss-text h5 {
    font-size: 15px;
    font-weight: 500;
}

#dont-miss #dont-miss-text h1 {
    font-size: 64px;
    font-weight: bolder;
}

#dont-miss #dont-miss-text p {
    font-size: 16px;
    font-weight: 500;
}

#dont-miss #dont-miss-text button {
    color: white;
    font-size: 16px;
    margin-top: 20px;
    font-weight: bolder;
    padding: 10px 15px;
    border-radius: 50px;
    background: black;
}

#shop-by-icons {
    display: flex;
    flex-direction: column;
    margin: 48px;
}

#shop-by-icons #shop-by-icons-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#shop-by-icons #shop-by-icons-header div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#shop-by-icons #shop-by-icons-header button {
    background-color: #e5e5e5;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 48px;
    height: 48px;
    border-radius: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#shop-by-icons #shop-by-icons-items {
    display: flex;
    height: 420px;
    overflow-x: scroll;
    padding: 20px 0;
}

#shop-by-icons #shop-by-icons-items a {
    width: 420px;
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
    margin-left: 10px;
}

#shop-by-icons #shop-by-icons-items img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

#trending-now {
    display: flex;
    flex-direction: column;
    margin: 48px;
}

#trending-now #trending-now-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#trending-now #trending-now-header div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#trending-now #trending-now-header button {
    background-color: #e5e5e5;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 48px;
    height: 48px;
    border-radius: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#trending-now #trending-now-items {
    height: 465px;
    display: flex;
    padding: 20px 0;
    overflow-x: scroll;
    scroll-behavior: smooth;

}

#trending-now #trending-now-items a {
    width: 420px;
    display: flex;
    flex-direction: column;
}

#trending-now #trending-now-items img {
    width: 410px;
    height: 380px;
    object-fit: cover;
}

#shop-by-sport {
    display: flex;
    flex-direction: column;
    margin: 48px;
}

#shop-by-sport #shop-by-sport-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#shop-by-sport #shop-by-sport-header div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#shop-by-sport #shop-by-sport-header button {
    background-color: #e5e5e5;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 48px;
    height: 48px;
    border-radius: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#shop-by-sport #shop-by-sport-items {
    display: flex;
    padding: 20px 0;
    overflow-x: scroll;
    scroll-behavior: smooth;
}

#shop-by-sport #shop-by-sport-items a {
    width: 440px;
    height: 300px;
    display: flex;
    margin-right: 10px;
    flex-direction: column;
    position: relative;
}

#shop-by-sport #shop-by-sport-items img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

#shop-by-sport #shop-by-sport-items button {
    left: 50px;
    z-index: 2;
    bottom: 40px;
    border: none;
    color: black;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    width: fit-content;
    padding: 10px 15px; 
    border-radius: 10px;
    background-color: white;
}

#shop-by-sport #shop-by-sport-items button:hover {
    background-color: #e5e5e5;
    color: black;
}


footer {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #555;
  border-top: 1px solid #ddd;
  padding: 40px 20px 20px;
  background-color: #fff;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h4 {
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin: 6px 0;
}

.footer-section a {
  text-decoration: none;
  color: #555;
}

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

.footer-country {
  align-self: flex-start;
  white-space: nowrap;
  margin-left: auto;
  font-weight: bold;
  color: #555;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.footer-bottom p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

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