/* style.css */
html{
  background: linear-gradient(270deg, #84B2B2, #AFC8CC);
}

body { 
	font-family: 'Roboto', sans-serif; 
	margin: 0; 
	padding: 0; 
	background-color: #f5f5f5; 
	/* background-image: url(img/default.jpg); */
  background: linear-gradient(270deg, #84B2B2, #AFC8CC);
	background-size: 100%;
	height: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;	
} 

header { 
	background-color: #2F2F2F; 
	color: #fff; 
	text-align: center; 
	padding: 20px; 
} 

div.logo{
	width: auto;
	float: left;
	text-align: left;
	padding-left: 7px;
	padding-top: 5px;
}

main { 
	max-width: 90%; 
	margin: 20px auto; 
} 

.accordion .accordion-item {
  border-bottom: 1px solid #e5e5e5;
}
/* .accordion .accordion-item button[aria-expanded='true'] {
  border-bottom: 1px solid #0c3239;
} */
.accordion button {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  padding: 1em 0;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 400;
  border: none;
  background: none;
  outline: none;
}
.accordion button.second{
    width: 95%;
    font-size: 1.5rem;
    margin: 0 auto;
    padding-right:1.6em;
}
.accordion button:hover, .accordion button:focus {
  cursor: pointer;
  /* color: #0c3239; */
}
.accordion button:hover::after, .accordion button:focus::after {
  cursor: pointer;
  color: #0c3239;
  border: 1px solid #0c3239;
}
.accordion button .accordion-title {
  padding: 1em 1.5em 1em 0;
}
.accordion button .icon {
  display: inline-block;
  position: absolute;
  top: 18px;
  right: 0;
  width: 50px;
  height: 50px;
  border: 1px solid;
  border-radius: 30px;
}
.accordion button.second .icon {
  display: inline-block;
  position: absolute;
  top: 18px;
  right: 0;
  width: 35px;
  height: 35px;
  border: 1px solid;
  border-radius: 30px;
}
.accordion button .icon::before {
	display: block;
    position: absolute;
    content: '';
    top: 24px;
    left: 15px;
    width: 20px;
    height: 2px;
    background: currentColor;
}
.accordion button.second .icon::before {
  display: block;
    position: absolute;
    content: '';
    top: 16px;
    left: 9px;
    width: 18px;
    height: 2px;
    background: currentColor;
}
.accordion button .icon::after {
    display: block;
    position: absolute;
    content: '';
    top: 15px;
    left: 24px;
    width: 2px;
    height: 21px;
    background: currentColor;
}
.accordion button.second .icon::after {
    display: block;
    position: absolute;
    content: '';
    top: 9px;
    left: 17px;
    width: 2px;
    height: 17px;
    background: currentColor;
}
.accordion button[aria-expanded='true'] {
  color: #0c3239;
}
.accordion button[aria-expanded='true'] .icon::after {
  width: 0;
}
.accordion button[aria-expanded='true'] + .accordion-content {
  opacity: 1;
  max-height: 100%;
  transition: all 200ms linear;
  will-change: opacity, max-height;
  margin-bottom: 3%;
}
.accordion .accordion-content {
  opacity: 0;
  max-height: 0;
/*  overflow: hidden;*/
  transition: opacity 200ms linear, max-height 200ms linear;
  will-change: opacity, max-height;
}

.accordion .accordion-content p {
  font-size: 1rem;
  font-weight: 300;
  margin: 2em 0;
}
.accordion .accordion-item2 {
  border-radius: 20px;
}
.tiles-container { 
    display: grid;
/*    gap: 10px;*/
    grid-template-columns: repeat(auto-fit, 370px);
    justify-content: center;	
} 

.tile { 
	display: block;
	border-radius: 10px; 
	transition: transform 0.3s ease-in-out;
} 

.tile:hover { 
	transform: scale(1.05); 
} 

.tile img{
	max-width: 330px;
	border-radius: 10px; 
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

footer { 
	background-color: rgba(47,47,47,0.8); 
	color: #fff; 
	font-size: 12px;
	text-align: center; 
    clear: both;
    position: fixed;
    bottom: 0px;
    margin-top: auto;    
	width: 100%;
}

@media(max-width: 768px) {
  div.logo {
    width: 100%;
    float: none;
    margin: auto;
    text-align: center;
  }

  .accordion .accordion-content p{
    display: flex;
    justify-content: center;
  }  

  .accordion .accordion-content p img{
      max-width: 280px;
  }    
}
