@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,500;1,700&display=swap');

 /**
 Upozorneni!!
 Tento css ctete na vlastni nebezpeci! Za bolest hlavy ze cteni teto nadhery nerucime.
 **/

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Montserrat, sans-serif;
}

a  {
    color: unset;
}

a:hover {
    text-decoration: none;
}

header {
    background-image: url(images/vacice1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    height: 100vh;
    position: static;
    display: flex; /** nevim jak to fachci ale je to takova zazracna vec :) **/
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.bignadpis {
    text-align: center;
    font-size: 20vw;
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    flex: 5;
    display: flex; /** tohle jsem treba nepobral proc a jak to funguje ale proste kdyz neco nejde jak ma tak tam narvu flex a pak to najednou fachci lol **/
    align-items: center;
    justify-content: center;
    
}

header h2 {
    color: white;
    color: rgba(255, 255, 255, 0.8);
    font-size: 4vw;
    flex: 1; 
    margin: 0;
}

main {
    /* background-color: whitesmoke; */
    background-color: #dfd7d0;
    /* color: #423c35; */
    color: #161517;
    overflow: auto;
}

.txtimgveci {
    display: flex; /** hele dalsi flex **/
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    max-width: max(60%,1000px);
    padding: 1rem;

    border-radius: 36px;
    background: #dfd7d0;
    box-shadow:  20px 20px 60px #beb7b1,
                -20px -20px 60px #fff7ef;
}

img {
    max-width: 100%;
    border-radius: 16px;
}

.txtimgveci img {
    /* box-shadow: #A29890 0 0 5px 2px; */
    box-shadow:  20px 20px 60px #beb7b1,
    -20px -20px 60px #fff7ef;
    padding: 16px;
    border-radius: 24px;
}

.txtimgveci .image {
    flex: 2;
    margin: 16px;
    
}

.txtimgveci .text {
    flex: 3;
    margin: 16px;
}

.txtimgveci .text h2 {
    font-size: 3em;
    margin: 16px 0;
}

.purpel { /** jmenuje se purpel protoze puvodne mel byt purple ale bohuzel nestalo se tak **/
    /* background-color: #1c2833; */
    background-color: #161517;
    box-shadow: #39323f 0 0 5px 2px;
    color:  #d5d8dc;
    padding: 2rem;
}

.aaaa { /** nevim jak pojmenovat divy a zacinam slyset hlasy **/
    max-width: max(60%,1000px);
    margin: auto;
}

.aaaa div {
    display: flex; /** nechapu jak ale funguje to takze tam je flex :) **/
    flex-direction: column;
    align-items: center;
}

.aaaa h2 {
    font-size: 3.5em;
    margin: 2rem 0;
    text-align: center;
}

.aaaa h3 {
    font-size: 2em;
    margin: 1rem 0;
    text-align: center;

}

.aaaa p {
    text-align: center;
}

.purpel img {
    box-shadow: 9px 9px 18px #090809, -9px -9px 18px #232225;
    padding: 16px;
    border-radius: 40px;
    
}

p {
    text-align: justify;
}


.smol {
    font-size: small;
}


footer {
    background-color: #252525;
}

footer div {
    margin: auto;
    padding: 16px 0;
    color: #b4b4b4;
    text-align: center;
    font-size: 0.9em;

}

@media (max-width: 800px) {
    .txtimgveci {
      flex-direction: column;
    }
    .txtimgveci img {
        max-width: 100%;
    }
}




#buttonek { /**zapujceno z internetu **/
    padding-left: 33px;
    padding-right: 33px;
    padding-bottom: 16px;
    padding-top: 16px;
    margin-top: 16px;
    border-radius: 9px;
    background: #d5f365;
    border: none;
    font-family: inherit;
    text-align: center;
    font-size: 1.5em;
    cursor: pointer;
    transition: 0.4s;
}
   
#buttonek:hover {
    box-shadow: 7px 5px 56px -14px #C3D900;
}
   
#buttonek:active {
    transform: scale(0.97);
    box-shadow: 7px 5px 56px -10px #C3D900;
}