body {
    font-family: Arial;
    background-color: #264cb5b4;
    /* text-align: center; */
}
 h1, p, h2 {
    text-align: center;
    color: #333333;
    text-wrap: wrap;
}
h1 {
  margin: 5px;
  margin-top: 20px;
}
p{
  margin: 5px;
  margin-top: 10px;
}
.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.grayed-out {
    filter: grayscale(100%);
    opacity: 15%;
}

.esriLogo {
  margin: 0px;
  position: absolute;
  top: 60px;
  left: 35px;
  /* background-position: center; */
  height: 40px;
  width: 40px;
}
.esriLogoPop {
  margin: 20px;
  text-align: center;
  /* background-position: center; */
  height: 45px;
  width: 45px;
}

.image {
    width: 150px;
    margin: 10px;
    transition: transform 0.3s;
    border-radius: 5px;
}
.image:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.selectedImage{
    animation-name: start ;
    animation-duration: 2s;
    animation-iteration-count: 1;
} @keyframes start{
    0%{
        transform: rotate( 0deg );
    }
    33%{
        transform: rotate( 10deg ) scale(1.5);
    }
    66%{
        transform: rotate( -10deg );
    }
}

.rating {
    margin: 0px;
    position: absolute;
    top: 35px;
    right: 35px;
}

.emoji-wrapper {
    width: 100%;
    text-align: center;
    height: 50px;
    overflow: hidden;
    top: 0;
    left: 0;
  }
  
  .emoji-wrapper:before,
  .emoji-wrapper:after{
    content: "";
    height: 0px;
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 1;
  }
  
  .emoji-wrapper:before {
    top: 0;
  }
  
  .emoji-wrapper:after{
    bottom: 0;
  }

.emoji {
    float: right;
    display: flex;
    flex-direction: column;
    transition: .3s;
  }

.emoji > svg {
    margin: 5px 0; 
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  input{
    visibility: collapse;
  }

#rating-1:checked ~ .emoji-wrapper > .emoji { transform: translateY(-0px); }
#rating-2:checked ~ .emoji-wrapper > .emoji { transform: translateY(-50px); }
#rating-3:checked ~ .emoji-wrapper > .emoji { transform: translateY(-100px); }
#rating-4:checked ~ .emoji-wrapper > .emoji { transform: translateY(-150px); }
#rating-5:checked ~ .emoji-wrapper > .emoji { transform: translateY(-200px); } 

.box {
    box-sizing: border-box;
    width: 400px;
    height: 300px;
    background-color: #0af;
    overflow: hidden;
    position: relative;
    box-shadow: 2px 2px 5px 0 #A3A3A3;
  }
  .box::before {
    content:'';
    width: 500px;
    height: 300px;
    opacity: 1;
    background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 40%,
      rgba(255, 255, 255, 0.3) 60%,
      rgba(255, 255, 255, 0) 100%
    );
    transform-origin: center center;
    position: absolute;
    z-index: 10;
    animation-delay: 1s;
    animation-name: mask-ani;
    animation-duration: 4s; 
    animation-iteration-count: infinite;
  }
  .box::after {
    content: '';
    width: 500px;
    height: 50px;
    opacity: 0;
    background-color: #fff;
    transform-origin: center center;
    position: absolute;
    z-index: 1;
    animation-delay: 1s;
    animation-name: mask-border-ani;
    animation-duration: 4s;
    animation-iteration-count: infinite;
  }
  .box img {
    width: 98%;
    vertical-align: top;
    z-index: 5;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  @keyframes mask-ani {
    0% {
      transform: rotate(-36deg) translate(-40px, -430px);
    }
  
    70%,
    100% {
      transform: rotate(-36deg) translate(-40px, 378px);
    }
  }
  @keyframes mask-border-ani {
    0% {
      opacity: 0.8;
      transform: rotate(-36deg) translate(-126px, -190px);
    }
  
    70%,
    100% {
      opacity: 0.8;
      transform: rotate(-36deg) translate(-126px, 355px);
    }
  }
  
  button{
  
    display: inline-block;
    outline: 0;
    border: 0;
    cursor: pointer;
    will-change: box-shadow,transform;
    background: radial-gradient( 100% 100% at 100% 0%, #89E5FF 0%, #5468FF 100% );
    box-shadow: 0px 2px 4px rgb(45 35 66 / 40%), 0px 7px 13px -3px rgb(45 35 66 / 30%), inset 0px -3px 0px rgb(58 65 111 / 50%);
    padding: 0 32px;
    border-radius: 6px;
    color: #fff;
    height: 48px;
    font-size: 18px;
    text-shadow: 0 1px 0 rgb(0 0 0 / 40%);
    transition: box-shadow 0.15s ease,transform 0.15s ease;
    :hover {
        box-shadow: 0px 4px 8px rgb(45 35 66 / 40%), 0px 7px 13px -3px rgb(45 35 66 / 30%), inset 0px -3px 0px #3c4fe0;
        transform: translateY(-2px);
    }
    :active{
        box-shadow: inset 0px 3px 7px #3c4fe0;
        transform: translateY(2px);
    }
    
  }

.myModal{
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    height: 100%;
}
.opened {
    margin-top: 0; /* Move to the center position */
  }
.myModal #closeButton{
    font-weight: 800;
    color: aquamarine;
    position: absolute;
    top: 0px;
    right: 0px;
}

.myModal div p{
    font-size: larger;
}

.distContainer { 
  margin-left: 0px;
  margin-right: 0px;
  align-self: center;
}

.distContainer .btnDiv {
  text-align: center;
}

#confirmDistButton{
  margin: 20px;
}
