@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Judson:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --beige: #E3DEC9;
    --black: #282828;

    --title: "Judson", sans-serif;
    --text: "Jost", sans-serif;
}

* {
    padding: 0;
    margin: 0;

    box-sizing: border-box;
}

* {
    padding: 0;
    margin: 0;
    color: var(--black);
    font-family: var(--text);
}

body {
    background-color: var(--beige);
}

h1 {
    font-family: var(--title);
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px;
}

nav div {
    display: flex;
    gap: 10px;
}

nav a {
    text-decoration: none;
}

header {
    background-image: url("const_img/placeholder.png");
    background-size: cover;
    background-position: center;
    height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

header img {
    width: 101%;
    transform: translateY(10px);
}

header .text * {
    text-align: center;
    color: var(--beige);
    transform: translateY(35vh);
}

header h1 {
    font-size: 32pt;
}

header p {
    font-size: 16pt;
}

main {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-left: 500px;
    padding-right: 500px;
    gap: 80px;
}

@media (orientation: portrait) {
    main {
        padding-left: 50px;
        padding-right: 50px;
    }
}

main h1 {
    font-size: 35pt;
    text-align: center;
}

.about {
    display: flex;
    align-items: center;
    gap: 20px;
}

.atelier-pre {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 60px;
}

.atelier-item {
    width: 200px;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    padding: 15px;
    border-radius: 15px;
}

.atelier-item div {
    display: flex;
    justify-content: space-between;
}

.atelier-item * {
    color: #ffffff;
}

.kontakt {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 80px;
}

.kontakt div {
    width: 500px;
}

.kontakt h1 {
    font-size: 25pt;
    text-align: left;
}

.seznam {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.seznam p {
    display: flex;
    justify-content: left;
    gap: 20px;
    align-items: center;
}

.seznam img {
    width: 50px;
}

.form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.dir {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: stretch;
}

.dir input {
    width: calc(50% - 5px);
}

.sir {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: stretch;
}

.sir input, .sir textarea {
    width: calc(100%);
    resize: none;
}

input, textarea {
    background-color: #FDF5D3;
    border: #D1CCB9 solid 5px;
    padding: 9px;
    border-radius: 8px;
    outline: none;
}

textarea {
    height: 130px;
}

.form form button {
    border: #cbc6b4 solid 5px;
    background-color: var(--black);
    color: var(--beige);
    border-radius: 8px;
    padding: 9px;
    cursor: pointer;
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 60px;
    background-color: var(--black);
    align-items: center;
}

footer * {
    color: var(--beige);
}

.atelier-row {
    display: flex;
    gap: 20px;
}

@media (orientation: portrait) {
    header {
        height: 30vh;
    }
    header .text * {
        transform: translateY(1vh);
    }
    .kontakt {
        flex-direction: column;
        gap: 50px;
    }
    .about {
        flex-direction: column;
    }
    .kontakt div {
        width: 100%;
    }
}