/* Font csatolása: */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

@font-face {
    font-family: 'Archia';
    src: url('fonts/archia-bold-webfont.eot');
    src: url('fonts/archia-bold-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/archia-bold-webfont.woff2') format('woff2'),
        url('fonts/archia-bold-webfont.woff') format('woff'),
        url('fonts/archia-bold-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Archia';
    src: url('fonts/archia-regular-webfont.eot');
    src: url('fonts/archia-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/archia-regular-webfont.woff2') format('woff2'),
        url('fonts/archia-regular-webfont.woff') format('woff'),
        url('fonts/archia-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* színeket változókba raktuk: */
:root {
    --orange: #F47230;
    --purple: #7370c8;
    --darkbg: rgba(0, 0, 0, 0.4);
}


/* böngészö def. atírása: */
/* -- minden elemre a méret a box merete legyen, ne logjon ki - border-box tulajdonsag */

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

/* -- betü méretek relatívan megadva: */
html {
    font-size: 1.14vw;
}

@media only screen and (max-width: 1025px) {
    html {
        font-size: 1.4vw;
    }
}

@media only screen and (max-width: 768px) {
    html {
        font-size: 20px;
    }

}

@media only screen and (max-width: 480px) {
    html {
        font-size: 16px;
    }
}


body {
    background: #242430;
    color: #9A9CB5;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

/* képek max a .content-box szélességében - ő a szülő HTML alapján */

img {
    max-width: 100%;
}

a {
    color: var(--orange);
    text-decoration: none;
}

a:hover {
    color: var(--purple);
}

p b,
p strong,
li strong,
li b {
    color: #fff;
}

p,
li {
    line-height: 1.5;
}

ul li::marker {
    color: var(--purple);
}

ul {
    padding: 20px;
    list-style-type: square;
}

l {
    padding-left: 1.5rem;
}

ol li {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    padding-left: 10px;
}

ol li::marker {
    color: #fff;
    font-weight: bold;
}

ol li::before {
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    background: var(--orange);
    display: block;
    position: absolute;
    left: -1.5rem;
    top: 0;
    z-index: -1;
}

h1,
h2,
h3 {
    font-family: 'Archia';
    color: #fff;
    font-weight: bold;
}

h1 {
    font-size: 2.25rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1rem;
}

.home h1 {
    margin-top: 0.5rem;
}


h2 {
    font-size: 2.25rem;
    margin-top: 0;
    position: relative;
    padding-bottom: 1rem;
}

h1:before,
h2:before {
    content: "";
    background: var(--orange);
    display: block;
    width: 3rem;
    height: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.home h2 {
    text-transform: uppercase;
}

h2.align-center:before {
    left: 50%;
    margin-left: -1.5rem;
}


h3 {
    font-size: 1.5rem;
}

.button,
input[type=submit] {
    display: inline-block;
    padding: 12px 20px;
    color: #fff;
    background: var(--orange);
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    font-family: inherit;
    font-size: inherit;
    line-height: 1;
}

.button:hover {
    color: #fff;
    background: var(--purple);
}

/* -  spécibben a design */

blockquote {
    background: var(--darkbg);
    padding: 0.5rem 1rem;
    margin-left: 0;
    color: #fff;
    border-left: solid 5px var(--purple);
}

.align-center {
    text-align: center;
}

.box-style {
    border: solid 3px #353541;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 2px 10px #201E2B;
    padding: 1.25rem;
    border-radius: 5px;
}

.narrow {
    margin-left: auto;
    margin-right: auto;
    max-width: 50rem;
}

/* Idáig basic formázás - Layout specifikussag már jobban */

.spacer-2 {
    height: 2rem;
}

header {
    padding: 0.5rem 0;
}

header .content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo a {
    display: inline-block;
}

#logo a img {
    width: 12rem;
    height: auto;
    display: block;
}

/* menu formázás - Layout specifikussag már jobban */

#main-menu ul {
    padding: 0;
    display: flex;
    list-style-type: none;
}

#main-menu ul li {
    margin-left: 1.5rem;
}

#main-menu ul li a {
    color: #fff;
    padding: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    font-size: smaller;
}

#main-menu ul li a:hover {
    color: var(--purple);
}


/*layout**/

section,
footer {
    padding: 3rem 0;
}

.dark-bg {
    background: var(--darkbg);
}

.purple-font {
    color: var(--purple);
}

#hero {
    padding: 10vw 0;
    background-color: var(--darkbg);
    background-image: url(img/hero-bg.jpg);
    background-size: cover;
}

#hero p:first-of-type {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.9);
}

#hero-txt {
    max-width: 35rem;
}

#top-section {
    padding: 1.75rem 0;
    background-image: url(img/hero-bg.jpg);
    margin-bottom: 2rem;
}

#services .column-3 {
    text-align: center;
}

#services .column-3 img {
    width: 5rem;
    height: auto;
}

#services .column-3 h3 {
    margin-top: 0.5rem;
}

#portfolio column-3 a,
#portfolio img {
    display: block;
}

#portfolio .column-4 a:hover img {
    filter: grayscale(1)
}

#how-we-work h3 span {
    color: var(--orange);
}

#how-we-work h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

#how-we-work .box-style {
    display: flex;
    gap: 1.5rem;
}

#how-we-work img {
    max-width: 10rem;
}

#how-we-work p {
    margin-bottom: 0;
}

#about {
    padding: 0;
}

#about img {
    display: block;
}

#aside-cta {
    text-align: center;
}

#aside-cta > div {
    margin-bottom: var(--gap);
}

#aside-cta img {
    width: 5rem;
    height: auto;
}

#aside-cta h3 {
    margin-top: 0.5rem;
}

footer {
    font-size: smaller;
    border-top: solid 3px var(--purple);
}

footer ul {
    list-style-type: disclosure-closed;
}

footer ul li {
    margin-bottom: 0.3rem;
}


footer ul li::marker {
    color: var(--orange);
}

footer ul a {
    color: inherit;
}

.contact-info {
    list-style-type: none;
    padding: 0;
}

footer label {
    line-height: 1.5rem;
}

input[type=text],
input[type=email] {
    border: solid 3px #353541;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 2px 10px #201E2B;
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    width: 100%;
}

input[type=submit] {
    margin-top: 1rem;
}

.certificate {
    float: left;
    width: 4.5rem;
    margin-right: 1.5rem;
    margin-bottom: 2rem;
}

#copyright {
    font-size: small;
    padding: 0.25rem;
}

@media only screen and (max-width: 768px) {

    header .content-box,
    #how-we-work .box-style {
        display: block;
        text-align: center;
    }

    #main-menu ul {
        display: block;
    }

    #main-menu ul li {
        margin-left: 0;
    }

    h2 {
        font-size: 2rem;
    }

    #how-we-work img {
        margin-bottom: 1rem;
    }

    .offset-left {
        padding: 2rem 15px;
    }

    .certificate {
        float: none;
    }
}
