@import url("reset.css") screen;

html {
	height: 100%;
	background: #66a5c0;
}

body, table, td, th {
font-family: 'Montserrat';
font-weight: 300;
}

#fiume {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 2s;
}



@keyframes fadeInOpacity {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


.opis {
  position: absolute;
  display: grid;
  top: 65%;
  place-items: center;
  width: 100%;
  height: 20%;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1vw, 3rem);
  color: white;
  hyphens: auto;
  background: rgba(247, 141, 167, 0.0);
  text-indent: -1em;
  line-height: 1.5;
}

.opis ul{
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.opis li::before {
  content: "~";
  padding-right: 8px;
  color: darkblue;
}


.text-box {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden; 
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.text-box.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/*BOTTOM MENU*/

#info {
	position: fixed;
	bottom: 2%;
	right: 1%;
	z-index: 10;
}

.bottom a{
color: #000000;
text-decoration: none;
font-size: 150%;
}

.bottom a:hover {
color: white;
}

ul.bottom li{
display:inline-block;
margin: 0;
padding:0px 5px 0px 5px;
}

.icon {
position: relative;
height: 60px;
opacity: 100%;
top: 15px;
}

.icon_w {
position: relative;
left: -60px;
height: 60px;
opacity: 0%;
top: 15px;
margin-right: -60px;
}

.icon:hover{
	opacity: 0%;
}

.icon_w:hover{
	opacity: 100%;
}



/*/BOTTOM MENU*/

#wrapper {
  position: absolute;
  top: 50%;
  left: 45%;
}


#all
{
	position: relative;
	font-size: 8em;
}

#charlie {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -2.5em;
	width: 6.7em;
	height: 4em;
}

#logo {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -1.5em;
	width: 6.7em;
	height: 4em;
}


#dot {
	position: absolute;
	background: rgba(13, 9, 107, 255);
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(13, 9, 107, 1);
	top: 50%;
	left: 50%;
	margin: -1.3em;
	margin-top: -2.1em;
	width: 0.8em;
	height: 0.8em;
	transform: scale(1);
	animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(13, 9, 107, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(13, 9, 107, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(13, 9, 107, 0);
    }
}

#card_wrapper {
	position: relative;
	display: inline-block;
}

#dot_small {
	position: absolute;
	background: rgba(13, 9, 107, 255);
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(13, 9, 107, 1);
	top: 83.7%;
	left: 71.7%;
	width: 4%;
	height: 8.5%;
	transform: scale(1);
	animation: pulse 2s infinite;
}

#gallery {
	position: absolute;
	top: 100%;
	background: #66a5c0;
	width: 100%;
	line-height: 0;
	column-count: 2;
	column-gap:0px;
	display: inline-block;
	margin-right: auto;
	margin-left: auto;
}

#gallery img{
	width:100% !important;
	height: auto !important;
	outline: 1px solid white;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 4s;
}
