@font-face {
    font-family: Tekst;
    src: url("fondid/mulish.ttf");
}

@font-face {
    font-family: Lingid;
    src: url("fondid/electrolize.ttf")
}

* {
    font-family: "Tekst", fantasy;
    color: hsl(0, 0, 15%);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 2rem auto 0;
    background: #f5f5f5;
}

a {
    font-family: "Lingid", 'Courier New', Courier, monospace;
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: 0.1s;
}

a:hover {
    color: gray;
    transform: scale(1.02);
}

#sisukord {
    max-width: 20rem;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    row-gap: 1.25rem;
}

#laiekraan {
    max-width: 100rem;
    margin: auto;
}

#galerii {
    display: none;
}

#sisu {
    max-width: 35rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: auto;
}

#pealkiri {
    text-transform: uppercase;
    text-align: center;
    font-size: 2rem;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #fff, #29313f, #fff) 1;
    padding-bottom: 0.25rem;
}

#alapealkiri {
    text-transform: none;
    font-size: 0.9rem;
    padding-bottom: 0.25rem;
}

.sisuviide {
    text-transform: uppercase;
    width: 50%;
}

.lõik {
    margin-top: 2rem;
}

.jutt {
    margin-top: 1rem;
}

.raam {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
}

.pilt {
    max-width: 90%;
    max-height: 25rem;
    border: 0.1rem solid white;
    border-radius: 1em 10px 2rem 5px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.teenus {
    background-color: hsla(0, 0%, 23%, 0.15);
    color: hsl(0, 0%, 25%);
    margin-top: 2rem;
    padding: 0.5rem;
    font-weight: bold;
    text-align: center;
}

.tsitaat {
    font-style: italic;
}

.broneeri {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ikoon {
    height: 1rem;
}

.kontaktlink {
    font-weight: bold;
    text-decoration: underline;
}

footer {
    border-top: 3px solid;
    border-image: linear-gradient(90deg, #fff, #29313f, #fff) 1;
    margin: 3rem 3rem 1rem;
    padding: 2rem 0 1rem;
}

#jalus {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: auto;
}

.jaluserida {
    margin-top: 0.5rem;
}

#jalusepilt {
    width: 6rem;
}

@media screen and (min-width: 70rem) {
    body {
        font-size: 1.5rem;
    }

    #pealkiri {
        font-size: 3.5rem;
    }

    #alapealkiri {
        font-size: 1.5rem;
        padding-bottom: 1rem;
    }

    #laiekraan {
        display: grid;
        grid-template-columns: 60% auto;
    }

    #galerii {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    #sisu {
        max-width: 70rem;
    }

    #sisukord {
        padding: 1rem 0;
        max-width: 70rem;
    }

    .sisuviide {
        width: 25%;
    }

    .lõik {
        margin-top: 5rem;
    }

    .jutt .raam {
        display: none;
    }

    .pilt {
        max-width: 25rem;
        max-height: none;
    }
}