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

@font-face {
    font-family: Raleway;
    src: url(fonts/Raleway-VariableFont_wght.ttf);
}
@font-face {
    font-family: Nunito;
    src: url(fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf);
}

@font-face {
    font-family: Icones-museu;
    src: url(fonts/icones_museu.otf);
}

html{
	font-size: 100%;
}

body{
	color:#222;
	font-family: Nunito;
	font-weight: 400;
	background-color: #f2f2f2;
}
#mainContainer { 
	display: grid;
	flex-flow: row-reverse  nowrap;
	margin-top: 40px;
	padding: 20px 40px;
	grid-template-columns: [sidebar] 420px [main] auto;
}
#mainSidebar{
	grid-column: sidebar;
	padding: 10px;
	margin: 0px 20px;
	text-align: center;
	grid-row: 1;
}
#mainSidebar h2{
	font-variation-settings: "YTLC" 540, "wght" 300, "wdth" 800; text-align: center; font-size:1.4em;
}

#mainSidebar #Seus a{ display: block; background: #fff; text-decoration: none;padding: 10px; color: #222; font-weight: 600; margin-bottom: 20px;}
#mainSidebar #Seus a img { display: block; width: 100%; max-width: 400px; margin-left: auto;margin-right: auto;}
#mainSidebar #Seus p { text-transform: uppercase; font-variation-settings: "YTLC" 540, "wght" 300, "wdth" 800; text-align: center; }
#mainWrapper{
	grid-column: main;
}

#mainSidebar #activitats a img, #mainSidebar #noticies a img{
	display: block; width: 40%; max-width: 150px;
	float: left;
	margin-right: 20px;
	max-height: 98px;
	object-fit: cover;
}
#mainSidebar #activitats a, #mainSidebar #noticies a {
	clear: both;
	text-align: left;
	display: block; background: #fff; text-decoration: none;padding: 10px; color: #222;
	margin-bottom: 20px;
	min-height: 90px;
}
#mainSidebar #activitats a h2, #mainSidebar #noticies a h2 {
	text-align: center; font-size:0.8em;
}

#mainSidebar #activitats p, #mainSidebar #noticies p {
	text-align: right; font-size:0.85em; font-weight: 800; margin-top: 5px;
	font-variation-settings: "YTLC" 540, "wght" 800, "wdth" 800;
}

p{
	text-align: justify;
	font-size: 1.1em;
	line-height:1.5em;
}

h1{color: #202020; text-align: center;text-transform: uppercase;  font-weight: 300; font-size: 3em; margin-bottom: 20px;
	font-variation-settings: "YTLC" 540, "wght" 125, "wdth" 200;

}
h2{text-align: center;text-transform: uppercase;font-weight: 200;font-size: 1.5em;}

.icones_museu { font-family: Icones-museu; color: #333;}

.sect{
	padding: 20px; 
	position: relative;
	background-color: white;
	margin-bottom: 20px;
}

#social{ display: inline-block; }

#social a{
	display: inline-block; height: 30px; width: 30px;
	background-size: contain;
	vertical-align: baseline;
}

#intro{
	display:flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content:space-between;
	padding: 20px;
}

#logoMuseu{
    height: 90px;
	max-width: 90%;
}

#oficial{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px;
	padding: 10px 70px;
}

#social #whatsapp{ background-image: url("/img/social/whatsapp.svg");}
#social #whatsapp:hover{background-image: url("/img/social/whatsapp_hover.svg");}
#social #facebook{ background-image: url("/img/social/facebook.svg");}
#social #facebook:hover{background-image: url("/img/social/facebook_hover.svg");}
#social #youtube{ background-image: url("/img/social/youtube.svg");}
#social #youtube:hover{background-image: url("/img/social/youtube_hover.svg");}
#social #instagram{ background-image: url("/img/social/instagram.svg");}
#social #instagram:hover{background-image: url("/img/social/instagram_hover.svg");}
#social #twitter{ background-image: url("/img/social/twitter.svg");}
#social #twitter:hover{background-image: url("/img/social/twitter_hover.svg");}
#social #newsletter{ background-image: url("/img/social/news.svg");}
#social #newsletter:hover{background-image: url("/img/social/news_hover.svg");}
#map {
	width: 100%;
	height: 500px;
}

