/* NE ÍTÉLKEZZ! 5 NAP ALATT KELLETT ÖSSZERAKNI A WEBOLDALT. */

/* VARIABLES */
:root {
    --color-blue: #002157;
    --color-blue-light-1: #004ECC;
    --color-red-light: #F71D25;
    --color-red-dark: #931116;
    --color-white: #ffffff;
    --color-grey-1: rgb(228, 228, 228);
    --color-grey-2: rgba(153, 153, 153);
    --color-grey-3: rgb(133, 133, 133);
    --color-grey-4: #5c5c5c;
    --color-grey-5: rgb(53, 53, 53);
    
    --font: 'Barlow Condensed', sans-serif;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    /* This defines 1rem = 10px */
    font-size: 62.5%;
}

body {
    box-sizing: border-box;
    font-family: var(--font);
}

h2 {
    font-family: var(--font);
    color: var(--color-grey-5);
    font-size: 2.7rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: .5rem;
    margin-bottom: 10rem;
}

header {
    height: 90vh;
    overflow: hidden;
}

header .carousel {
    height: 100%;
}

header .carousel-inner {
    height: 100%;
}

header .carousel-item {
    height: 100%;
}

header .carousel img {
    height: 100%;
    object-fit: cover;
}

.nav-wrapper {
    max-width: 1140px;
    margin: 0 auto;
}

nav {
    position: absolute;
    top: 4rem;
    height: 4rem;
    width: 114rem;    
    background-color: #f1f2f6;
    background-image: linear-gradient(180deg, #f1f2f6 0%, #c9c6c6 74%);

    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 2px;
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, .3);
}

nav .nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav .nav-list li {
    display: inline-block;
}

nav .nav-list li a {
    display: block;
    text-decoration: none;
    padding: 0 2rem;
    height: 4rem;
    line-height: 4rem;
    font-size: 1.6rem;
    text-transform: uppercase;
    color: var(--color-grey-5);
    font-weight: 500;
    border-right: var(--color-grey-3) 1px solid;

    transition: all .4s;
}

nav .nav-list li a:hover {
    background: var(--color-red-dark);
    background: linear-gradient(180deg, rgba(147,17,22,1) 0%, rgba(207,14,22,1) 100%);
    color: var(--color-white);
    /* 
    -moz-box-shadow:    inset 0 3px 20px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset 0 3px 20px rgba(0, 0, 0, 0.2);
    box-shadow:         inset 0 3px 20px rgba(0, 0, 0, 0.2); 
    */
}

nav .nav-list li a:active {
    background-color: var(--color-red-light);
}

nav .nav-list li a.nav-flag {
    padding: 0 1rem;
    border: none;
}

nav .nav-list li a.nav-flag:hover {
    background: unset;
}

nav .flag {
    height: 2.5rem;
    
}

nav .socials {
    position: relative;
}

nav .socials a .icon {
    display: inline-block;
    font-size: 2.5rem;
    height: 2.5rem;
    margin-right: 1.5rem;
    line-height: 2.5rem;
    color: var(--color-grey-1);
}

nav .socials a img.bi-facebook {
    display: inline-block;
    font-size: 2.5rem;
    height: 2.5rem;
    margin-right: 1.5rem;
    line-height: 2.5rem;
    color: var(--color-grey-1);
}

nav .menu-toggle {
    display: none;
}


header .heading {
    position: absolute;
    top: 200px;
    width: 100%;
    text-align: center;
    z-index: 1;
}

header .heading h1 {
    color:rgb(255, 255, 255);
    letter-spacing: 3rem;
    text-transform: uppercase;
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 5rem;
    text-shadow: 0 1rem .5rem rgba(0, 0, 0, 0.2);
}

.ml16 {
    overflow: hidden;
}
  
.ml16 .letter {
    display: inline-block;
    line-height: 1em;
}


.gallery {
    position: relative;
    column-count: 5;
    column-gap: 0;
    column-rule: 0;
    background-color: var(--color-grey-1);
}

.gallery .image-wrapper {
    display: inline-block;
    overflow: hidden;
    margin-bottom: -5px;
}

.gallery .about-us {
    padding: 1rem 2.5rem;;
}

