:root{
    --font-size: 12em;
    --letter-spacing: 0em;
    --line-height: 1.1;
}

#main {
    flex-grow: 1;
    position: relative;
    color: white;
    font-family: "Mandator";
    top: 120px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}
#first, #second{
    height: 100vh;
    padding-bottom: 30px;
    display: flex;
    flex-direction: row;
}
.container{
    position: relative;
    margin-left: 75px;
    margin-right: 30px;
    display: flex;
    flex-direction: row;
    width: calc(100% * (1 / 3));
}
.text-holder{
    width: 100%;
    display: flex;
    flex-direction: column;
}
h1{
    font-size: 3rem;
    position: relative;
    padding-bottom: 45px;
}
h2{
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
}


p{
    margin: 0;
    width: 400px;
    line-height: 1.55rem;
    font-size: 1rem;
    line-break: normal;
    text-indent: 50px;
    color: rgba(255, 255, 255, 0.75);
}
.image-container{
    width: calc(100% * (3 / 3));
    position: relative;
    margin-left: 30px;
    margin-right: 75px;
}
img{
    width: 100%;
}

@media(max-width: 800px){
    #main{
        top: 60px;
    }
    #first, #second{
        padding-bottom: 30px;
        display: flex;
        flex-direction: column;
        position: relative;
        height: 100%;
        width: 100%;
    }
    .container{
        position: relative;
        margin-left: 30px;
        margin-right: 30px;
        display: flex;
        flex-direction: row;
        width: auto;
    }
    p{
        width: auto;
        text-indent: 20px;
    }
    h2{
        padding-bottom: 0px;
    }
    .image-container{
        width: auto;
        position: relative;
        margin-left: 30px;
        margin-right: 30px;
        margin-top: 20px;
    }

}

textarea.headline-input{
    font-family: "HouseSans";
    font-size: var(--font-size);
    color: #a40e4c;

    height: 400px;
    max-width: 1200px;
    min-width: 1000px;

    outline: none;
    border: none;
    background: transparent;
    resize: none;

    letter-spacing: var(--letter-spacing);
    line-height: var(--line-height);

    white-space: pre-wrap;   /* klíčové */
    overflow-wrap: break-word;
}

.headline-input::selection {
    color: #64666c;
    background: #323232;
}