* { 
    margin 0;
    font-family: Montserrat, Open Sans, serif;

}


#topinfo {
    background-color: #DC143C;
    color: white;
    height: 40px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}


#block1 {
    max-height: 25px;
    padding: 5px;
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    
}

#block2 {   
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    padding-left: 20px;
    max-height: 25px;
    margin-left: auto;
    font-weight: bold;
    cursor: pointer;
    
}

 #overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(250, 250, 51, 0.35); 
    position: fixed;
    pointer-events: none;
    display: none; 

      }



body {
    max-width: 1300px;
    margin: auto;
}

body.light {
    background-color: white;
    color: black;
}

body.dark {
    background-color: #282828;
    color: white;
}

body.dark #navbar {
    background-color: #282828;

}

body.dark .menu {
    color: white;
}

body.light #toggle-theme {
    background-color: #282828;
    color: white;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding: 15px;
    border-radius: 18px;

}

body.dark #toggle-theme {
    background-color: white;
    color: #282828;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding: 15px;
    border-radius: 18px;
}


#button {
    display: flex;
    justify-content: center;
    align-items: center;
}

body.light #button2 a {
    background-color: #282828;
    color: white;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding: 15px;
    border-radius: 18px;
}

body.dark #button2 a {
    background-color: white;
    color: #282828;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding: 15px;
    border-radius: 18px;
}

#button2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

#button3 {
    display: flex;
    justify-content: center;
    align-items: center;
}

body.light #button3 a {
    background-color: #282828;
    color: white;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding: 15px;
    border-radius: 18px;
}

body.dark #button3 a {
    background-color: white;
    color: #282828;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding: 15px;
    border-radius: 18px;
}

body.dark #iconbox svg path {
    fill: white;
}

#iconbox svg {
    height: 50px;
    width: 50px;
}

body.dark #popupborder {
    background: white;
    color: black;
}

body.dark #navbaricon path {
    fill: white;
}

#navbar {

    max-width: 1300px;
    width: 100%;
    border-bottom: 3px solid lightgray;
    display: flex;
    vertical-align: middle;
    align-items: center;
    line-height: 50px;
    justify-content: space-around;
    overflow: hidden;
    position: fixed;
    background: white;
    top: 40px;

}

.menu {
   
    text-align: center;
    color: black;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

.menu:hover {
   
    text-align: center;
    color: lightgray;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

.menuactive {
   
    text-align: center;
    color: darkgray;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

.menubutton {
    text-align: center;
    color: #FFBF00;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

.menubutton:hover {
    text-align: center;
    color: #FFFF8F;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

#uppercontent {
    max-width: 1300px;
    margin: 150px auto auto auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    
}

#mainSzopa {
    border-radius: 2%;
    max-width: 100%;
}



#uppercontent h1 {
    font-size: 60px;
    font-family: Roboto;
    font-weight: bold;
}

#uppercontent p {
    font-family: Open Sans; 
    font-size: 18px;
    line-height: 32px;
}

.g1 {
    justify-self: center;
    align-self: center;
    max-width: 100%;
}

.g2 {
    justify-self: center;
    align-self: center;
}

#lowercontent {
    margin: 100px auto auto auto;
}

#lowercontent h2 {
    font-size: 36px;
    font-family: Roboto;
    font-weight: bold;
}

#lowercontent p {
    font-size: 18px;
    font-family: Open Sans;
    
}

#lowercontent2 {
    margin: 100px auto 150px auto;
}

#lowercontent2 p {
    font-size: 18px;
    font-family: Open Sans;
}

#lowercontent2 h2 {
    font-size: 36px;
    font-family: Roboto;
}

#iconbox {
    margin: 50px auto auto auto;
    display: flex;
    justify-content: space-around;
    vertical-align: middle;
    align-items: center;
}

#contentbox {
    margin: 50px auto 150px auto;
    max-width: 1300px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 40px;
    
}

