* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
    height: 100vh;
    background-image: url("bg.jpg");
    background-size: cover;
    background-color: #111;
    font-family: 'Dosis';
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
margin-top: 0px;

}

.logo-container img {
    max-width: 36%; /* Zmień tę wartość, aby dostosować szerokość logo */
    width: 100%;
}

.opis {
  color: white;
  text-align: center;
  grid-column: span 1;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 900;
}

.column-header {
    color: white;
    text-align: center;
    grid-column: span 1; /* Aby nagłówek rozciągał się na całą szerokość kolumny */
    margin-bottom: 30px;
    

}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto;
  padding: 10px;


}

.container {
	min-width: 130px;
	border-radius: 15px;
	position: relative;
	-webkit-transition: 1.5s ease-in-out;
	transition: 1.5s ease-in-out;
	transform-style: preserve-3d;
	margin: 5px;
	text-align: center;

	
}
.container2 {
	min-width: 130px;
	min-height: 130px;
	border-radius: 15px;
	position: relative;
	-webkit-transition: 1.5s ease-in-out;
	margin: 5px;
	text-align: center;
	
}


.side {
	position: absolute;
	text-align: center;
	width: 100%;
	height: 100%;
	padding: 10px 10px;
	color: #fff;
	transform-style: preserve-3d;
	backface-visibility: hidden;
	border-radius: 7px;

}

.sidenazwa {
	position: absolute;
	text-align: center;
	width: 100%;
	height: 50px;
	padding: 10px 10px;
	color: #fff;
	transform-style: preserve-3d;
	backface-visibility: hidden;
	border-radius: 7px;

}

.frontnazwa {
	z-index: 2;
	background-size: 100vh;
	background-size: cover;
	background-image: radial-gradient(circle, rgb(0, 160, 62) 0%, rgb(1, 102, 51) 100%);
	text-align: center !important;
	font-size: 18px !important;
	border: solid 3px;
	
	
}

.containernazwa {
	min-width: 130px;
	border-radius: 15px;
	position: relative;
	-webkit-transition: 1.5s ease-in-out;
	transition: 1.5s ease-in-out;
	transform-style: preserve-3d;
	margin: 5px;
	text-align: center;
  margin-bottom: 56px;
	
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    text-shadow: 0px 0px 16px #373737;
    transform: translatez(20px) scale(0.8);
    line-height: 50px;
    font-family: 'Dosis';
    color: #fff;
}
.content h1 {
	position: relative;
	text-shadow: 0px 0px 16px #373737;
	line-height: 40px;
	text-align: center;
	
	
}
.content h2 {
	position: relative;
	color: #222222;
	line-height: 30px;
	text-align: center;
	
	
	
}
.content p {
	margin-top: 50px;
	line-height: 20px;
}
.content h1:before {
	content: "";
	position: absolute;
	bottom: 20px;
	height: 3px;
	width: 70px;
	transform: translateX(-50%);
	text-shadow: 0px 0px 16px #373737;
	text-align: center;
}

.naglowek {
	z-index: 2;
	background-size: 100vh;
	background-size: cover;
	background-color: fff;
	text-align: center !important;
	font-size: 15px !important;
		position: absolute;
	text-align: center;
	width: 100%;
	height: 100%;
	padding: 10px 10px;
	color: #222222;
	border-radius: 7px;
}

.frontone {
	z-index: 2;
	background-size: 100vh;
	background-size: cover;
	background-image: radial-gradient(circle, rgb(211, 0, 0) 0%, rgb(206, 2, 2) 100%);
	text-align: center !important;
	font-size: 13px !important;
	border: solid 3px;
	
	
}
.fronttwo {
	z-index: 2;
	background-size: 100vh;
	background-size: cover;
	background-image: radial-gradient(circle, rgb(1, 54, 159) 0%, rgb(2, 51, 150) 100%);
	text-align: center !important;
  font-size: 10px !important;
  border: solid 3px;
	
}
.frontthree {
	z-index: 2;
	background-size: 100vh;
	background-size: cover;
	background-image: radial-gradient(circle, rgb(254, 190, 11) 0%, rgb(246, 175, 47) 100%);
	text-align: center;
	font-size: 13px !important;
	border: solid 3px;
}
.back {
	background-image: radial-gradient(circle, rgb(0, 160, 62) 0%, rgb(1, 102, 51) 100%);
	background-color: #18643f;
	transform: rotateY(180deg);
	z-index: 0;
	text-shadow: 0px 0px 16px #373737;
	padding-top: 10px;
	color: #111;
  font-size: 25px;
  font-weight: bold;
  border: solid 3px;
  border-color: #fff;
  
}


