/* 🎨 BETŰTÍPUSTOK ÉS IKONKÉSZLET */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Round');

/* 🎨 ALAPÉRTÉKEK */
:root {
    --defBlue: #0078f0;
    --defBlueHov: rgb(0, 140, 255);
    --defBluePressed: rgb(0, 100, 220);
    --defLightBlue: rgb(204, 232, 255);
    --defLightBlueTransparent: rgba(0, 140, 255, 0.2);
    --defPaleBlueTransparent: rgba(0, 140, 255, 0.05);
    --defGray: rgb(225, 225, 225);
    --defLightGray: rgb(240, 240, 240);
    --defNightGray: rgb(27, 39, 49);
    --defNightGrayText: #243442;
    --shadow: rgba(0, 0, 0, 0.1) 0px 3px 6px, rgba(0, 0, 0, 0.1) 0px 3px 6px;
    --shadowHov: rgba(0, 0, 0, 0.1) 0px 14px 28px, rgba(0, 0, 0, 0.1) 0px 10px 10px;
    --shadowPressed: rgba(0, 0, 0, 0.1) 0px 1px 3px, rgba(0, 0, 0, 0.1) 0px 1px 2px;
}

* {
    font-family: Montserrat;
    user-select: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    transition: all ease 0.2s;
    -ms-overflow-style: none;
    scrollbar-width: thin;
    user-zoom: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    scroll-behavior: smooth;
}

*::-webkit-scrollbar {
    display: none;
}

body {
    margin: 0;
}

/* 🎨 GOMBTÍPUS-OSZTÁLYOK */
.fullbutton {
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    vertical-align: middle;
    text-decoration: none;
    color: white;
    background-color: var(--defBlue);
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.halfbutton {
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 8px;
    text-transform: uppercase;
    font-weight: 600;
    vertical-align: middle;
    text-decoration: none;
    color: var(--defBlue);
    background-color: var(--defLightBlueTransparent);
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.outlinebutton {
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 8px;
    text-transform: uppercase;
    font-weight: 600;
    border: solid 2px var(--defBlue);
    vertical-align: middle;
    text-decoration: none;
    color: var(--defBlue);
    background-color: rgba(255, 255, 255, 0);
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.linebutton {
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 8px;
    text-transform: uppercase;
    font-weight: 600;
    vertical-align: middle;
    text-decoration: none;
    color: var(--defBlue);
    background-color: rgba(255, 255, 255, 0);
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.fullbutton:hover,
.fullbutton:focus {
    background-color: var(--defBlueHov);
}

.halfbutton:hover,
.halfbutton:focus {
    background-color: var(--defBlueHov);
    color: white;
}

.outlinebutton:hover,
.outlinebutton:focus {
    background-color: var(--defLightBlueTransparent);
}

.linebutton:hover,
.linebutton:focus {
    background-color: var(--defLightBlueTransparent);
}

.fullbutton:active,
.halfbutton:active,
.outlinebutton:active,
.linebutton:active {
    background-color: var(--defBluePressed);
    color: white;
    outline: 0px;
}

button,
a.button {
    cursor: pointer;
    border: none;
}

button:hover,
a.button:hover {
    transform: scale(1.05);
}

button:active,
a.button:active {
    transform: scale(0.95);
}

#logo {
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    filter: grayscale(1);
}

header {
    width: 100vw;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    display: flex;
    justify-content: flex-end;
    box-shadow: var(--shadow);
    z-index: 5000;
}

header .linebutton {
    border-radius: 0 !important;
    padding: 0 15px !important;
}

#cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: teal;
}

#cover video {
    position: absolute;
    z-index: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#slogan {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 400px;
    left: 50vw;
    font-size: 2em;
    color: white;
    text-shadow: var(--shadow);
    white-space: nowrap;
    z-index: 10;
    text-shadow: var(--shadowHov);
}

main {
    width: 800px;
    margin: calc(70vh) auto 0;
    background-color: white;
    box-shadow: var(--shadow);
    position: relative;
}

section {
    display: flex;
}

h2 {
    background-color: rgb(194, 245, 245);
    color: teal;
    display: inline;
    padding: 0 10px;
}

h3 {
    margin-top: 0;
}

.sectionimg {
    min-width: 50vw;
    background-size: cover;
    background-repeat: no-repeat;
    display: none;
}

.sectiontext {
    /* min-width: calc(50vw - 80px); */
    max-width: 100%;
    padding: 40px 40px 0 40px;
}

.codex-editor__redactor {
    margin-bottom: 20px !important;
    text-align: justify !important;
}

.ce-block__content {
    max-width: unset !important;
}

.codex-editor--narrow .codex-editor__redactor {
    margin: 0px;
}

nav {
    height: auto;
    width: 100vw;
    overflow-x: scroll;
    position: relative;
    pointer-events: none;
}

nav #pr_background {
    background-image: url("images/coal.jpg");
    overflow-x: scroll;
    display: flex;
    background-attachment: fixed;
    background-size: cover;
    width: 300vw;
}

.pr {
    width: calc(100vw - 100px);
    display: grid;
    grid-template-columns: 2fr 3fr;
    margin: 50px 150px;
    background-color: rgb(210, 255, 255);
}

.pr_desc {
    padding: 20px;
    height: 440px;
}

.pr_desc div {
    display: flex;
    align-items: center;
    color: teal;
    font-weight: 600;
}

.pr_desc>span {
    padding-left: 30px;
    display: block;
}

.pr_img {
    background-size: cover;
    height: 100%;
}

footer {
    background-color: rgb(241, 200, 137);
}

.material-icons {
    width: 30px;
}

.arrow {
    border-radius: 500px;
    background-color: teal;
    color: white;
    box-shadow: var(--shadowHov);
    cursor: pointer;
    position: absolute;
    transform: translate(-50%, -50%);
    bottom: 240px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.arrow:hover {
    transform: scale(1.1) translate(-50%, -50%);
    background-color: rgb(12, 153, 153);
}

.arrow:active {
    transform: scale(0.9) translate(-50%, -50%);
    background-color: rgb(6, 104, 104);
}

#left {
    left: 10vw;
}

#right {
    left: 90vw;
}

@media screen and (max-width: 1000px) {
    section {
        flex-direction: column;
    }

    .b {
        flex-direction: column-reverse;
    }
    .sectionimg {
        display: block;
        width: 100vw;
        height: 100vw;
        background-attachment: fixed;
        transform: none !important;
        background-position: center;
    }
    .sectiontext {
        max-width: calc(100% - 40px);
        width: calc(100vw - 40px);
        padding: 20px 20px 0 20px;
    }
    
    .codex-editor__redactor {
        margin-bottom: 20px !important;
    }
    main {
        width: 100vw;
        margin: calc(70vh) auto 0;
    }
    .pr {
        width: 80vw;
        display: flex;
        flex-direction: column;
        margin: 5vw 0 50px;
        background-color: rgb(210, 255, 255);
    }
    .pr_desc {
        height: auto;
    }
    .pr_img {
        background-size: cover;
        height: 80vw;
        width: 80vw;
    }
    #pr_background{
        gap: 5vw;
        padding: 10vw;
        width: 240vw;
    }
    .arrow {
        bottom: 10px;
    }
    .firstimg {
        display: none;
    }
    .codex-editor__redactor {
        padding-bottom: 0 !important;
    }
    #contact {
        flex-direction: column;
        border-radius: 10px !important;
        gap: 10px;
    }
    .arrow {
        display: none;
    }
    nav {
        pointer-events: all;
    }
    header div {
        display: none !important;
    }
    nav #pr_background {
        width: 250vw;
    }
}