.gallery .about-us h3 {
    color: var(--color-grey-5);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: .5rem;
}

.u-border-bottom-red {
    border-bottom: 3px solid var(--color-red-light);
    padding-bottom: 8px;
}

.gallery .about-us p {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    margin-left: 2rem;
}

.gallery .image-wrapper {
    width: 100%;
}

.gallery .image-wrapper img {
    width: 100%;
    transition: 0.25s ease-in-out;
}

.gallery .image-wrapper:hover img {
    transform: scale(1.1);
    cursor: pointer;
}

/*
.shadow {
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(9,9,9,0.5004202364539565) 34%, rgba(17,17,17,0.968207351299895) 68%, rgba(0,0,0,1) 100%); 
    height: 55rem;
    margin-top: -55rem;
    position: relative;
    
    z-index: 10;
}
*/

.gallery .image-wrapper img.gallery-img-logo {
    display: block;
    text-align: center;
    height: 38rem;
    width: 100%;
    max-width: 38rem;
    margin-top: 2rem;
    transition: unset;
}

.gallery .image-wrapper:hover img.gallery-img-logo {
    transform: unset;
    cursor: unset;
}

.gallery .image-wrapper img.gallery-logo-cesna {
    transition: unset;
}

.gallery .image-wrapper:hover .gallery-logo-cesna {
    transform: unset;
    cursor: unset;
}

.modal-dialog-centered {
    justify-content: center;
}




/* HOME PAGE CONTACTS SECTION */
/* ALSO CONTACTS PAGE STYLES TOO */

.contacts {
    padding-top: 20rem;
    padding-bottom: 20rem;
    font-size: 1.6rem;
    background-color: var(--color-grey-1);
}

.contacts h2 {
    font-family: var(--font);
    color: var(--color-grey-5);
    font-size: 2.7rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: .5rem;
}


.contact .info-box {
    background-color: var(--color-white);
    color: #444;
    text-align: center;
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 20px 0 30px 0;
    margin-bottom: 30px;
    width: 100%;
}

.contact .info-box i {
    font-size: 32px;
    color: var(--color-blue);
    border-radius: 50%;
    padding: 8px;
}

.contact .info-box h3 {
    font-size: 20px;
    color: var(--color-grey-5);
    font-weight: 700;
    margin: 10px 0;
}

.contact .info-box p {
    color: var(--color-grey-4);
    padding: 0;
    line-height: 24px;
    font-size: 1.7rem;
    margin-bottom: 0;
}

.contact .php-email-form {
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    background-color: var(--color-white);
    padding: 30px;
}

.contact .php-email-form .validate {
    display: none;
    color: red;
    margin: 0 0 15px 0;
    font-weight: 300;
    font-size: 13px;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 700;
}

.contact .php-email-form .error-message br + br {
    margin-top: 25px;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    font-weight: 700;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    -webkit-animation: animate-loading 1s linear infinite;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

.contact .php-email-form input::focus, .contact .php-email-form textarea::focus {
    background-color: #428bca;
}

.contact .php-email-form input {
    padding: 20px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
    background: #428bca;
    border: 0;
    padding: 10px 24px;
    color: #fff;
    transition: 0.4s;
}

.contact .php-email-form button[type="submit"]:hover {
    background: #6aa3d5;
}

@-webkit-keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* HOMEPAGE PARTNERS SECTION */

section.partners {
    margin-top: 15rem;
    margin-bottom: 15rem;
}



/* HOMEPAGE FOOTER SECTIN */
/*
footer {
    margin-top: 2rem;
    margin-bottom: 0;
    padding-top: 1rem;
    background-color: var(--color-grey-5);
    color: var(--color-white);
    font-size: 1.4rem;
}

footer > * {
    margin-bottom: 0;
}
*/



/* RENTAL */

body > section.rental
{
    margin-top: 20rem;
}

.rental h2 {
    font-family: var(--font);
    color: var(--color-grey-5);
    font-size: 2.7rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: .5rem;
    margin-bottom: 10rem;
}

.rental-wrapper {
    margin-bottom: 5rem;
    background: var(--color-grey-1);
}

.rental__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rental__heading--red {
    background-color: var(--color-red-light);
    color: rgb(238, 238, 238);
    padding: 1rem 2rem;
    display: inline-block;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    margin-bottom: 2.5rem;
}

.rental__details {
    display: grid;
    grid-template-columns: max-content max-content;
}

.rental__details p {
    margin-right: 1.5rem;
    font-size: 1.7rem;
}

.btn {
    font-size: 1.6rem;
}



/*  IDŐGYŰJTÉS  */

section.time-collection {
    margin-top: 20rem;
}

.time-heading {
    text-align: center;
    
}

.time-collection p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}



