/* Fonts – Helvetica Neue */
@font-face {
    font-family: "Helvetica Neue";
    src: url("../assets/fonts/HelveticaNeue-Thin.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("../assets/fonts/HelveticaNeue-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("../assets/fonts/HelveticaNeue.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("../assets/fonts/HelveticaNeue-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("../assets/fonts/HelveticaNeue-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

/* @font-face {
    font-family: HelveticaNeue;
    src: url("./assets/fonts/HelveticaNeueRegular.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("./assets/fonts/HelveticaNeue-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap
} */

:root {
    /* Kolory z CMYK */
    --gulf-navy-blue: #113579;
    --gulf-sky-blue: #BDE2F4;
    --gulf-orange: #F36F21;
    /* Kolory ze strony marine.gulfoilltd.com */
    --gulf-navy-blue: #002776;
    --gulf-sky-blue: #b9d9eb;
    --gulf-orange: #ff6319;
}

html {
    scroll-behavior: smooth;
}

body {
    /* font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif; */
    font-family: "Helvetica Neue", sans-serif;
    font-size: 1rem;
    margin: auto;
    padding: 0;
    text-align: left;
    background-color: #ffffff;
    color: #000000;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8rem;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--gulf-navy-blue);
    margin-top: 0;
    text-rendering: optimizelegibility;
}

h1 {
    margin: 0;
    line-height: 1;
}

h2 {
    font-size: 2.625rem;
    line-height: 1.2;
}

.post h2 {
    margin-top: 1.15em;
    margin-bottom: 0.575em;
}

p {
    margin-top: 0;
}

header {
    width: 100%;
    color: var(--gulf-navy-blue);
    padding: 1rem 2rem;
}

header a {
    color: var(--gulf-navy-blue);
    font-size: 1.125rem;
    font-weight: 400;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
}

header a:before {
    content: "";
    position: absolute;
    bottom: 10px;
    width: 100%;
    height: 2px;
    background-color: var(--gulf-orange);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left center;
    transform-origin: left center;
    -webkit-transition: -webkit-transform .35s cubic-bezier(.215, .61, .355, 1);
    transition: transform .35s cubic-bezier(.215, .61, .355, 1);
    transition: transform .35s cubic-bezier(.215, .61, .355, 1), -webkit-transform .35s cubic-bezier(.215, .61, .355, 1)
}

header a:active,
header a:focus,
header a:hover {
    color: var(--gulf-orange);
}

nav {
    display: flex;
    gap: 0.5rem;
}

section {
    width: 100%;
}

ul li::marker {
    color: var(--gulf-orange);
    font-size: 1.5rem;
}

.blog ul {
    list-style: none;
    padding-left: 0;
}

.blog ul li:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.blog ul li {
    font-size: 1.25rem;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.blog ul li a {
    text-decoration: none;
}

.group {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.content {
    max-width: 744px;
    margin: 0 auto;
    padding: 0 2rem;
}

.limit {
    max-width: 680px;
}

.content-wide {
    max-width: 1344px;
    margin: 0 auto;
    padding: 0 2rem;
}

.alignwide {
    max-width: 1344px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact {
    background-image: url("./assets/img/brand-corner-1.png");
    background-color: rgba(0, 0, 0, 0.04);
    min-height: 400px;
    background-position: top right;
    background-repeat: no-repeat;
    /* background-size: cover; */

    max-width: 100%;
    margin: 0 auto;
    padding: 8rem 0;
}

.aligncenter {
    text-align: center;
}

.alignright {
    text-align: right;
}

.white {
    padding: 2rem;
}

.gray {
    background-color: rgba(0, 0, 0, 0.04);
    padding: 2rem;
}

.orange {
    color: var(--gulf-orange);
}

.navy-blue {
    color: var(--gulf-navy-blue);
}

.lead {
    font-size: 1.25rem;
}

.border {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.arrow::before {
    content: "\27A1";
    content: "\279C";
    content: "\2714";
    color: #FFCC00;
    margin-right: 1rem;
}

.border-left {
    border-left: 8px solid #FFCC00;
    padding-left: 1rem;
}

/* .logo {
    display: block;
    width: 100%;
    max-width: 292px;
    height: 64px;
    margin-bottom: 3rem;
} */

a {
    color: var(--gulf-navy-blue);
    font-weight: 700;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

a:hover {
    color: var(--gulf-orange);
}

a.logo {
    padding: 0;
}

figure {
    position: relative;
    margin: 0;
}

figcaption {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #666666;
    font-size: 0.875rem;
    letter-spacing: 1px;
    padding: 0.25rem 0.5rem;
    z-index: 99;
}

img {
    display: block;
    margin: 0;
    width: 100%;
}

h3 {
    margin-bottom: 0.3em;
}

hr {
    height: 1px;
    margin: 2.125rem 0;
    border: 0;
    /* border-top: 1px solid rgba(0, 0, 0, .1); */
    /* border-top: 1px solid #e1e1e1; */
    border-top: 1px solid #c8c9ca;
    border-bottom: 0 none;
}

.title {
    font-size: 3.5rem;
    margin: 0 auto 2.5rem;
}

.when-where {
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0;
}

.zero {
    margin-bottom: 0;
}

/* Table */

table {
    width: 100%;
    /* font-size: 1rem;
    font-weight: 400; */
    line-height: 1.6;

    border-collapse: collapse;

    /* display: table;
    box-sizing: border-box;
    text-indent: initial;
    border-spacing: 2px;
    border-color: gray; */
}

thead {
    color: var(--gulf-navy-blue);
}

table tr {
    border-bottom: 1px solid;
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

table td {
    padding: 0.5rem 0;
}

.bold {
    color: var(--gulf-navy-blue);
    font-weight: bold;
}

/* Buttons */
.buttons {
    margin: 2rem 0;
}

.button a,
.button-medium a,
.button-big a {
    background-color: var(--gulf-orange);
    border-radius: 0.33rem;
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    text-decoration: none;
}

.button a:hover,
.button-medium a:hover,
.button-big a:hover {
    background-color: var(--gulf-navy-blue);
    color: #ffffff;
}

.button-medium a {
    font-size: clamp(1.5rem, 0.786rem + 1.905vw, 2.5rem);
    padding: 0.25em 0.5em;
}

.button-medium a.mail-link {
    font-size: clamp(1.25rem, 0.357rem + 2.381vw, 2.5rem);
    padding: 0.25em 0.5em;
}

.button-big a {
    font-size: clamp(1.39rem, 1.39rem + ((1vw - 0.2rem) * 0.767), 1.85rem);
    font-size: clamp(2.5rem, 4.5vw, 4.25rem);
    padding: 0.25em 0.5em;
}

.button+.button {
    margin-top: 2rem;
}



/* Columns */
.columns {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2rem;
}

.column {
    flex: 0 0 calc(33.3333% - 1.3333rem);
}

/* Accordion */
details {
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* border-radius: 0.25rem; */
    margin: 0.5rem 0;
    /* transition: all 0.4s ease; */
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

summary {
    position: relative;
    padding: 0.75rem 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
}

/* summary h4 {
    font-size: 1.25rem !important;
} */

summary:hover {
    cursor: pointer;
    /* background-color: #ffb400; */
}

details h4 {
    font-weight: 600;
}

details>summary>* {
    display: inline;
}

details[open] summary {
    background-color: rgba(0, 0, 0, 0.04);
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.1); */
}

/* details[open] summary::after {
    content: "";
    width: calc(100% - 2.5rem);
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    background-color: #FFCC00;
    height: 1px;
} */

/* details>summary:after {
    content: "\2192";
    float: right;
} */

/* details[open]>summary:after {
    content: "\2193";
    float: right;
} */

.accordion-content {
    padding: 1.25rem;
    background-color: rgba(255, 255, 255, 0.2);
}

.accordion-content p {
    margin: 0;
}

.accordion-content p+p {
    margin-top: 1em;
}

/* Footer */
footer {
    background-color: var(--gulf-navy-blue);
    color: #ffffff;
    font-size: 0.875rem;
    text-align: center;
    padding: 2rem;
    margin-top: 8rem;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* @media (min-width: 768px) {}
@media (min-width: 992px) {}
@media (min-width: 1200px) {} */

/* @media (min-width: 768px) {
    .group {
        justify-content: space-between;
    }
} */

@media (min-width: 768px) {
    .columns {
        flex-direction: row;
    }

    .column {
        flex: 0 0 calc(50% - 1rem);
    }

    .lead {
        padding-right: 100px;
    }
}

@media screen and (max-width: 600px) {
    table {
        border: 0;
    }

    table caption {
        /* font-size: 1.3em; */
    }

    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table tr {
        /* border-bottom: 3px solid rgba(0, 0, 0, 0.2); */
        border-bottom: 1px solid var(--gulf-navy-blue);
        display: block;
        margin-bottom: 2rem;
    }

    table td {
        border-bottom: 1px solid #ddd;
        display: block;
        /* font-size: .8em; */
        text-align: left;
    }

    table td::before {
        content: attr(data-label);
        color: var(--gulf-navy-blue);
        float: left;
        font-weight: bold;
        /* min-width: 100px; */
        min-width: 10ch;
    }

    table td:last-child {
        border-bottom: 0;
    }
}


.cover {
    position: relative;
    width: 100%;
    aspect-ratio: 640 / 505;
    /* proporcje np. 16:9 */
    overflow: hidden;
}

@media (min-width: 576px) {
    .cover {
        position: relative;
        width: 100%;
        aspect-ratio: 3 / 4;
        aspect-ratio: 2500 / 685;
        /* np. bardziej pionowe */
    }
}

img.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
}

img.overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
    z-index: 2;
}

@media (max-width: 575px) {
    .show-in-desktop {
        display: none;
    }
}

@media (min-width: 576px) {
    .show-in-mobile {
        display: none;
    }
}


/* @media screen and (max-width: 600px) {

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
    }

    td {
        border: none;
        position: relative;
        padding-left: 50%;
    }

    td:before {
        position: absolute;
        left: 6px;
        content: attr(data-label);
        font-weight: bold;
    }
} */
