/* Style the Image Used to Trigger the Modal */
* {
  box-sizing: inherit;
}
a {color: white;}
html {
  height: 100%;
  box-sizing: border-box;
  background: #d9e1fc;
}
body {  height: 100%;}
.maincontent {
flex: 1;
    padding: 20px;
}
div {font-family: "Arial"}
img {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.site-container {
    display: flex; 
    flex-direction: column; 
    min-height: 100vh;
}
.header {
  padding: 15px;
  text-align: center;
  background: #5865F2;
  color: white;
  font-size: 15px;
  border-radius: 10px;
}

footer {
background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
  border-radius: 10px;
}

img:hover {opacity: 0.7; border-radius:20px;  
}

/* The Modal (background) */
#image-viewer {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
.modal-content { 
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}
#image-viewer .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
  font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
#image-viewer .close:hover,
#image-viewer .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

.btn-5 {
  color: #ffffff;
    font-weight: bolder;
    width: 130px;
    height: 40px;
    line-height: 42px;
    padding: 0;
    border: none;
    background: #5865F2;
    border-radius: 10px;
    /* ADD THIS LINE */
    position: relative; 
    /* Ensures the absolute-positioned :before and :after are contained here */
}
/* ... rest of your CSS ... */
.btn-5:hover {
  color: #ffffff;
  background: #5865F2bb;
   box-shadow:none;
  border-radius: 8px;
}
.btn-5:before,
.btn-5:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: #5865F2;
  box-shadow:
   -1px -1px 5px 0px #fff,
   7px 7px 20px 0px #0003,
   4px 4px 5px 0px #0002;
  transition:400ms ease all;
  border-radius: 8px;
}
.btn-5:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
border-radius: 8px;
}
.btn-5:hover:before,
.btn-5:hover:after{
  width:100%;
  transition:800ms ease all;
border-radius: 8px;
}
.custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  padding: 10px 25px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
   box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  outline: none;
}
.frame {
  width: 90%;
  margin: 40px auto;
  text-align: center;
}