/* PILÓTAKÉPZÉS */

.pilot-training ul {
    margin-left: 2.5rem;
}

.pilot-training ul li{
    font-size: 1.6rem;
}



/* PLEASURE FLIGHT */

.pleasure-flight h2 {
    margin-top: 20rem;
}

.pleasure-flight .text-content p {
    font-size: 1.6rem;
}




/* MEDIA QUERIES */

@media (max-width: 1140px) {
    .nav-wrapper {
        width: 100%;
    }
    
    nav {
        position: absolute;
        top: 0;
        width: 100%;
    }

    nav .menu-toggle {
        display: unset;
    }
    
    header .heading {
        top: 200px;
        letter-spacing: 1.6rem;
    }
    
    .gallery {
        column-count: 4;
    }
}

@media (max-width: 959px) {
    
    header .heading h1 {
        text-align: center;
        letter-spacing: 1.6rem;
    }
    
    .menu-toggle {
        padding: 1em;
        position: absolute;
        top: 1em;
        right: 1em;
        cursor: pointer;
    }
    
    .hamburger,
    .hamburger::before,
    .hamburger::after{
        content: '';
        display: block;
        background: black;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        transition: all ease-in-out 500ms;
    }
    
    .hamburger::before {
        transform: translatey(-7px);
    }
    
    .hamburger::after {
        transform: translatey(4px);
    }
    
    .open .hamburger {
        transform: rotate(45deg);
    }
    
    .open .hamburger::before {
        opacity: 0;
    }
    
    .open .hamburger::after {
        transform: translatey(-3px) rotate(-90deg);
    }
    
    nav {
        height: unset;
        padding: 2rem;
    }
    
    nav .nav-logo {
        display: none;
    }
    
    nav .socials {
        display: none;
    }
    
    .nav-list {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-grey-1);
        height: 0px;
        overflow: hidden;
        z-index: 2;
    }
    
    .nav-list--open {
        height: auto;
    }
    
    .nav-list li {
        border-bottom: 1px solid var(--color-grey-3);
        
        display: block;
        width: 100%;
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav-list a {
        color: #EBEBD3;
        text-decoration: none;
        text-transform: uppercase;
        padding: 2em 6em 2em 2em;
    }
    
    .nav-list a:hover,
    .nav-list a:focus {
        background: #e4b363;
        color: #464655
    }

    nav .nav-list li a.nav-flag {
        padding: 0 2rem;
        border-right: 1px solid var(--color-grey-3);
    }
    
    .gallery {
        column-count: 3;
    }
    
    .shadow {
        height: 30rem;
        margin-top: -30rem;
    }
    
}

@media (max-width: 532px) {
    header .heading {
        position: absolute;
        display: inline-block;
        top: 10rem;
        padding: 0 13rem;
    }
}

@media (max-width: 524px) {
    header .heading {
        padding: 0 12rem;
    }
}

@media (max-width: 504px) {
    header .heading {
        padding: unset;
        width: 60%;
        left: 50%;
        transform: translate(-50%);
    }
}


@media (max-width: 500px) {
    .gallery {
        column-count: 1;
    }
    
    .shadow {
        height: 20rem;
        margin-top: -20rem;
    }
}



@media (max-width: 438px) {
    header .heading {
        width: 66%;
    }
}

@media (max-width: 398px)  {
    header .heading {
        width: 70%;
    }
}

@media (max-width: 376px)  {
    header .heading {
        width: 80%;
    }
}

@media (max-width: 327px)  {
    header .heading {
        width: 90%;
    }
}

@media (max-width: 292px) {
    header .heading {
        width: 100%;        
    }

    header .heading .heading-text {
        font-size: 3.3rem;
    }
}

