body {
  background: #FFC5DF;
  margin: 0;
  padding: 0;
  font-family: 'Trebuchet MS', sans-serif;
  color: #390040;
}

#index {
  cursor: url(avatar.PNG), default;
}

#index a:hover {
  cursor: url(avatarlook.PNG), default;
}

#sourdough {
  cursor: url(loaf.PNG), default;
}

#sourdough a:hover {
  cursor: url(loafbite.PNG), default;
}

#medical {
  cursor: url(bottle.PNG), default;
}

#medical a:hover {
  cursor: url(pill.PNG), default;
}

#design {
  cursor: url(button.PNG), default;
}

#design a:hover {
  cursor: url(thread.PNG), default;
}

p {
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

.navigation{
  padding: 20px;
  text-align: center;
  font-size: 20px;
  position: fixed;
  z-index: 1;
  background-color: #390040;
  width: 100%;
  opacity: 0.90;
  top: 0;
}

.navigation a {
  padding: 0 10px;
}

.footer {
  padding: 20px;
  bottom: 0;
  position: relative;
  top: 70px;
}

h1 {
  padding: 10px;
}

a {
  color: #F5F7DC;
}

a:hover {
  color: #817F82;
}

.sournav {
  padding: 100px 200px 0;
  position: relative;
  display: grid;
  grid-template: 50% repeat(3, 1fr) / 1fr 2fr;
  gap: 5px 5px;
}

.snd {
  grid-area: 3 / 1 / 4 / 2;
}

.sni {
  grid-area: 2 / 1 / 3 / 2;
}

main a {
  color: #390040;
}

main a:hover{
  color: #F5F7DC
}

.hpt {
  text-align: center;
  position: relative;
  top: 70px;
}

.town {
  display: grid;
  position: relative;
  top: 70px;
  left: 10%;
  width: 80%;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 40px 40px;
  text-align: center;
}

.container {
  display: grid;
  position: relative;
  top: 20px;
  width: 80%;
  left: 10%;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: repeat(33, 10vh);
  gap: 20px 25px;
  align-items: center;
  justify-content: center;
}

.x0 {
  grid-area: 1 / 1 / span 6 / 2;
}

.x1 {
  grid-area: 1 / 2 / span 6 / 4;
}

.container img {
  width: 49%;
  max-height: 100%;
  object-fit: contain;
  
}

.x2 {
  grid-area: 7 / 1 / span 5 / 3;
}

.x3 {
  grid-area: 7 / 3 / span 5 / 4;
}

#myo {
  grid-area: 12 / 1 / 13 / 4;
}

.x4 {
  grid-area: 13 / 1 / span 4 / 3;
}

.x6 {
  grid-area: 17 / 1 / span 4 / 2;
}

.x8 {
  grid-area: 21 / 1 / span 4 / 3;
}

.x10 {
  grid-area: 25 / 1 / span 4 / 2;
}

.x11 {
  grid-area: 25 / 2 / span 4 / 4;
}

.x5 {
  grid-area: 13 / 3 / span 4 / 4;
}

.x7 {
  grid-area: 17 / 2 / span 4 / 4;
}

.x9 {
  grid-area: 21 / 3 / span 4 / 4;
}

#x12 {
  grid-area: 29 / 1 / span 8 / 4;
}

h2 {
  text-align: center;
}

.container p {
  text-align: justify;
}

.med {
  padding: 20px;
  width: 80%;
  left: 10%;
  position: relative;
  top: 70px;
}

.fashion {
  position: relative;
  top: 70px;
  width: 80%;
  left: 10%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
}

.af {
  flex: 1 1 50px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hs {
  flex: 1 1 50px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bs {
  flex: 1 1 50px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fashion img {
  max-width: 25%;
  padding: 5px;
  }

.fashion p {
  max-width: 25%;
  padding: 5px;
}
