@import url('https://fonts.cdnfonts.com/css/madelon-script');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

html,body {
	margin: 0;
	scroll-behavior: smooth;
	background-color: #e8e4db;
}

.title h1{
	width:80%;
	margin:auto;
	margin-top:84px;
	text-align: center;
	font-weight: 300;
	color:black;
	font-family: 'Madelon Script', sans-serif;
	font-size:50px;
}
.image-grid {
	
	--gap: 16px;
	--num-cols: 4;
	--row-height: 275px;
	box-sizing: border-box;
	padding: var(--gap);
    width:80%;
    margin: auto;
	display: grid;
	grid-template-columns: repeat(var(--num-cols), 1fr);
	grid-auto-rows: var(--row-height);
	gap: var(--gap);
}

.image-grid>img {
	border-radius: 5px;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 450px) {
    .image-grid {
		--num-cols: 1;
		--row-height: 350px;
        width:90%;
	}
}

@media (max-width:600px) and (min-width:450px){
    .image-grid {
		--num-cols: 1;
		--row-height: 380px;
        
	}
}

@media (max-width:768px) and (min-width:600px){
    .image-grid {
		--num-cols: 1;
		--row-height: 425px;
        
	}
}

@media (max-width:1040px) and (min-width:768px){
    .image-grid {
		--num-cols: 2;
		--row-height: 325px;
	}
}


@media (max-width:1250px) and (min-width:1040px){
    .image-grid {
		--num-cols: 3;
        width:90%;
		--row-height: 275px;
	}
}

@media (max-width:1400px) and (min-width:1250px){
    .image-grid {
		--num-cols: 4;
        width:90%;
		--row-height: 275px;
	}
}

@media (min-width: 1400px) {
    .image-grid{
        --row-height: 350px;
    }
}

#myBtn {
	display: none; /* Hidden by default */
	width:50px;
	height:50px;
	border: 1px solid black;
	position: fixed; /* Fixed/sticky position */
	bottom: 40px; /* Place the button at the bottom of the page */
	right: 20px; /* Place the button 30px from the right */
	z-index: 99; /* Make sure it does not overlap */
	border: none; /* Remove borders */
	outline: none; /* Remove outline */
	background-color: #ffffff;
	cursor: pointer;
	padding: 15px;
	border-radius: 50%;
	font-size: 18px;
  }
  
  #myBtn:hover {
	background-color: #e4e4e4; /* Add a dark-grey background on hover */
  }

#myBtn img{
	margin-left:-16px;
	margin-top:-16px;
}