:root {
  --color--8: #b6c3b7;
  --color--4:#F2F0ED;
  --color--3:#B6C3B7;
}

.txtwow {
  text-align: center;
  border-bottom-style: solid;
  border-bottom-color: var(--color--8);
  border-bottom-width: 20px;
  margin-bottom: 0;
}

.gallery {
  border-top-style: solid;
  border-top-color: var(--color--8);
  border-top-width: 20px;
  border-right-style: solid;
  border-right-color: var(--color--8);
  border-right-width: 20px;
  border-left-style: solid;
  border-left-color: var(--color--8);
  border-left-width: 20px;
}

.container {
  position: relative;
  min-height: 100vh;
  background: var(--color--4);
}

.container .image-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding: 10px;
}

.container .image-container .image {
  height: 250px;
  width: 350px;
  overflow: hidden;
  cursor: pointer;
}

.container .image-container .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: .2s linear;
}

.container .image-container .image:hover img {
  transform: scale(1.1);
}

.container .popfunk {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .9);
  width: 100%;
  height: 100%;
  z-index: 100;
  display: none;
  overflow: scroll;
}

.container .popfunk span {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 60px;
  font-weight: bolder;
  color: var(--color--4);
  z-index: 100;
}

.container .popfunk img {
  top: 0;
  right: 10px;
  font-size: 40px;
  font-weight: bolder;
  color: var(--color--4);
  cursor: pointer;
  z-index: 100;
}

#grid-gallery img {
  width: 100%;
  height:500px;
  object-fit: cover;
}

#famebutton{
  width: 100%;
  height: 100%;
  background-color: #54695a;
  font-size: 200%;
  border-color: black;
  grid-row: 2/3;
  grid-column: 1/2;
}
#shamebutton{ 
  width: 100%;
  height: 100%;
  background-color: #919191;
  font-size: 200%;
  border-color: black;
  grid-row: 2/3;
  grid-column: 3/-3;
}

#comment-container{
  overflow: auto;
}

@media (max-width:768px) {
  .container .popfunk img {
    width: 95%;
  }
}

#grid-gallery{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 5fr 1fr;
  position: absolute; 
   top: 50%; 
  left: 50%; 
   transform: translate(-50%, -50%);
   height: 600px;
   width:70%;
}


.gridimg{
  grid-column: 1/3;
  grid-row:1/2;
}
section{
  background-color: var(--color--4);
  width: 350px;
  grid-row:-3/-1;
  margin-left:10px;
}


h3{
margin-left: 30px;;
font-size:x-large;
}

article > p{
  font-size: 20px;
}

article{
  border-bottom: 3px solid #A68163;
}
.sectiongrid{
  display:grid;
  grid-template-rows: 2fr 5fr 1.4fr;
}


form{
  border-top: #A68163 solid 3px;
}

form > #cTextArea{
  background-color: #F2F0ED;
  border:none;
  height: 100%;
  resize: none;
}

.comment > p{
  margin:0;
  border-bottom: solid 1px #A68163;
}
.comment > h4{
  margin:0;
  font-size: 17px;
}
#comment + label{
  display: none;
}

h2{
  color: var(--color--5);
    font-size: 2.5rem;
    margin-top:0px;
}

#input{
  background-color: #B6C3B7;
}

@media screen and (max-width: 1100px){
  #grid-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gridimg{
    grid-column:1/3;
    grid-row:auto;
  }

  #famebutton{
    grid-column:auto;
    grid-row:auto;
  }

  #shamebutton{
    grid-column:auto;
    grid-row:auto;
  }

  .sectiongrid{
      grid-column:1/3;
      grid-row:auto;

      width:100%;
      margin:0;

      
  }

  .container .popfunk img {
    width: 100%;
    margin: 0 auto;
  }
}