#share{ text-align: center; }
#share a{
	content:'';
	display: inline-block;
	height: 30px;
	width:30px;
	background-size: cover;
	margin: 1px;
	vertical-align: middle;
}

#fbshare{background-image: url("../img/social/facebook-grey.png");}
#fbshare:hover{background-image: url("../img/social/facebook-white.png");}
#twshare{background-image: url("../img/social/twitter-grey.png");}
#twshare:hover{background-image: url("../img/social/twitter-white.png");}

.lateral{display: flex}


#bottom{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  text-align: center;
}
#bottom a{
	min-width: 140px;
	width: 8%;
	padding: 0;
	text-decoration: none;
	position: relative;
}

#bottom a img{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80%;
	transform: translate(-50%, -50%);	
}



#cookiemodal{
	position: fixed;
	top:0; right:0; bottom:0; left: 0;
	background: rgba(0,0,0,0.5);
}
.modalcontent{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 40px;
	border: none;
	border-radius: 5px;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.5) ;	
}
.coockiebtn{
	display: inline-block;
	padding: 10px 20px;
	margin: 10px 20px;
	border-radius: 5px;
	background: #444;
	text-decoration: none;
	color: #fff;
	text-align:center;
}
.groc{
background-color: #f5aa01;
}
#modaltwo{
	display: none;
}
#modaltwo form{
	padding: 40px;
	display: grid;
	grid-template-columns: 1fr 30px;
	margin: auto;
	min-width: 300px;
	row-gap: 15px;
	column-gap: 10px;
	border:1px solid #888;
	border-radius: 5px;
}
#modaltwo form p{
	border-bottom: 1px solid #bababa;
}

#modaltwo form p span{
	display: block;
	font-size: 0.8em;
	text-align: left;
}


/* SLIDERS */
.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
	opacity: 0;
	width: 0;
	height: 0;
  }
  
  /* The slider */
  .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
  }
  
  .slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
  }
  
  input:checked + .slider {
	background-color: #f5aa01;
  }
  
  input:focus + .slider {
	box-shadow: 0 0 1px #f5aa01;
  }
  
  input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
	border-radius: 34px;
  }
  
  .slider.round:before {
	border-radius: 50%;
  }

  #twitter_swap, #facebook_swap, #instagram_swap{
	height: 600px;
	max-height: 600px;
	overflow-y: auto;
	display: none;
  }
  #facebook_swap{
	display: block;
  }

  .sw_button{
	border: 1px solid #ccc;
	border-radius: 5px;
	margin: 5px 10px;
	width:50px; height: 30px; 
  }


  .button{
    background: #444;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-variation-settings: "YTLC" 540, "wght" 200, "wdth" 900;
	box-shadow:
    0 0 0 5px #fff,
    0 0 0 7px #444;
	padding: 5px 20px;
    margin: 20px;
    display: inline-block;
    text-align: center;
  }
 
  button{
    background: #444;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-variation-settings: "YTLC" 540, "wght" 200, "wdth" 900;
	box-shadow:
    0 0 0 5px #fff,
    0 0 0 7px #444;
	padding: 5px 20px;
    margin: 20px;
    display: inline-block;
    text-align: center;
  } 

  .cards{
	display: flex;
	gap: 20px;
	padding: 20px;
    flex-wrap: wrap;
	justify-content: center;
    background-color: #eee;
	align-items: stretch;

}

