body {
  margin: 0;
  padding: 0;
  background-color: #222;
  height: 100%;
}
/*Header*/

.navbar {
  display: flex;
  flex-direction: column;
  height: 80px;
  background-color: black;
}

.navbar_postion-div {
  position: fixed;
  width: 100%;
  top: 0;
}

.navbar_topbar {
  background-color: black;
  height: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

h1 {
  color: white;
  padding: 0;
  margin: 0;
  position: relative;
  font-size: 30px;
  text-align: center;
}

/*Przycisk logowania*/

.myButton {
	background-color:transparent;
	border-radius:15px;
	border:1px solid #d6bcd6;
	display:inline-block;
	cursor:pointer;
	color: white;
	font-family:Arial;
	font-size:17px;
	padding:7px 25px;
	text-decoration:none;
	text-shadow:2px 0px 0px red;
}
.myButton:hover {
	background-color:transparent;
}
.myButton:active {
	position:relative;
	top:1px;
}


/*Menu*/
.navbar_menu {
  height: 50px;
  font-size: 30px;
  width: 100%;
  background-color: black;
  align-items: center;
  display: flex;
  flex-direction: row;
}

.navbar_menu img {
  height: 67px;
  width: 67px;
}

.navbar_menu_img_lightmode {
  display: none;
}

#menu_icon_white {
  display: none;
  height: 100px;
  width: 100px;
}

#menu_icon_black {
  display: none;
  height: 100px;
  width: 100px;
}

.navbar_menu ul{
  padding: 0 ;
  margin: 0;
  display: flex;
  flex-direction: row;
  list-style: none;
  text-align: center;
  width: 100%;
  height: 100%;
}

.navbar_menu ul li {
  color: white;
  width: 25%;
  height: 50px;
  text-shadow: 0.1em 0.1em 0.2em white;
}

.navbar_menu ul a {
  text-decoration: none;
  display: block;
  color: white;
  height: 100%;
}

.navbar_menu ul li:hover {
  color: white;
  background-color: #222;
}

/*Rozwijana część menu*/

.navbar_menu ul li ol {
  display: none;
  list-style: none;
  position: relative;
  text-align: center;
  padding: 0;
}

.navbar_menu ul .models_convertablemenu:hover ol {
  display: flex;
  flex-direction: column;
  background-color: black;
}

#hidden_menu {
  background-color: black;
  
  list-style: none;
  position: relative;
  text-align: center;
  padding: 0;
  flex-direction: column;
}

.navbar_menu ul li ol li {
  position: relative;
  width: 100%;
  height: 50px;
}


/*Główna część strony*/

main {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.all_h2 {
  font-size: 45px;
  border-bottom: 5px dotted #efefef;
  border-radius: 40px;
  color: white;
  text-align: center;
}

/*Slider*/

.slider {
  width: 100%;
  height: 100%;
}

.slider_img {
  width: 100%;
  height: 100%;
}

/*Stopka strony*/

.page_footer {
  padding-top: 10px;
  display: flex;
  flex-direction:  row;
  width: 100%;
  background-color: #062e4e;
  bottom: 0;
  color: #efefef;
}

.page_footer_column {
  width: 20%;
  text-align: center;
}

.page_footer_column h3 {
  text-align: center;
  margin: 0;
  padding: 0;
}

.page_footer_column h4 {
  text-align: center;
  margin: 0;
  padding: 0;
  display: block;
  font-size: 1.17em;
}

.page_footer_column ul {
  list-style: none;
  color: black;
  padding: 0;
  color: white;
}

.page_footer_column a {
  text-decoration: none;
  color: white;
  display: block;
  height: 100%;
}

.page_footer_img {
  height: 100px;
  width: 100px;
}

.page_footer_column ul li {
  height: 48px;
}

/*Index*/


.index_article {
  border: solid red 5px;
  display: flex;
  flex-direction: row;
  color: white;
  margin: 30px;
}

.index_article img {
  height: 300px;
  max-width: 533.34px;
  margin-right: 10px;
}

.index_article a {
  color: white;
  text-decoration: none;
}

.index_article_hidden {
  display: none;
  flex-direction: column;
}

.index_article .show_more {
  height: 30px;
  display: block;
  cursor: pointer;
}

.show_more a {
  text-decoration: none;
  color: white;
}

/*Historia*/

.history_section {
  color: white;
  font-size: 17px;
  border: 1px white dotted;
  margin: 10px;
  padding: 10px;
}


/*Modele*/


.car_positioning {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.carimg {
  display: flex;
  flex-direction: column;
}

.carimg img {
  width: 100%;
  max-height: 400px;
}

.carimg h2 {
  padding: 0;
  margin: 0;
  font-size: 50px;
  color: white;
  text-align: center;
}

/*Auta*/
.cars_article {
  border: solid red 5px;
  display: flex;
  flex-direction: column;
  color: white;
  margin: 30px;
  text-align: center;
}

.cars_article h3 {
  color: white;
  font-size: 25px;
}

.cars_article h4 {
  color: white;
}

.cars_article p {
  color: white;
}

.cars_article img {
  height: 300px;
  max-width: 533.34px;
}

.cars_article a {
  display: block;
  text-decoration: none;
}

.cars_article_hidden {
  display: none;
  flex-direction: column;
}



/*Kontakt*/

.contact_all {
  display: flex;
  gap: 30%;
  margin-left: 10%;
  margin-right: 10%;
}

.contact_text {
  display: flex;
  flex-direction: column;
}

.contact_section {
  display: flex;
  flex-direction: row;
  gap: 10%;
  font-size: 20px;
  margin-bottom: 50px;
}

.contact_section img {
  height: 100%;
  width: 100%;
}

.contact_all p {
  display: flex;
  flex-direction: row;
  color: white;
}

iframe {
  margin-bottom: 20px;
}

.contact_img_lightmode {
  display: none;
}

/*Formularz kontaktowy*/

form {    
  width:320px;    
  margin:20px auto;    
  border:2px solid #ccc; 
  padding:20px;
  background-color: rgb(48, 48, 48);
}

form label {    
  display:block;    
  margin-bottom:5px;    
  font-weight:bold;    
  font-size: 20px;    
  color: white;
}

form textarea,form input { 
  width:100%; 
  padding:5px;  
  border:1px solid #ccc;  
  margin-bottom:25px;  
  box-sizing: border-box;
}

form input[type=submit] { 
  cursor:pointer; 
  margin-bottom:0px;
}

.send_btn {
  color: black;
  text-decoration: none;
}

/*Okno logowania*/

#id01 {
  color: white;
}

#id01 a{
  color: white;
}

input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
  
/* Set a style for all buttons */
.button {
  background-color: #025d3b; /*#04AA6D*/
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
}
  
.button:hover {
  opacity: 0.8;
}
  
/* Extra styles for the cancel button */
.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #7b0037; /*#f44336*/
  color: white;
  font-weight: bold;
}
  
/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

.container {
  padding: 16px;
  background-color:#222;
}
  
span.psw {
  float: right;
  padding-top: 16px;
}
  
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  padding-top: 60px;
}
  
/* Modal Content/Box */
.modal-content {
  background-color: #222;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}
  
.remember_me {
  display: flex;
  flex-direction: row;
}

.remember_me input {
  width: 3%;
}
/* The Close Button (x) */
.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: white;
  font-size: 35px;
  font-weight: bold;
}
  
.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}
  
/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}
  
@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
    
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}
  
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
    display: block;
    float: none;
  }
  .cancelbtn {
    width: 100%;
  }
}