/* Homepage CSS */

ul {
  padding: 0;
  list-style: none;
}

#rba {
  margin-bottom: 30px;

  h2 {
    margin-bottom: 5px;
  }
}

/* Where to go section */
.col-12.col-md-4.col-lg-3 > div:nth-child(2) {
  margin-bottom: 30px;
}

#visitorInfo {
  margin-bottom: 30px;

  #sponsorTextlinks {
    margin: 10px 0;
  }
}

#forums {
  margin-bottom: 30px;

  li {
    margin-bottom: 1rem;
  }

  .topics {
    margin-bottom: 30px;
  }
}

#sponsor {
  margin-bottom: 30px;
}

.news {
  margin-bottom: 30px;
}

#photogallery {
  clear: both;
  margin-bottom: 30px;

  p {
    text-align: center;
  }
}

.flickr-photos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.feedphoto {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;

  > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    max-width: 100%;
    transition: 0.2s;

    &:hover {
      transform: scale(1.1);
    }
  }
}

.flickr {
  color: #3993ff;
}

.flickr-r {
  color: #ff1c92;
}

.flickr:hover,
.flickr-r:hover {
  color: white;
}

/* Recommended Books */

#books {
  clear: both;
  background: var(--dark);
  color: white;

  h2 {
    color: var(--secondary);
  }
}

.books {
  display: block;
}

.book {
  padding: 10px 30px;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .books {
    display: flex;
    justify-content: space-around;
  }

  .book {
    flex: 1 1 33%;
  }
}

/* Birding Tips */
#tips {
  padding: 15px 20px 1px;
  border-radius: 10px;
  margin-bottom: 30px;
  line-height: 1.5;
  border: solid 1px var(--light);
  background: var(--extralight);

  ul li {
    list-style: square;
    margin-left: 15px;
    margin-bottom: 15px;
  }

  strong {
    color: var(--success);
  }
}

#ft {
  margin-top: 0;
  border-top: none;
}