.srodektyl{
line-height: 20px;
font-size: 16px;
margin-top:10px;
margin-bottom: 10px;
}

.container.flipped {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}
form {
	text-align: left;
}
.back h1 {
	margin: 0;
}
form label,
form input {
	display: block;
}
form input,
form textarea {
	background: transparent;
	border: 0;
	border-bottom: 2px solid #444;
	padding: 5px;
	width: 100%;
	color: #fff;
}
form label {
	margin: 15px 0;
}
form input[type="submit"] {
	display: block;
	width: auto;
	margin: 10px auto;
	padding: 5px 10px;
	border: 3px solid #555;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
}
/* my button style  */
.white-mode {
	text-decoration: none;
	padding: 7px 10px;
	background-color: #122;
	border-radius: 3px;
	color: #fff;
	transition: 0.35s ease-in-out;
	position: relative;
	left: 15px;
	bottom: 15px;
	font-family: 'Dosis';
	text-align: center;
}

.white-mode:hover {
	background-color: #fff;
	color: #122;
}

input {
    writing-mode: horizontal-tb !important;
    font-size: 17px;
    text-rendering: auto;
    color: fieldtext;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: 1.5; /* Adjusted line-height for better readability */
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    appearance: auto;
    -webkit-rtl-ordering: logical;
    cursor: text;
    background-color: field;
    margin: 0em;
    border: solid 1px;
    border-style: inset;
    border-color: #008243;
    border-image: initial;
    width: 120%;
    height: calc(3 * 1.5em + 2px); /* Adjusted height to fit 3 lines of text */
    border-radius: 5px;
    padding-left: 10px;
}

input:focus {
    outline: none; /* Usuwa domyślny kontur przeglądarki */
    border-color: #075420; /* Zmienia kolor ramki na zielony */
    box-shadow: 0 0 5px #05461b; /* Dodaje zielony cień wokół inputa */
}

.info {
margin: 10px;
}

/* tooltip */
[data-tooltip] {
  position: relative;
  z-index: 100;
  cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
  position: absolute;
  bottom: 110%; /* Pozycjonowanie chmurki bezpośrednio nad ikoną */
  left: 50%;
  transform: translateX(-50%); /* Centrowanie chmurki względem ikony */
  margin-bottom: 5px;
  padding: 12px;
  width: 148px;
  background-color: #000;
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 20px;
  line-height: 1.5;
  border-radius: 7px;
  border: solid 3px;
  border-color: #fff;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
  position: absolute;
  bottom: 75%; /* Pozycjonowanie trójkąta bezpośrednio nad ikoną */
  left: 50%;
  transform: translateX(-50%); /* Centrowanie trójkąta względem ikony */
  margin-bottom: 0; /* Usunięcie dodatkowego marginesu */
  width: 0;
  border-top: 30px solid #000;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;
  opacity: 90%;
}

.fas {
  color: #fff;
  font-size: 16px;
}

.generate-button {
    width: 140px; /* Aby przycisk rozciągał się na całą szerokość siatki */
    height: 50px; /* Wysokość przycisku */
    background-image: radial-gradient(circle, rgb(0, 160, 62) 0%, rgb(1, 102, 51) 100%); /* Tło z klasy .back */
    color: #fff; /* Kolor tekstu z klasy .back */
    font-size: 15px; /* Rozmiar czcionki z klasy .back */
    font-weight: bold; /* Pogrubienie czcionki z klasy .back */
    border-radius: 7px; /* Zaokrąglenie rogów z klasy .back */
    cursor: pointer; /* Kursor wskazujący, że przycisk jest klikalny */
    transition: 0.3s ease-in-out; /* Płynne przejście dla efektu hover */
    	font-family: 'Dosis';
	text-align: center;
	text-shadow: 0px 0px 16px #373737;
	margin-top: 10px;
		border: solid 3px;
		border-color: #fff;
}

    .closeButton {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: #f44336;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .closeButton:hover {
        background-color: #d32f2f;
    }