@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

:root {
  --background--: #f4dcc9;
  --accent--: #5a3b1f;
  --muted--: #7e5a2d;
  --hover--: #472c18;
  --main-color--: #f4dcc9;
  --text-color--: #7e5a2d;
  --accent-color--: #5a3b1f;
  --accent--: #5a3b1f;
  --muted--: #7e5a2d;
}

html {
  font-size: 16px;
}

* {
  padding: 0;
  margin: 0;
  font-family: Poppins;
  box-sizing: border-box;
}

body {
  background-color: var(--background--);
}

nav {
  padding: 0 40px;
  display: flex;
  align-items: center;
  height: 60px;
}

.links-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-color--);
}

nav a.logo {
  font-weight: bold;
  font-size: 2rem;
  font-family: "Cormorant-Garamond", serif;
  margin-right: auto;
}

nav .link-action-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 15vw;
  height: 100%;
}

nav a:hover {
  text-shadow: 0 0 0.5px currentColor;
}

nav .links a:not(:last-child) {
  margin-right: 30px;
}

nav .user_actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav i {
  font-size: 1.56rem;
}

nav .cart-text {
  display: none;
}

#profileButton {
  background-color: transparent;
  border: none;
}
.avatar {
  width: 40px;
  height: 40px;
  background: var(--accent--);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

#signIn {
  background-color: transparent;
  color: var(--accent--);
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}

#signIn:hover {
  color: var(--muted--);
}

/*Main-Content*/

header {
  display: flex;
  align-items: center;
  padding: 20px 80px;
}

div.left {
  max-width: 50vw;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

div.left h1 {
  font-family: Cormorant-Garamond;
  font-size: 5.25rem;
  width: 40vw;
  line-height: 5.25rem;
  color: var(--accent--);
  width: auto;
}

div.left p {
  color: var(--muted--);
}

img.logo-picture {
  width: 35%;
  min-width: 250px;
  max-width: 450px;
  height: auto;
}

div.primary-buttons button {
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  cursor: pointer;
}

#browseCollection {
  background-color: var(--accent--);
  color: #ffffff;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

#browseCollection:hover {
  background-color: var(--hover--);
}

#designYourOwn {
  background-color: transparent;
  color: var(--accent--);
  border: solid 1px var(--accent--);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}

#designYourOwn:hover {
  background-color: var(--hover--);
  color: white;
}

#browseCollection:active,
#designYourOwn:active {
  transform: scale(0.98);
}

@media (max-width: 480px) {
  nav {
    padding: 0 20px;
  }

  header {
    display: flex;
    flex-direction: column-reverse;
    padding: 10px 20px;
  }

  div.left {
    max-width: 100vw;
    gap: 0.9rem;
  }
  div.left h1 {
    font-size: 2.5rem;
    line-height: 2.5rem;
    text-align: center;
  }

  div.left p {
    font-size: 0.8rem;
    line-height: 1.3rem;
    margin-bottom: 1.5rem;
  }

  div.primary-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}