#box {
    text-align: left;
}

#box p {
    font-size: 16px;
    font-family: Open Sans;
}

#box h3 {
    font-family: Roboto;
}

#asortyment {
    margin: 150px auto auto auto;
}

#asortyment h1 {
    font-family: Roboto;
}

#asortyment p {
    font-family: Open Sans;
}

#itemlist {
    margin: 50px auto 50px auto;
    display: grid;
    grid-gap: 35px;
    grid-template-columns: 150px auto;
    
}

#specialitem:hover {
    opacity: 1;
}

#specialitem {
    opacity: 0;
     transition: opacity 0.3s ease;
}



#galeria {
    margin: 150px auto;
}

#galeria p {
    font-family: Open Sans;
}

#gallerybox {
    margin: 75px auto 75px auto;
    max-width: 1300px; 
    width: 100%;
    max-height: 850px;
    height: 100%;
}

#gallerypicture {
    max-width: 600px;
    max-height: 900px;
    margin: auto;
    
}

#galdesc {
    text-align: center;
    margin: 10px auto;
}



#info {
    margin: 150px auto auto auto;
    max-width: 650px;
    max-height: 50px;
    width: 85%;
    height: 85%;
    border: 2px #D2042D;
    border-style: solid;
    background: rgba(255, 0, 0, 0.2);
    border-radius: 15px;
    font-family: Open Sans;
    font-size: 14px;
    text-align: center;
    line-height: 50px;
}

#Forum {
    margin: 150px auto 50px auto;
}

.separate {
    border-bottom: 3px solid black;
    margin: 25px auto 150px auto;
    font-weight: bold;
    font-size: 32px;
}

.createpost {
    border-bottom: 3px solid black;
    margin: 50px auto;
    font-weight: bold;
    font-size: 32px;
}

.commentspecific {
    margin: 75px auto;
    border-bottom: 2px solid lightgray;
}

.commentlist {
    margin: 25px auto;
}

.commentlist h3 {
    margin: 0;
    font-size: 28px;
}

.commentlist h4 {
    margin: 0;
    font-size: 12px;
    font-weight: 100;
}

.commentsubmition .form .Name{
    background-color: white;
    width: 150px;
    height: 30px;
    border-radius: 10px;
    border-color: black;
    margin: 5px auto;
    resize: none;
    outline: none;
    border-style: solid;
}

.commentsubmition .form textarea {
    resize: none;
    background-color: white;
    width: 450px;
    height: 125px;
    border-radius: 10px;
    border-color: black;
    border-width: 2px;
    margin: 5px auto;
    outline: none;
    border-style: solid;
    
}

.commentsubmition .form .btn {
    background-color: #282828;
    color: white;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding: 15px;
    border-radius: 18px;
    margin: 5px auto 50px auto;
    
}

.commentsubmition .form .btn:hover {
    cursor: pointer;
}

#loadMoreButton {
    background-color: #282828;
    color: white;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding: 15px;
    border-radius: 18px;
}

#loadmorebtn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto 100px auto;
}



#changelogs {
    margin: 150px auto 150px auto;
}

#changelogs h1 {
    font-family: Roboto;
}

#changelogs p {
    font-family: Open Sans;
}


#change {
    margin: 75px auto;
}

#change p {
    font-family: Open Sans;
}

#change h2 {
    font-family: Roboto;
}


#regulamin {
    margin: 150px auto;
}

.sources {
    text-decoration: none;
    color: darkblue;
}

#source {
    margin: 150px auto 150px auto;
}

#source p {
    font-family: Open Sans;
}


p.footer {
    font-family: Open Sans;
    font-size: 10px;
    color: gray;
    text-align: center;
}

p.footer a {
    color: blue;
    text-decoration: none;
}


#settings {
    margin: 150px auto;
}

#settings p {
    font-family: Open Sans;
}

