/* Import fonts from Google Fonts */

@import url('https://fonts.googleapis.com/css?family=Montserrat');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');


/* Remove default styling */

* {
   margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box; 
}

body {
    font-family: Open Sans, sans-serif;
    font-weight: 400;
    color: #3a3a3a;
    margin: 0.5rem 2rem;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0px;
}


h1 {
    font-family: Montserrat, sans-serif;
    letter-spacing: 4px;
    font-weight: 400;
    color: #252525;
}

.header2 {
    text-align: left;
    padding: 20px 0;
    font-size: 220%;
    font-weight: 400;
}

.header3 {
    text-align: left;
    padding: 20px 0;
    font-size: 150%;
    font-weight: 400;
}


#main-logo {
    margin-left: 2rem;
    font-size: 250%;
    font-weight: bold;
    color: #672006;
    text-align: left;
    float: left;
    text-transform: uppercase;
}

#main-nav {
    font-size: 120%;
    font-weight: normal;
    letter-spacing: 1px;
    float: right;
}

#main-nav li {
    float: left;
    margin-right: 2rem;
    list-style-type: none;
}

#main-nav a {
    padding: 5px 2px;
    text-decoration: none;
    color: #672006;
}

#main-nav,
#main-logo {
    line-height: 5rem;
}

#main-nav a:hover {
    color: #718daa;
    text-decoration: underline;
}

#main-logo :hover {
    color: #718daa;
    text-decoration: underline;
}

.main-image-section {
    height: 700px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

#main-image1 {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center; 
    background: url('../images/budapest-lead1.jpg') no-repeat center center / cover;
}

#main-image2 {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/visit_budapest.webp') no-repeat center center / cover;
}

#main-image3 {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/szechenyi-bath-main.jpg') no-repeat center center / cover;
}

#main-image4 {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/four-seasons-gresham-large2.jpg') no-repeat center center / cover;
}


#main-image5 {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/budapest-villamos.jpg') no-repeat center center / cover;
}

.main-caption {
    font-size: 1rem;
    bottom: 2rem;
    left: 1.5rem;
    position: sticky;
    color: #fff;
    font-size: 1.5rem;
    clear: left;
    float: left;
    margin-bottom: 0em;
    margin-left: 1.5em;
}


.places-row {
    display: flex;
    margin: 0 auto;
    flex-flow: row wrap;
}

.places-column {
    width: 390px;
    height: 260px;
    padding: 1.5rem;
    margin: 1.5rem 2.5rem;
    text-align: center;
    justify-content: center;
    align-content: center;
}

.small-image {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}


a {
    text-decoration: none;
}

.places-row::after {
    content: "";
    clear: both;
    display: table;

}

.places-image {
    width: 450px;
    height: 300px;
    border-radius: 10px;
}

.left-text {
    width: 60%;
    height: 20rem;
    float: left;
    clear: left;
    margin: 2rem 0;
}

.right-image {
    width: 40%;
    max-height: 20rem;
    float: right;
    clear: right;
    margin: 3rem 0;
}

.right-text {
    width: 60%;
    height: 20rem;
    float: right;
    clear: right;
    margin: 3rem 0;
}

.left-image {
    width: 40%;
    height: 20rem;
    float: left;
    clear: left;
    margin: 2rem 0;
}

.left-text>p,
.right-text>p {
    max-width: 650px;
    text-align: justify;
}

.signup-section {
    clear: left;
    max-width: 80%;
    height: 40rem;
    background-size: cover;
    background-position: center;
}

#signup {
    padding: 10px 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.signup-form {
    margin: 0;
    color: #252525;
    background-color: #fff;
    max-width: 50%;
    position: absolute;
    left: 0%;
    padding: 30px;
}

.signup-form > h3 {
    padding: 20px 0;
}

.text-input {
    background: transparent;
    color: #252525;
    width: 100%;
    height: 25px;
    margin: 5px 0 20px;
    border: 1px solid #252525;
    border-radius: 2px;
}

.text-input:hover {
    border-color: #df1414;
}

.signup-button {
    margin-top: 20px;
    border-radius: 5px;
    padding: 15px 32px;
    text-align: center;
    font-size: 100%;
    background-color: #068304;
    color: #fff;
    display: block;
}

.signup-button:hover {
    background-color: #f67445;
    color: #252525
}

.reset-button {
    margin-top: 20px;
    border-radius: 5px;
    padding: 15px 32px;
    text-align: center;
    font-size: 100%;
    background-color: #0d59e8;
    color: #fff;
    display: block;
}

.reset-button:hover {
    background-color: #45f645;
    color: #0d59e8;
}

/* Footer with social media links */

footer {
    width: 100%;
    height: 150px;
    padding: 20px 0;
}

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

.social-networks>li {
    display: inline;
}

.social-networks i {
    font-size: 160%;
    margin: 1%;
    padding: 5%;
    color: #3a3a3a;
}


/* Media Queries*/

/* Media Queries for screen sizes of 1245px or less */

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

    .index-section {
        text-align: left;
        margin: 0 auto;
    }

    .places-row {
        display: block;
        width: 100%;
        height: 100%;
        margin: 0 auto;
    }

    .places-column {
        width: 390px;
        height: 260px;
    }

    .left-text,
    .left-image {
        display: block;
        width: 100%;
        height: auto;
        margin: 20px auto;
    }

    .right-text,
    .right-image {
        display: block;
        width: 100%;
        height: auto;
        margin: 20px auto;
    }


}


/* Media queries for small screen sizes 950px and less */


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


    #main-logo {
        text-align: center;
        float: none;
    }

    .header2,
    .header2>p {
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .header3,
    .header3>P {
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .index-section {
        text-align: center;
        margin: 0 auto;
    }

    .places-column {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 390px;
        height: 260px;
        margin-bottom: 0.5em;
    }

    .small-image {
        margin-left: auto;
        margin-right: auto;
    }

    .places-image {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 450px;
        margin-bottom: .5em;
    }

    .left-text,
    .right-text {
        max-width: fit-content;
        text-align: center;
    }

    .signup-form {
        display: block;
        min-width: 360px;
        margin: 0 auto;
        text-align: left;
    }

    #video {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
    }

}


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

    .places-image {
     width: 330px;
     height: 220px;
   }
	
   .small-image {
    width: 300px;
    height: 200px;
   }
} 