.card{ display: flex; width: 300px; padding: 10px;flex-direction: column; background-color: #fff; position: relative; text-decoration: none;text-align: center;}
.card .text { text-align: left; padding: 0px 0px 80px 0px;}
.card h1 { font-size: 24px; text-align: left; margin-bottom: 0; }
.card h2 { font-size: 18px; text-align: left; font-weight: 200; margin-bottom: 20px;}
.card p { text-align: left;}
.card ul{
	list-style-type: square;
	text-align:left;
	margin-left: 20px;
}
.card img{
	height: 240px;
	width: 100%;
	object-fit: contain;
}
.card .button{
	display: block;
	position: absolute;
	bottom: 5px;
}

/* HTML: <div class="ribbon">Your text content</div> */
.ribbon, .ribbonRed {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}
.ribbon {
  --f: .5em; /* control the folded part */
  position: absolute;
  top: 0;
  left: 0;
  line-height: 1.8;
  padding-inline: 1lh;
  padding-bottom: var(--f);
  border-image: conic-gradient(#0008 0 0) 51%/var(--f);
  clip-path: polygon(
    100% calc(100% - var(--f)),100% 100%,calc(100% - var(--f)) calc(100% - var(--f)),var(--f) calc(100% - var(--f)), 0 100%,0 calc(100% - var(--f)),999px calc(100% - var(--f) - 999px),calc(100% - 999px) calc(100% - var(--f) - 999px));
  transform: translate(calc((cos(45deg) - 1)*100%), -100%) rotate(-45deg);
  transform-origin: 100% 100%;
  background-color: #1884f0; /* the main color  */ 
}

.ribbonRed {
  --f: .5em; /* control the folded part */
  position: absolute;
  top: 0;
  left: 0;
  line-height: 1.8;
  padding-inline: 1lh;
  padding-bottom: var(--f);
  border-image: conic-gradient(#0008 0 0) 51%/var(--f);
  clip-path: polygon(
    100% calc(100% - var(--f)),100% 100%,calc(100% - var(--f)) calc(100% - var(--f)),var(--f) calc(100% - var(--f)), 0 100%,0 calc(100% - var(--f)),999px calc(100% - var(--f) - 999px),calc(100% - 999px) calc(100% - var(--f) - 999px));
  transform: translate(calc((cos(45deg) - 1)*100%), -100%) rotate(-45deg);
  transform-origin: 100% 100%;
  background-color: #f43218; /* the main color  */ 
}

input[type="button"] {
    text-align:center;
	padding: 10px 20px;
	color: white;
	background: #444;
	box-shadow:
    	0 0 0 5px #fff,
    	0 0 0 7px #444;
}
.centered{
	text-align: center;
}


@media screen and (orientation:portrait) {
	#intro
	{
		flex-direction: column;
	}

	#mainContainer { 
		grid-template-columns: [main] auto;
		padding: 5px;
		width: auto;
	}
	#mainSidebar{
		grid-column: main;
		width: 100%;
		padding: 5px;
		margin:0;
	}
	h1{ font-size: 2em;}
	
	.lateral{ flex-direction: column-reverse;}

	#Seus{
		display: grid;
		grid-template-columns: auto auto auto;
	}
	#Seus h2{
		grid-column-start: 1;
    	grid-column-end: 4
	}
}



@media (prefers-color-scheme: dark) {
	body{
		color:#f1f1f1;
		background-color: #181818;
	}
	.sect{
		background-color: #222222;
		background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDA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9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
	}
	h1{
		color: #fff;
	}
	.icones_museu { color: #eee;}
	.cards{
		background-color: #ffffff30;
	}
	.card{
		background: #30303080;
	}
	.card img{
		background: #fff;
	}
	button{
		background: #eee;
		color: #222;
		font-weight: 600;
		box-shadow:
		0 0 0 2px #222,
		0 0 0 4px #ccc;
		font-variation-settings: "YTLC" 540, "wght" 700, "wdth" 700;
	  } 

	.button{
		background: #eee;
		color: #222;
		font-weight: 600;
		box-shadow:
		0 0 0 2px #222,
		0 0 0 4px #ccc;
		font-variation-settings: "YTLC" 540, "wght" 700, "wdth" 700;	
	}
	a{
		 color: #f5aa01;
		 font-variation-settings: "YTLC" 540, "wght" 700, "wdth" 700;
	}
	#bottom{
		align-items: center;
	}
	#bottom a{
		background: #bbb;
    	border-radius: 5px;
    	padding: 10px;
		min-height: 120px;
		position: relative;
	}
}

