/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */


@font-face {
  font-family: myFirstFont;
  src: url(fonts/OldNewspaperTypes.ttf);
}
p {
    display: block;
    unicode-bidi: isolate;
    font-family: myFirstFont;
}



h1 {
  font-family: myFirstFont;
  color: whitesmoke;
}


body {
  background-image: url('images/bg.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  font-family: "Special Elite", monospace;
  color: aliceblue;
}

.navbuttons {
  display: inline-block;
}

.navbuttons:hover{
  transform: scale(1.08);
}

#navbar{
  height: 117px;
    position: relative;
    z-index: 1;
    justify-content: center;
    text-align: center;
}

#container{
      max-width: 1100px;
    margin: 0 auto;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
}

div {
    display: block;
    unicode-bidi: isolate;
}

#flex{    
  display: flex;
  justify-content: space-around;
}

.box {
    padding: 40px;
    text-align: justify;
}

main {
    flex: 1;
    order: 2;
    /*text-align: justify;*/
    max-width: 610px;
    margin-left: 15px;
    margin-right: 15px;
    background-image: url(images/middlebg.png);
    background-size: 600px, 2800px;
    background-repeat: round;
    height: 3100px;
}


#leftSidebar {
    order: 1;
    background-image: url(images/bg.jpg);
    background-size: 255px, 3800px;
    background-repeat: round;
    height: 3100px;
}

.blueText {
    padding: 40px;
    font-size: small;
    text-align: justify;
    color: aquamarine;
}

#rightSideBar{
  order: 3;
  background-image: url(images/bg.jpg);
  background-size: 255px, 3800px;
  background-repeat: round;
  height: 3100px;
}

aside{    
  display: block;
  unicode-bidi: isolate;
}

footer {
    width: 100%;
    height: 123px;
    text-align: center;
    padding: 20px;
    position: relative;
}




#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  padding: 20px;
  font-family: 'Roboto', sans-serif;
}
.photo {
  position: relative;
}
.photo img {
  width: 100%;
  height: auto;
  display: block;
}
.photo .caption {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 5px 0;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0,0.9);
  font-family: 'Roboto', sans-serif;
}
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
#caption {
  color: #ccc;
  font-size: 16px;
  padding: 15px 20px;
  text-align: center;
  width: 100%;
}

@media (max-width: 600px) {
  #gallery {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}


button {
  border-radius: 8px;
  background-color: #008CBA;
  font-family: myFirstFont;
}