@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background-color: #ddd;
}



#header {
    height: 80px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 8px #888;
    padding: 0px 10px;
}
#header > img {
    height: 60px;
}



#main {
    width: 100%;
}



.wrap-first {
    display: flex;
    width: 100%;
    height: 500px;
    background-image: url(img/photo-1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 50px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 2px 10px -5px #444;
}
.wrap-first > h1 {
    margin-bottom: 10px;
    font-size: 60px;
    font-family: 'Merriweather', sans-serif;
    font-weight: 300;
    text-align: center;
    text-shadow: 0 0 10px #222;
}
.wrap-first > span {
    font-size: 20px;
    margin-bottom: 50px;
    text-align: center;
    text-shadow: 0 0 10px #222;
}



.wrap-info {
    display: flex;
    width: calc(100% - 40px);
    max-width: 1200px;
    height: 400px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 50px;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    margin-bottom: 50px;
    justify-content: space-between;
    box-shadow: 0 2px 10px -5px #444;
}
.wrap-info:nth-child(3) {
    flex-direction: row-reverse;
}

.wrap-info > .wrap-info-img {
    min-width: 400px;
    max-width: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wrap-info > .wrap-info-img > img {
    width: auto;
    height: 100%;
}

.wrap-info > .wrap-info-text {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-width: 400px;
    max-width: 400px;
}
.wrap-info > .wrap-info-text > .sub-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #888;
}
.wrap-info > .wrap-info-text > h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 36px;
    margin: 0px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.wrap-info > .wrap-info-text > p {
    color: #333;
}



.btn-white {
    padding: 0px 20px;
    background-color: #fff;
    color: #000;
    border: none;
    height: 50px;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.btn-black {
    padding: 0px 20px;
    background-color: #000;
    color: #fff;
    border: none;
    height: 50px;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
}



#footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 200px;
    background-color: #bbb;
    padding: 20px;
    box-sizing: border-box;
}



@media only screen and (max-width: 1024px) {
    .wrap-info {
        flex-direction: column-reverse !important;
        min-height: 600px;
        max-height: 600px;
    }
    
    .wrap-info > .wrap-info-img {
        min-width: 100%;
        max-width: 100%;
        height: 300px;
    }
    .wrap-info > .wrap-info-img > img {
        width: auto;
        height: 100%;
    }
    .wrap-info > .wrap-info-text {
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        min-width: 100%;
        max-width: 100%;
    }

    #footer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 250px;
    }
}
