* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 200vh;
    font-family: 'Saira Condensed', sans-serif;
}

nav {
    position: fixed;
    width: 100%;
    height: 50px;
    background-color: rgba(255, 255, 255);
    z-index: 1;
}

nav ul {
    display: flex;
    justify-content: flex-end;
}

nav ul li {
    width: 100px;
    font-weight: 300;
    list-style: none;
    font-size: 1.5em;
    line-height: 50px;
    text-align: center;
}

nav ul li a {
    text-decoration: none;
    color: black;
}

nav ul li a:hover {
    cursor: pointer;
    color: red;
}

header {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url(../images/book.jpg);
    background-size: cover;
    background-position-x: center;
    background-attachment: fixed;
    margin: 0 auto;
    color: #555;
}

header aside {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 45%;
}

header div img {

    position: absolute;
    width: 15%;
    margin: 80px 25vw 0;
}

header h1 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 8vw;
    line-height: 7vw;
}

header h2 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 4.5vw;
    line-height: 4.2vw;
}

section.chapter {
    margin: 50px auto;
    width: 90%;

}

h1.sec {
    font-weight: 100;
    font-size: 70px;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
}

.chapter h2 {
    margin-top: 40px;
    font-weight: 100;
    font-size: 40px;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    background-color: rgba(255, 0, 0, .5);
}

div.quote {
    font-family: 'Courgette', cursive;
    width: 100%;
    background-color: #555;
    color: white;
}

.quote p {
    text-align: center;
    font-size: 30px;
    font-style: italic;
    margin: 50px 0;
    padding: 50px 10px 0;
}

p.author {
    text-align: right;
    font-size: 20px;
    margin: 50px 50px 50px 0;
    padding: 10px;
}

p.about {
    font-size: 23px;
    text-indent: 2em;
}

div.swarn,
div.ordinary {
    margin-top: 10px;
}

div.special {
    margin-top: 40px;
}

div.swarn,
div.special,
div.ordinary {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

div.swarn p {
    background-color: rgba(235, 75, 75, 0.3);
    height: 20vh;
}

div.ordinary p,
div.special p {

    background-color: #ddd;
    height: calc(20vh + 10px);
}

div.swarn p,
div.special p,
div.ordinary p {
    padding: 5vh 5%;
    width: calc(50% - 5px);
    text-align: center;
    font-size: 20px;
}

div p.sort {
    line-height: 10vh;
    font-size: 30px;
    text-transform: uppercase;

}

@media(max-width:1100px) {
    div p.sort {
        line-height: 100%;
        font-size: 30px;
    }
}

h2.oral {
    margin: 40px auto 0;
    width: 60%;
}

p.oral {
    width: 60%;
    line-height: 10vh;
    text-align: center;
    font-size: 20px;
    background-color: #ddd;
    margin: 10px auto 0;
}

div.clause {

    margin-top: 20px;
    padding: 5vh 5%;
    width: 100%;
    text-align: center;
    font-size: 25px;
    color: white;
    background-color: red;
}

table.prices {
    border-collapse: collapse;
    width: 100%;
}

.prices td {
    border: 1px solid #aaa;
    text-align: center;
    padding: 8px;
}

.prices tr:nth-child(even) {
    background-color: #ddd;

}

.prices td.big {
    color: red;
    font-size: 30px;
    text-transform: uppercase;
}

section.wrap {
    display: flex;
    flex-wrap: wrap;

}

/* bussiness card */


div.bussCard {
    margin-top: 40px;
    height: 50vh;
    width: 50%;
    text-align: center;
    background-color: #555;
    color: #bbb;
}

div.bussCard.red {
    background-color: rgba(235, 75, 75, 1);
    color: white;

}

table.bussCard {
    table-layout: auto;
    width: 100%;
    height: 100%;
    padding: 5% 10%;
    font-size: 100%;
}


.bussCard td:nth-child(1) {
    text-align: center;
}

.bussCard td:nth-child(2) {
    padding-left: 5%;
    text-align: left;
}

td.name {
    color: white;
    font-size: 150%;
    line-height: 80%;
}

td a {
    color: white;
    text-decoration: none;
}

td a:hover {
    color: #888;

}

div.bussCard.red td a:hover {
    color: black;

}


/* mapa */
aside.map {
    width: 50%;
    margin-top: 40px;
}

div.google-maps {
    position: relative;
    padding-bottom: 50vh;
    height: 0;
    overflow: hidden;
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

footer {
    text-align: center;
    height: 50px;
    width: 100%;
    background-color: #555;
    color: white;
}

footer p {
    line-height: 50px;
    margin: 0 auto;

}

@media (max-width:800px) {

    nav ul li {
        width: 19%;
        font-size: 1.2em;
    }

    h1.sec {
        font-size: 50px;
    }

    div.swarn p {
        height: auto;
    }

    div.swarn,
    div.special,
    div.ordinary {
        display: block;
    }

    div.swarn p,
    div.special p,
    div.ordinary p {
        padding: 0;
        line-height: 200%;
        width: 100%;
        margin-bottom: 10px;
    }

    div p.sort {
        font-size: 30px;
        line-height: 200%;
    }

    div.ordinary p,
    div.special p {
        height: auto;
    }

    h2.oral {
        width: 100%;
    }

    p.oral {
        width: 100%;
        line-height: 150%;
    }

    section.wrap {
        flex-direction: column;
    }

    aside.map {
        width: 100%
    }

    div.bussCard {
        width: 100%;
    }
}

@media (max-width: 640px) {
    header aside {
        left: 30%;
    }

    header div img {
        width: 20%;
        margin: 80px 7vw 0;
    }

    header h1 {
        font-size: 12vw;
        line-height: 9vw;
    }

    header h2 {
        font-size: 6.75vw;
        line-height: 6.75vw;
    }
}