#settingsContent1 {
    margin: 100px auto auto auto;
}

#settingsContent3 {
    margin: 100px auto;
}

#settingsContent4 {
    margin: 100px auto 150px auto;
}

#settingsContent1 p {
    font-family: Open Sans;
}

#settingsContent4 p {
    font-family: Open Sans;
}

#settingsContent3 p {
    font-family: Open Sans;
}

#navbar .icon {
    display: none;

}

#popup {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

#popup h2 {
  margin-bottom: 1rem;
}

#popup button {
  padding: 0.5rem 1rem;
  border: none;
  color: #fff;
  background-color: #50C878;
  cursor: pointer;
}

#popupborder {
    background: white;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#faq {
    margin: 150px auto;
}

#faq p {
    font-family: Open Sans;
}

#question {
    margin: 75px auto;
}

#question p {
    font-family: Open Sans;
}





@media (max-width: 700px) {
    #uppercontent {
        grid-template-columns: repeat(1, 1fr);
    }
    
    
    #contentbox {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .g1 {
        padding-left: 5%;
    }
    
    #mainSzopa {
        max-width: 100%;
    }
    
    #uppercontent h1 {
        font-size: 48px;
    }
    
    #lowercontent {
        padding-left: 5%;
    }
    
    #contentbox {
        padding-left: 5%;
    }
    
    #asortyment h1 {
        font-size: 48px;
    }
    
    #asortyment {
        padding-left: 5%;
    }
    
    #itemlist {
        padding-left: 5%;
    }
    
    #galeria h1 {
        font-size: 48px;
    }
    
    #galeria{
        padding-left: 5%;
    }
    
    #Forum h1 {
        font-size: 48px;
    }
    
    #Forum {
        padding-left: 5%;
    }
    
    #changelogs h1 {
        font-size: 48px;
    }
    
    #changelogs {
        padding-left: 5%;
    }
    
    #changebox {
        padding-left: 5%;
    }
    
    #regulamin h1 {
        font-size: 48px;
    }
    
    #regulamin {
        padding-left: 5%;
    }
    
    #source h1 {
        font-size: 48px;
    }
    
    #source {
        padding-left: 5%;
    }
    
    #settings {
        padding-left: 5%;
    }
    
    #settingsContent1 {
        padding-left: 5%;
    }
    
    #settingsContent2 {
        padding-left: 5%;
    }
    
    #settingsContent3 {
        padding-left: 5%;
    }
    
    #settingsContent4 {
        padding-left: 5%;
    }
    
    .commentsubmition {
        padding-left: 5%;
    }
    
    .createpost {
        padding-left: 5%;
    }
    
    .commentlist {
        padding-left: 5%;
    }
    
    .separate {
        padding-left: 5%;
    }
    
    #lowercontent2 {
        padding-left: 5%;
    }
    
    #faq {
        padding-left: 5%;
    }
    
    #questionbox {
        padding-left: 5%;
    }
    
    .postinfo {
        padding-left: 5%;
    }
    
    
    
    #popupborder {
    background: white;
    border-radius: 0;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    }

.commentsubmition .form textarea {
    resize: none;
    background-color: white;
    width: 300px;
    height: 125px;
    border-radius: 10px;
    border-color: black;
    border-width: 2px;
    margin: 5px auto;
    outline: none;
    border-style: solid;
    
}


}



@media screen and (max-width: 700px) {
    .navigation a:not(:first-child) {
        display: none;
    }
    #navbar .icon {
         display: flex;
         top: 2.5px;
         right: 25px;
         position: absolute;
    
    }
}

@media screen and (max-width: 700px) {
    
    .responsive {
        display: flex;
        flex-direction: column;
        
    }
    
    .navigation.responsive {
        position: relative;
    }
    .navigation.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
        
    .navigation.responsive a {
        float: none;
        display: flex;
        flex-direction: column;
        text-align: center;
    }
}


