*{
	margin:0;
	padding:0;
	box-sizing: border-box;

  --g: linear-gradient(#000 0 0) no-repeat;
  --s: 130px; /* control the size of the images*/
}


body {
  margin: 0;
  min-height: 100vh;

  display:flex;
  flex-direction: column;
  align-items: center;
  gap:3em;

  background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
}
header{
  padding-top: 5em;
  text-align: center;
}
h1{font-size: 2em; color:white}
img{
  object-fit: fill;
}
div#large{
  position:absolute;
  margin-left:850px;
  width:400px;
  margin-top:60px;
}
#large{
  width:300px;
  height:300px;
}
/*============ main==========*/
main{
  display: flex;
  flex-direction: row;
/*  place-content: center;*/
  background: rgb(238,174,202);
  border-radius: 50%;
  height:400px;
  width:400px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3,auto);
  gap: 5px;
  position: relative;
}
.gallery input {
  position: absolute;
  border: 2px solid #000;
  border-radius: 50%;
  inset: calc(50% - var(--s)/3);
  cursor: pointer;

  transition: 1.5s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.gallery > img {
  width: var(--s);
  aspect-ratio: 1;
  object-fit: cover;
  transform: scale(.1);
/*  filter: brightness(0);*/
  pointer-events: none;
  transform-origin: var(--x) var(--y);
  transition: 1s calc((var(--i) - 1)*.1s);
}
.gallery > img:nth-of-type(1) {--i:1;--x: 150%;--y:150%;}
.gallery > img:nth-of-type(2) {--i:2;--x:  50%;--y:150%;}
.gallery > img:nth-of-type(3) {--i:3;--x: -50%;--y:150%;}
.gallery > img:nth-of-type(4) {--i:4;--x: 150%;--y:50%; }
.gallery > img:nth-of-type(5) {--i:5 }
.gallery > img:nth-of-type(6) {--i:6;--x: -50%;--y:50%; }
.gallery > img:nth-of-type(7) {--i:7;--x: 150%;--y:-50%;}
.gallery > img:nth-of-type(8) {--i:8;--x:  50%;--y:-50%;}
.gallery > img:nth-of-type(9) {--i:9;--x: -50%;--y:-50%;}

.gallery > input:checked ~ img {
  transform: scale(1);
  filter: brightness(1);
  pointer-events: initial;
}
/*.gallery > input:checked ~ img:hover {
  transform: scale(2);
  z-index:999;
}*/
.gallery > input:checked {
  transform: translateY(calc(1.75*var(--s))) scale(.5) rotate(45deg);
  --b: 70%;
  background: var(--g) 50%/var(--b,0%) 3px,var(--g) 50%/3px var(--b,0%);
}


/*=== footer==*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body{
	line-height: 1.5;
	font-family: 'Poppins', sans-serif;
}


.containfooter{
	max-width: 1170px;
  display:flex;
  align-items: center;
	margin:auto;
}
.row{
	display: flex;
	flex-wrap: wrap;
}
ul{
	list-style: none;
}

.footer{
	background-color: #24262b;
  background: grey;
  display:flex;
  align-items: center;
    padding: 40px 0;
    width:70vw;
}
.footer-col{
/*   width: 25%;*/
   padding: 0 15px;
}
.footer-col h4{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}
.footer-col ul li a{
	font-size: 16px;

	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}
.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #ffffff;
}

/*responsive*/
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
}
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
}
}
/* addresslinks==*/
.address img{
  padding-bottom: 15px;
}
.address-links li a{
  color: #303030;
    font-size: 15px;
    font-weight: 500;
  color: #777777;

}
.address-links li i{
  font-size: 16px;
    padding-right: 8px;
  color: #82074a;

}
.address-links li i:nth-child(1){
  padding-top: 9px;
}
.address-links .address1{
  font-weight: 500;
    font-size: 15px;
  display: flex;
}
.address-links{
      line-height: 32px;
    color: #777777;
}
/* =========== modal ====================*/
#modal-overlay {
  display:none;
  flex-direction: column;

  align-items: center;
  position: fixed;
  top: 0; bottom: 0; left: 0; right: 0;
  padding-top:2em;
  width: 100%;

  font-size:var(--basic-font-size);

  overflow: hidden;
}

#modal-window {
  position: absolute;
  animation: animatezoom 0.6s;

  display:none;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  height:80vh;
  width:80vw;

  background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
  border: 2px solid rgba(238,174,202,1);
}

@keyframes animatezoom{
  from{transform:scale(0)}
  to{transform:scale(1)}
}

#caption{
  color:white
}