#nadpisBackgroundPortfolio{
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url(../images/vykresy-budova-cihly-pasport-praha.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: unset;
    background-attachment: fixed;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0%;
    margin: 0;
    height: 100vh;
    padding-right: 10px;
}
#nadpisBackgroundPortfolio h1 {
    position: relative;
    top: 80vh;
    color: #fff;
    font-size: 34px;
    font-weight: normal;
    margin-left: 30px;
    margin-bottom: 10px;
}
#nadpisBackgroundPortfolio strong{
    font-weight: normal;
}

 #portfolio{
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: auto;
    margin-top: 0px;
    align-items: center;
    margin-bottom: 100px;
 }
#buttonsTags{
    display: flex;
    flex-direction: row;
    width: 80%;
    margin: auto;
    margin-top: 20px;
    gap: 20px;
    flex-wrap: wrap;
}
.tagButton{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 150px; */
    text-decoration: none;
    height: 35px;
    background: rgba(0, 0, 0, 0.0);
    border: 1px solid #24A669;
    border-radius: 20px;
    padding: 7px 30px;
    cursor: pointer;
    transition: all 0.4s;
}
/* #trh{
    width: 200px;
} */
.tagButton:hover{
    transform: scale(1.1);
}
.tagButton h2 {
    
    font-size: 16px;
    font-weight: normal;
}
.tagButton strong{
    color: #24A669;
    font-weight: normal;
}
#projectsPublic{
    display: flex;
    flex-direction: column;
    width: 70%;
    gap: 20px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 200px;
}
#pLine{
    position: relative;
    left: -10%;
    width: 120%;
    text-align: left;
    border-bottom: 2px solid #24A669;
}
#pLineNo{
    position: relative;
    left: -10%;
    width: 120%;
    text-align: left;
    border-bottom: 2px solid red;
}
#projectsNoPublic{
    display: flex;
    flex-direction: column;
    width: 70%;
    gap: 20px;
    margin: auto;
    margin-top: 50px;
}
.oneProjectCard{
    width: 100%;
    max-height: 60vh;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;

}
.oneProjectCard .tag{
    display: none;
}

.oneProjectCard .onePublicProject{
    display: flex;
    flex-direction: column;
    min-height: 50vh;
    transition: all 0.4s;
}

.oneProjectCard .onePublicProject:hover{
    transform: scale(1.2);
    margin: 30px;
    z-index: 12;
    
}

.image-wrap {
    position: relative;
    height: auto;
  }
.oneProjectCard .onePublicProject img {
    display: block;
    width: 100%;
    max-height: 75vh;
}
.image-wrap .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    pointer-events: none;
    transition: all 1.5s ease;
  }
  .image-wrap .overlay.active {
    background-color:  rgba(0,0,0,0.6);
  }
.oneProjectCard .onePublicProject #textProjektu{
    position: absolute;
    display: flex;
    flex-direction: column;
    z-index: 14;
    margin-left: 20px;
    margin-right: 20px;
    transform: translateY(80%)
}
#textProjektu h2{
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding-bottom: 5px;
    color: #fff;
    opacity: 0.7;
    z-index: 10;
}
#popisClanku{
    z-index: 10;
    color: #fff;
    font-size: 14px;
    word-wrap: break-word;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.02em;
    opacity: 0;
    visibility: hidden;
    height: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 10px;
}
.oneProjectCard .onePublicProject:hover #textProjektu{
    z-index: 10;
  transform: translateY(0%);
  transition: transform 1s;
}
.oneProjectCard .onePublicProject:hover #textProjektu h2{
    z-index: 10;
    opacity: 1;
    transition: opacity 2s;
}
.oneProjectCard .onePublicProject:hover #popisClanku{
    /* display: flex; */
    z-index: 10;
    height: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    opacity: 1;
    visibility: visible; 
    transition: opacity 2s , visibility 2s;
}
#tlacitka{
    display: flex;
    flex-direction: row;
    padding-top: 20px;
    z-index: 1000;
}

#nepublikovat{
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px;
    text-decoration: none;
    text-align: center;
    width: 120px;
    height: 35px;
    background: red;
    border-radius: 20px;
    border: none;
    color: white;
    font-size: 16px;
    transition: all 0.4s;
}
#nepublikovat:hover{
    background: rgb(192, 0, 0);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
}
#publikovat{
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px;
    text-decoration: none;
    text-align: center;
    width: 120px;
    height: 35px;
    background: #24A669;
    border-radius: 20px;
    border: none;
    color: white;
    font-size: 16px;
    transition: all 0.4s;
}
#publikovat:hover{
    background: #017644;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
}
#smazat{
    cursor: pointer;
    margin-top: 10px;
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px;
    text-decoration: none;
    text-align: center;
    width: 150px;
    height: 35px;
    background: red;
    border-radius: 20px;
    border: none;
    color: white;
    font-size: 16px;
    transition: all 0.4s;
}
#smazat:hover{
    background: rgb(192, 0, 0);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
}

