@import url(reset.css);
@import url(bodyborder.css);

html {
    color: #48504e;
    background: #ffc107 url(./assets/tlo.jpg) fixed no-repeat;
    background-size: contain;
    font-size: 62.5%;
    font-family: 'Playfair Display', serif;
}

.orange {
    color: #ffc107;
}
.grey { 
    color: #48504e;
}

.lightgrey {
    color: #d4d4d3;
}

h1 {
    font-size: 3.7rem;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3.5rem;
    margin: 4.0rem;
    display: inline-block;
    border-top-left-radius: 2rem;
}

h2 {
    font-size: 2.7rem;
}

h3 {
    font-size: 3.1rem;
}

h3, h2 {
    color: #fff;
    background-color: #48504e;
    padding: 1.5rem;
    display: inline-block;
}

h4 {
    font-size: 2rem;
    padding: 2rem 1rem;
}

p {
    font-size: 1.8rem;
    line-height: 1.55;
}

ul {
    font-size: 2.3rem;
    line-height: 1.75;
}

footer p {
    font-size: 0.55rem;
    color: #d4d4d3;
    margin-right: 15px;
}

strong {
    font-weight: bold;
}

em {
    background-color: rgba(255, 255, 255, 0.9);
}

.summary {
    font-size: 2.4rem;
    font-style: italic;
}

.dot {
    width: 1rem;
    height: 1rem;
    background-color: #48504e;
    margin: 3rem auto;
    border-radius: 2rem;
}

.deleted {
    text-decoration: line-through;
}

.button-more {
    display: inline-block;
    border-width: 1px;
    border-style: dashed;
    border-color: black;
    font-size: 3rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    position: absolute;
    right: 0;
    bottom: 20px;
    color: #48504e;
}

header {
    display: none;
    background: #48504e;
    color:#fff;
    padding: 0;
    width: 100%;
    overflow: hidden;
    padding-bottom: 50px;
}

nav {
    float: right;
}

.head-left {
    width: 50%;
    padding-left: 10%;
    box-sizing: border-box;
}

.head-right {
    width: 50%;
    padding-right: 15%;
    box-sizing: border-box;
}

nav li {
    text-align: right;
    font-size: 18.4px;
    background: url(./assets/strzalka.svg) right no-repeat;
    background-size: 20px;
    padding-right: 4rem;
    line-height: 2rem;
    margin-bottom: 2rem;
}

form {
    float: left;
    width: 40rem;
}

input, textarea {
    width: 100%;
    background: none;
    border: 2px #d4d4d3 solid;
    margin-top: 0.5rem;
    padding: 1rem;
    color: #fff;
    font-size: 1.7rem;
    box-sizing: border-box;

}

input:first-child, 
textarea:first-child {
    margin-top: 0;
}
button {
    background: #ffc107;
    border: none;
    padding: 2rem 6rem;
    margin: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    float: right;
    cursor: pointer;
    margin-top: 1rem;
    margin-right: 0rem;
}

.menu {
    background: #fff url(./assets/menu.svg) center no-repeat;
    margin: 1rem;
    padding: 1rem;
    height: 3.2rem;
    position: fixed;
    width: 3.2rem;
    right: 0;
    z-index: 999;
    transition: all 0.5s ease;
}

.menu:hover {
    transform: scale(1.5);
    transition: all 1.5s ease;
}

body {
    position: relative;
}

.hoverme:hover header {
    display: block;
    position: absolute;
    z-index: 99;
}

footer {
    position: fixed;
    bottom: 0;
    right: 0;
    background: #fff;
    padding: 0.3rem;
    z-index: 6;
}

section {
    width: 50%;
    min-width: 600px;
    max-width: 850px;
    position: absolute;
    right: 5%;
}

article {
    margin-bottom: 6rem;
}

hgroup {
    margin-left: -25%;
    position: relative;
    display: inline-block;
}

h3 {
    position: absolute;
    right: 0;
    bottom: 5%;
}

figure {
    margin-left: -15%;
    float: left;
    margin-top: 20%;
}

.text {
    padding-top: 4rem;
    column-count: 2;
    text-align: justify;
}

@media all and (max-width: 1350px) {

    html {
        background: #ffc107;
    }

    section {
        width: 77%;
    }

    .bg {
        background: url(./assets/bg.jpg) fixed no-repeat;
        height: 300px;
    }

    header {
        height: auto;
        width: 100%;
    }
    
    form {
        /* width: 100%; */
    }

    header li {
        /* font-size: 80%; */
        width: 100%;
        margin: 3rem auto;
    }

    header li:first-child {
        margin-top: 0rem;
    }

    figure {
        margin-bottom: 10%;
    }
}

@media all and (max-width: 800px) {
    hgroup {
        margin-left: 0;
    }

    figure {
        display: none;
    }

    header {
        height: auto;
        width: 100%;
    }    

    section {
        width: 90%;
        min-width: 300px;
        max-width: 850px;
        position: absolute;
        right: 10%;
        left: 5%;
    }

    .text {
        column-count: 1;
        text-align: justify;
        margin-bottom: 10rem;
    }

    .head-right {
        width: 100%;
    }

    header li {
        width: 100%;
    }
}



@media all and (max-width: 768px) {
    .head-left {
        padding-top: 50px;
        width: 100%;
    }
    
    form {  
        width: 90%;
    }
}
@media all and (max-width: 1021px) {
    .head-right {
        padding-top: 30px;
        width: 100%;
    }
}