*,
*::after,
*::before  {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    position: relative;
    font-family:Georgia, 'Times New Roman', Times, serif    
}

.logo {
    height: 7vh;
}

.logo-6 h3 {
    color: #e74c3c;
    font-family: 'Cinzel', serif;
    font-weight: 300;
    font-size: 30px;
    line-height:1.3;
    text-align: center;
}
.logo-6 h3 span {
    background: #e74c3c;
    color: #fff;
    display: inline-block;
    line-height: 1.8;
    padding: 0 16px;
}

footer {
    margin: 0;
    left: 0;
    bottom: 0; 
    width: 100%;
    height: 5vh;
    background-image: linear-gradient(45deg, #e74c3c, darkred);
  }

  .footer-text {
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 0;
  }

.main-content-wszystko {
    min-height: 84vh;
} 

.menu-ul {
    list-style-type: none;
    margin: 0;
    padding-left: 1.6vw;
    overflow: hidden;
    background-image: linear-gradient(45deg, darkred, #e74c3c);
 
}
  
.menu-li {
    float: left;
}
  
.menu-href, .mobile-href {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    padding-left: 1vw;
    padding-right: 1vw;
    font-weight: bold;
    text-transform: uppercase;
}
  
.menu-li a:hover {
    background-color: #111;
}

.mobile-ul {
    list-style-type: none;
    text-align: center;
    padding: 0;
}


/*Mobile Menu*/

@media only screen and (min-width: 601px) {
    .menu-mobile{
        display: none;
    }
  } 


@media only screen and (max-width: 600px) {
    .menu-desktop {
        display: none;
    }
  } 


:root {
  --bar-width: 30px;
  --bar-height: 5px;
  --hamburger-gap: 3px;
  --foreground: #333;
  --background: white;
  --hamburger-margin: 20px;
  --animation-timing: 200ms ease-in-out;
  --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
}

.hamburger-menu {
  --x-width: calc(var(--hamburger-height) * 1.41421356237);
  display: flex;
  flex-direction: column;
  gap: var(--hamburger-gap);
  width: 100vw;
  padding: 1vh;
  z-index: 2;
  cursor: pointer;
  background-image: linear-gradient(45deg, darkred, #e74c3c);
}

.hamburger-menu:has(input:checked) {
  --foreground: #333;
  --background: #333;
}

.hamburger-menu:has(input:focus-visible)::before,
.hamburger-menu:has(input:focus-visible)::after,
.hamburger-menu input:focus-visible {
  border: 1px solid var(--background);
  box-shadow: 0 0 0 1px var(--foreground);
}

.hamburger-menu::before,
.hamburger-menu::after,
.hamburger-menu input {
  content: "";
  width: var(--bar-width);
  height: var(--bar-height);
  background-color: var(--foreground);
  border-radius: 9999px;
  transform-origin: left center;
  transition: opacity var(--animation-timing), width var(--animation-timing),
    rotate var(--animation-timing), translate var(--animation-timing),
    background-color var(--animation-timing);
}

.hamburger-menu input {
  appearance: none;
  padding: 0;
  margin: 0;
  outline: none;
  pointer-events: none;
}

.hamburger-menu:has(input:checked)::before {
  rotate: 45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / -2);
}

.hamburger-menu:has(input:checked)::after {
  rotate: -45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / 2);
}

.hamburger-menu input:checked {
  opacity: 0;
  width: 0;
}

.sidebar {
  transition: translate var(--animation-timing);
  translate: -100%;
  padding: 0.5rem 1rem;
  background-color: var(--foreground);
  color: var(--background);
  max-width: 100vw;
  height: 0;
  background-image: linear-gradient(90deg, darkred, #e74c3c);
}

.hamburger-menu:has(input:checked) + .sidebar {
  translate: 0;
  min-height: 40vh;
}


/*Mobile Menu*/

.mobile-menu {
    display: none;
}

.caption {
    margin-bottom: 0;
    font-size: 21px;
    font-weight: bold;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 5vh;
}

.photo-box {
    flex-basis: 28vw;
    display:inline-block; 
    margin-bottom: 5vh;
    max-height: 40vh;
    text-align: center;
    position: relative;
    overflow:hidden;    
}

@media only screen and (max-width: 1200px) {
  .photo-box {flex-basis: 40vw;}
  } 


@media only screen and (max-width: 600px) {
  .photo-box {flex-basis: 80vw;}
  }



.photo-box:hover .bottom-left {
  opacity: 1;
}

.bottom-left {
  opacity: 0;
  position:absolute;
  bottom: 5%;
  left: 5%;
  background-color: rgba(0, 0, 0, .5);
  border-radius: 15px;
  padding: 10px;
  color: white;
  text-transform: uppercase;
  transition: all 1s;
}

@media only screen and (max-width: 600px) {
  .bottom-left {
    font-size: 12px;
    font-weight: 200;
}
}

.img {
 max-width: 100%;
 max-height: 100%;
 overflow:hidden;
}

.text-main {
  padding: 2.5vw;
}

@media only screen and (max-width: 600px) {
  .text-main {font-size: 14px;}
  } 

table, th, td {
  border: 1px solid;
  font-size: 16px;
}

.nagłówek {
  background-color: rgba(231, 76, 60, .8);
  text-transform: uppercase;
}

td {
  height: 5vh;
  width: 10vw;
}

table {
  margin: 10vh 15vw;
}

.table-wiki {
    text-align: center;
    -webkit-overflow-scrolling: touch;
}


@media only screen and (max-width: 1200px) {
    .table-wiki {
        overflow-x: auto;
        margin: 0;
    }
  } 

.bold {
    font-weight: bold;
}      

.main-content {
    margin: 0 2.5vw;
}

.form-btn {
    text-decoration: none;
    text-transform: uppercase;
    background-color: #e74c3c;
    color: white;
    padding: 15px 30px;
    margin-top: 2vh;
    display: inline-block;
    border-radius: 15px;
}

@media only screen and (max-width: 600px) {
    .form-btn { 
    margin-top: 0;
    margin-bottom: 5vh;
    }     
  } 

.podziekowanie-content {
    text-align: center;
    margin-top: 25vh;
}

.main-content-cud1 {
    background: url("img/piramida-cheopsa-cud.jpg") center/cover no-repeat;
    min-height: 84vh;
    margin-bottom: -16px;
}

.main-content-cud2 {
    background: url("img/wiszace_ogrody_semiramidy-cud.jpg") center/cover no-repeat;
    min-height: 84vh;
    margin-bottom: -16px;
}

.main-content-cud3 {
    background: url("img/swiatynia_artemidy_w_efezie_cud.jpg") center/cover no-repeat;
    min-height: 84vh;
    margin-bottom: -16px;
}

.main-content-cud4 {
    background: url("img/posag_zeusa_w_olimpii-cud.jpg") center/cover no-repeat;
    min-height: 84vh;
    margin-bottom: -16px;
}

.main-content-cud5 {
    background: url("img/mauzoleum_w_halikarnasie-cud.jpg") center/cover no-repeat;
    min-height: 84vh;   
    margin-bottom: -16px;
}

.main-content-cud6 {
    background: url("img/kolos_rodyjski_cud.jpg") center/cover no-repeat;
    min-height: 84vh;    
    margin-bottom: -16px;
}

.main-content-cud7 {
    background: url("img/latarnia-morska-na-faros-cud.jpeg") center/cover no-repeat;
    min-height: 84vh;    
    margin-bottom: -16px;
}

  @media only screen and (max-width: 600px) {
    .main-content-cud7, .main-content-cud6, .main-content-cud5, .main-content-cud4, .main-content-cud3, .main-content-cud2, .main-content-cud1 { 
      margin-top: -16px;
    } 
    
  }  

.transparent-div {
    width: 40vw;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 20px;
    font-size: 20px;
    color: white;
}

.transparent-div-zeus {
    width: 40vw;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 20px;
    font-size: 20px;
    color: white;
}

 @media only screen and (max-width: 1200px) {
    .transparent-div, .transparent-div-zeus {
        width: 55vw;
        font-size: 16px;
        top: 3%;    
        padding: 10px;
    }
  } 

 @media only screen and (max-width: 600px) {
    .transparent-div, .transparent-div-zeus {
        width: 80vw;
    }
  } 


.cudy-lista-href {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.cudy-lista {
    margin-left: -20px;
    line-height: 2;
}

.cudy-lista-li a:hover {
    color: #e74c3c;
}

.smalltext {
    font-size: 16px;
    text-decoration: none;
    font-weight: normal;
}

