@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&display=swap');

* {
    margin: 0;
    border: 0;
    padding: 0;
    text-align: center;
}

html {
    font-family: Playfair Display, Verdana, sans-serif;
    color: black;
    scroll-behavior: smooth;
}

body {
    background-color: whitesmoke;
    /* background-image: url("../media/white_checked_lines_with_black_background_hd_black_aesthetic.jpg"); */
    /* background-size: 1500px; */
    /* background: rgb(0,0,0); */
    /* background: linear-gradient(180deg, rgba(0,0,0,1) 44%, rgba(110,110,110,1) 100%);
    background: linear-gradient(180deg, rgba(0,0,0,1) 44%, rgba(110,110,110,1) 92%, rgba(190,190,190,1) 100%); */
}

span {
    color: rgb(220, 4, 4);
}



/* piros sav */
div#redbar {
    background-color: rgb(220, 4, 4);
    width: 99.7%;
    height: 2em;
    margin: auto;
    border: 2px solid rgb(220, 4, 4);
    color: white;
}

div#redbar p {
    text-align: center;
    line-height: 2em;
    font-weight: bold;
}

/* feher sav */
nav {
    background-color: black;
    width: 99.7%;
    /* margin: auto; */
    height: 3em;
    border: solid 2px black;
    border-radius: 0px 0px 2px 2px;
    color: black;
    text-align: center;
    font-size: 16pt;
    color: white;
}

ul {
    list-style: none;
    /* line-height: 3em; */
    padding: 0;
    width: 50%;
    margin: auto;
}

li {
    display: inline;
}

li a {
    margin-top: .7em;
    font-size: 18pt;
}

li:first-child {
    margin-right: 55px;
}

li:nth-child(3) {
    margin-left: 55px;
}

p#left {
    float: left;
    /* line-height: 3em; */

    margin-left: 25px;
}
p#left:hover {
    cursor: pointer;

}
p#right {
    float: right;
    /* line-height: 3em; */
    margin-right: 25px;
    margin-left: 10px;
}
p#right:hover {
    cursor: pointer;
}

p#right a {
    color: white;
}

a {
    position: relative;
    text-decoration: none;
    color: inherit;
}

a:visited {
    color: inherit;
}

.center {
    margin-top: 0.8em;
}

/* alahuzas animacio */
.hover-underline-animation {
    display: inline-block;
    position: relative;
    color: black;
}
  
.hover-underline-animation:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: rgb(220, 4, 4);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
  
.hover-underline-animation:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


nav i#rightIcon {
    font-size:30px;
    float: right;
    margin-top: 0.5em;
}
nav i#rightIcon:hover {
    cursor: pointer;
    transform: scale(1.1);
    color: rgb(220, 4, 4);
}

/* tartalom */

main#pb {
    /* margin-top: 2em; */
    padding-top: 0.5em;
    width: 100%;
    height: 500px;
    background-image: url('../media/IMG_1451.jpg');
    background-size: cover;
    position: relative;
}

aside#index {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 50%;
    margin: auto;
    background-color: rgba(0, 0, 0, .8);
    /* background-color: black; */
    /* opacity: 80%; */
    color: white;
    border-radius: 15px;
    padding: 0.5em;
    /* margin-top: 7em; */
}

.text {
    padding-left: .2em;
    padding-right: .2em;
    font-size: 22pt;
    margin-top: .5em;
    margin-bottom: .5em;
    /* margin: auto; */
}

button {
    background-color: rgb(220, 4, 4);
    border: 2px solid rgb(220, 4, 4);
    width: 200px;
    height: 2em;
    font-size: 24pt;
    border-radius: 25px;
    color: white;
    opacity: 1;
    font-family: Playfair Display, Verdana, sans-serif;
}

button:hover {
    transform: scale(1.05);
    transition-duration: .3s;
    opacity: 1;
    cursor: pointer;
}

button#start {
    margin-bottom: 1em;
}


#brandName {
    font-style: italic;
    font-size: 24pt;
    margin-top: .5em;
    /* margin-bottom: .5em; */
    position: relative;
}

#page-container {
    position: relative;
    min-height: 100vh;
}
  
#content-wrap {
    padding-bottom: 4rem;    /* Footer height */
}
  
#footer {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    height: 4rem;          /* Footer height */
    /* line-height: 2.5rem; */
    background-color: black;
    border: solid 2px black;
    border-radius: 2px 2px 0px 0px;
    color: black;
    font-size: 20pt;
    color: white;

}

/* arajanlat */
h2 {
    margin-top: .3em;
}

div#contact {
    width: 35%;
    margin: auto;
    margin-top: 2.5em;
    height: 500px;
    background-color: black;
    border: solid 2px black;
    opacity: 60%;
    color: white;
    border-radius: 25px;
    
}

.formDivs {
    /* float: left; */
    width: 100%;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    height: 50px;
    
}

input {
    /* float: left; */
    width: 70%;
    height: 25px;
    text-align: left;
    font-size: 10pt;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-radius: 2px;
    margin-top: 0.3em;
    border: 2px solid unset;
}

input:not(.unfilled):invalid { 
    border: 1px solid red;
    box-shadow: 0 0 5px #d45252;
} 

input:valid {
    border: 1px solid rgb(33, 162, 33);
}

/* input:invalid {
    border: 2px solid red;
} */

textarea {
    /* float: left; */
    width: 70%;
    text-align: left;
    font-size: 10pt;
    padding-left: 0.5em;
    padding-top: 0.2em;
    padding-right: .5em;
    padding-bottom: .2em;
    border-radius: 2px;
    margin-top: 0.3em;
}


#ajanlatBtn {
    background-color: white;
    color: black;
    border: solid 2px white;
    margin-top: 2.5em;
    width: 150px;
    font-size: 14pt;
    padding: none;
    position: relative;
    margin: auto;
    bottom: -100px;
}

