﻿*,
*::before,
*::after {
    box-sizing: border-box
}

:root {
    
    --orange: #e7711b;
    --blue: #1cd7e8;
    --white: #f4f4f4
}

html {
    color-scheme: only light;
    font-family: system-ui;
    min-height: 100lvh;
    background: #002039 url(taust-1920px-2.webp) left bottom no-repeat
}
body {
    margin: 0;
    text-align: center;
    display: grid;
    grid-template-rows: auto 1fr min-content max-content;
}
header {
    position: sticky;
    top: 0;
    color: #f4f4f4;
    background: rgba(0, 32, 57, 1);
    text-shadow: 0 0 4px #000;
    padding-block: 2rem;

    p {
        color: #ff6a00;
        margin-block: 0 auto;
        font-size: 1.1rem
    }
}

h1 {
    margin-block: 0;
    font-size: max(2.4vw, 30px);
    text-transform: uppercase;
    font-weight: 300;
    text-wrap: balance
}

strong {
    font-weight: 600;
    text-transform: uppercase
}

address {
    font-style: normal;
    font-weight: 300;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-evenly;
    width: max-content;
    margin-inline: auto;
    column-gap: 1rem;
    font-size: 1.2rem;
    letter-spacing: .066em;

    a {
        text-decoration: none;
        color: var(--blue);
        padding: .4rem
    }

    a:last-of-type {
        grid-column: 1/-1
    }
}

article:first-of-type {
    background: var(--orange);
    border-radius: 50%;
    width: 328px;
    height: 328px;
    display: grid;
    place-content: center;
    margin-block: 1svh;
    justify-self: center;
    text-wrap: balance
}
article:first-of-type h2, small a {
	color: var(--white);
	background: var(--blue);
	font-weight: normal;
	text-transform: uppercase;
	font-size: 1.3rem;
	padding-inline: 2rem;
	margin-inline: auto;
	border-radius: 2rem;
	text-shadow: 1px 1px 1px #000;
}

table {
    text-align: end;
    margin: auto;
    border-spacing: 1rem 0;
    padding-block-end: .6rem;
    border-block-end: 1px dotted var(--blue)
}

.nb {
    color: var(--white);
    margin-block: .4rem;
    text-shadow: 1px 1px 1px #000
}

aside {
    position: relative;
    h2 {
    display: none
}
}

iframe {
    width: 80%;
    outline: 4px solid #fff;
    border: 0;
    aspect-ratio: 1;
    filter: saturate(0);
    border-radius: 50%;
    margin-inline: auto;
    display: block;
    margin-block: 1rem
}

small {
    position: absolute;
    display: grid;
    justify-content: center;
    height: min-content;
    width: 100%;
    z-index: 999;
    bottom: 0;
    margin-block-end: 5rem;
    a {
    text-decoration: none
}
}
article:last-of-type {
    padding: 1rem;
    text-wrap: balance;
    color: #2b2b2b;

    &:last-of-type h2 {
    display: none
}
}

@media screen and (min-width:700px) {
    body {
        height: 100dvh;
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        place-items: center
    }

    header {
        background: inherit;
        max-width: 600px
    }

    iframe {
        width: 100%;
        min-width: 300px
    }
}

@media screen and (min-width:1300px) {
    html {
        background-size: 100% 110%
    }

body {
	grid-template-columns: repeat(3, 1fr);
	padding-inline: 5vw;
}

    article:first-of-type {
        grid-column: 2/3;
        grid-row: 1/-1
    }

    article:last-of-type {
        align-self: end
    }

    aside {
        grid-row: 1/-1;
        grid-column: 3/4;
        align-self: end;
        margin-block-end: 4vh
    }

    iframe {
        width: 28vw
    }
}