/*--------- otázka na publikaci -----------*/
#yesReally{
    position: fixed;
    top: 280px;
    left: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
    z-index: 7;
    margin-top: 70px;
    margin: auto;
    padding: 20px 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
}
#yesReally p{
    text-align: center;
    color: #fff;
    padding-bottom: 2px;
    border-bottom: 1px solid #24A669;
}
#tlacitkaNewsletter{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#yesReally #odeslat{
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px;
    text-decoration: none;
    text-align: center;
    width: 100px;
    height: 35px;
    border-radius: 20px;
    background: #24A669;
    border: none;
    color: white;
    font-size: 16px;
    transition: all 0.4s;
}
#yesReally #odeslat:hover{
    background: #017644;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
}
#no{
    cursor: pointer;
    margin-top: 10px;
    padding: 7px;
    margin-left: 40px;
    text-decoration: none;
    text-align: center;
    width: 140px;
    height: 35px;
    border-radius: 20px;
    background: red;
    border: none !important;
    color: white;
    font-size: 16px;
    transition: all 0.4s;
}
#no:hover{
    background: rgb(192, 0, 0);
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
}

/* ----------queries-------- */
@media only screen and (max-width: 1280px){
    #projectsPublic{
        width: 80%;
    }
}
@media only screen and (max-width: 1050px){
    #projectsPublic{
        width: 85%;
    }
}
@media only screen and (min-width: 880px){
    
    .oneProjectCard{
        margin-bottom: 100px !important;
    }
    .oneProjectCard .onePublicProject{
        min-height: 50vh !important;
    }
}
@media only screen and (max-width: 880px){
    #projectsPublic{
        gap: 0px;
    }
    .oneProjectCard{
        margin-bottom: 0px !important;
    }
    .oneProjectCard .onePublicProject{
        min-height: auto !important;
    }
    .oneProjectCard .onePublicProject img {
        max-height: 50vh;
    }
}
@media only screen and (max-width: 810px){
    #pLine{
        left: 0%;
        width: 100%;
    }
    #nadpisBackgroundPortfolio h1{
        font-size: 30px;
    }
    #portfolio{
        width: 100%;
        padding: 5px;
    }
    #projectsPublic{
        width: 85%;
    }
    #textProjektu h2{
        font-size: 18px;
    }
    #popisClanku{
        font-size: 12px;
    }
}
@media only screen and (max-width: 580px){
    #nadpisBackgroundPortfolio h1{
        font-size: 26px;
    }
    #buttonsTags{
        width: 100%;
        margin: auto;
        justify-content: left;
        padding-left: 7%;
        margin-top: 20px;
        gap: 15px;
        flex-wrap: wrap;
    }
    .tagButton{
        margin-top: 20px;
        height: 35px;
        border-radius: 20px;
        padding: 7px 15px;
    }
    .oneProjectCard .onePublicProject img {
        max-height: 40vh;
    }
    #popisClanku{
        font-size: 10px;
    }
}
@media only screen and (max-width: 490px){
    #textProjektu h2{
        font-size: 16px;
    }
    #popisClanku{
        font-size: 8px;
    }
    .oneProjectCard .onePublicProject img {
        max-height: 30vh;
    }
}
@media only screen and (max-width: 410px){
    #buttonsTags{
        width: 100%;
        margin: auto;
        justify-content: left;
        padding-left: 2.5%;
        margin-top: 20px;
        gap: 7px;
        flex-wrap: wrap;
    }
    #projectsPublic{
        width: 95%;
    }
    #textProjektu h2{
        font-size: 11px;
    }
    #popisClanku{
        font-size: 8px;
        font-weight: 100;
        line-height: 1.2;
        letter-spacing: 0.01em;
        visibility: hidden;
        height: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
        padding-bottom: 10px;
    }
}
@media only screen and (max-width: 380px){
    #buttonsTags{
        gap: 0px;
    }
    .tagButton{
        transform: scale(0.9);
    }
}
@media only screen and (max-width: 360px){
    .tagButton{
        transform: scale(0.8);
    }
}