/* galeria */

h2#inspiration {
    font-size: 24pt;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 20px 20px 20px;
}

.container .heading {
    width: 80%;
    padding-bottom: 1.5em;
}

.container .box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.container .box .dream {
    display: flex;
    flex-direction: column;
    width: 32.5%;
    height: auto;
}

.container .box .dream img {
    width: 100%;
    /* margin-bottom: 15px; */
    border-radius: 2px;
    display: block;
}

/* .container .box .dream img:hover {
    transform: scale(1.01);
    transition: transform 300ms ease-in-out;
} */

.container .box .dream video {
    width: 100%;
    /* margin-bottom: 15px; */
    border-radius: 2px;
    display: block;
}

.overlay {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    background-color: black;
    opacity: 70%;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
    border-radius: 2px;
}

.container2 {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}
  
/* .container2:hover .overlay {
    height: 100%;
} */

.text2 {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

/* kapcsolatok */
section#information {
    width: 70%;
    margin: auto;
    /* background-color: white; */
    margin-top: 2em;
    margin-bottom: 2em;
    text-align: left;
}

section#information h1 {
    font-size: 36pt;
    text-align: left;
}

main#details {
    width: 70%;
    margin: auto;
    text-align: left;
    /* background-color: beige; */
}

main#details article {
    text-align: left;
    margin-top: 0.5em;
    font-size: 24pt;
}

.dropdown {
    display: none;
}

/* kozossegi media ikonok  */
.fa {
    padding: 20px;
    font-size: 80px;
    width: 20px;
    text-align: center;
    text-decoration: none;
    margin-top: 1em;
}
.fa-facebook {
    border: solid 2px black;
    border-radius: 15px;
    color: black;
}

.fa-instagram {
    border: solid 2px black;
    border-radius: 15px;
    color: black;
}

div#middle {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

p#thanks {
    font-size: 24pt;
    color: black;
    margin-bottom: .5em;
}

p#redirect {
    font-size: 12pt;
    color: black;
    margin-bottom: .5em;
}

div#counter {
    font-size: 12pt;
    color: black;
}



@media only screen and (max-width: 880px) {
    
    nav ul{
        display: none;
    }

    button.dropbtn {
        transform: none;
        opacity: 1;
    }

    button.dropbtn:hover {
        opacity: none;
    }


    .dropdown {
        display: unset;
        overflow: hidden;
        margin: auto;
        width: 30%;
    }
      
    .dropdown .dropbtn {
        cursor: pointer;
        font-size: 16pt;  
        border: none;
        outline: none;
        color: white;
        /* padding: 14px 16px; */
        background-color: inherit;
        font-family: inherit;
        margin: auto;
        margin-top: 0.55em;
        margin-bottom: 0.55em;
    }
    
    .dropdown-content {
        display: none;
        position: relative;
        background-color: black;
        /* min-width: 160px; */
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 999;
        /* width: 25%; */
        width: 200px;
        left: -1px;
        margin: auto;
        border-bottom-left-radius: 2px;
        border-bottom-right-radius: 2px;
    }
      
    .dropdown-content a {
        color: white;
        padding-top: .5em;
        padding-bottom: .5em;
        text-decoration: none;
        display: inline-block;
        text-align: center;
        width: 100%;
    }
      
    .dropdown-content a:hover {
        background-color: rgb(50, 50, 50);
    }
      
    .show {
        display: block;
    }

    .container .box {
        flex-direction: column;
    }
    
    .container .box .dream {
        width: 100%;
    }

    div#contact {
        width: 45%;
    }

    main#details {
        margin-bottom: 1em;
    }
}

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

    div#contact {
        width: 80%;
    }

    nav p#right {
        display: none;
    }

    nav i#rightIcon {
        display: none;
    }

    aside#index {
        width: 70%;
    }

    .dropdown {
        padding: 0;
        margin: 0;
        position: relative;
        width: 100px;
    }
      
    .dropdown .dropbtn {
        margin: 0;
        padding: 0;
        position: relative;
        display: block;
        float: right;
        width: 100px;
        text-align: right;
        padding-right: 25px;
        margin-top: 10px;
    }
    
    .dropdown-content {
        width: 101.1%;
        left: -3px;
        margin-top: 3em;
    }

    .overlay {
        display: none;
    }
    
    .container2:hover .overlay {
        display: none;
    }
    
    .text2 {
        display: none;
    }

    main#details {
        margin-bottom: 1em;
    }

    main#details article {
        font-size: 18pt;
    }
      
}


@media (prefers-color-scheme: dark) {

    body {
        color: white;
        background-color: black;
    }

    nav {
        background-color: white;
        color: black;
        border: white solid 2px;
    }

    p#right a {
        color: black;
    }

    div#contact {
        background-color: black;
        opacity: 100%;
    }

    #footer {
        background-color: white;
        color: black;
    }

    .dropdown .dropbtn {
        color: black;
        background-color: white;
    }
    
    .dropdown-content {
        background-color: white;
        /* min-width: 160px; */
        box-shadow: none;
    }
      
    .dropdown-content a {
        color: black;
        padding-top: .5em;
        padding-bottom: .5em;
        text-decoration: none;
        display: inline-block;
        text-align: center;
        width: 100%;
    }
      
    .dropdown-content a:hover {
        background-color: rgb(226, 226, 226);
    }

    .fa-facebook {
        border: solid 2px white;
        color: white;
    }
    
    .fa-instagram {
        border: solid 2px white;
        color: white;
    }

    p#thanks {
        color: white;
    }

    p#redirect {
        color: white;
    }

    div#counter {
        color: white;
    }
    
}