/************************ PICTURE TOP */

#picture-top {
    position: relative;
    width: 100%;
    height: 800px;
    display: inline-block;
    overflow: hidden;

    display: flex;
    justify-content: center;
    vertical-align: middle;
}

@media screen and (max-width: 1200px) {
    #picture-top {
        height: 850px;
    }
}

@media screen and (max-width: 900px) {
    #picture-top {
        height: 440px;
    }
}

@media screen and (max-width: 600px) {
    #picture-top {
        height: 420px;
    }
}

#picture-top>video {
    position: absolute;
    z-index: -100;
    margin: 0;
    padding: 0;
    width: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1200px) {
    #picture-top>video {
        width: auto;
        height: 100%;
    }
}

#picture-top>.container {
    font-weight: 500;
    font-size: 96px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 1);
    text-align: center;
    padding-top: 120px;
}

@media screen and (max-width: 1200px) {
    #picture-top>.container {
        width: 90%;
        padding: 120px 0;
    }
}

@media screen and (max-width: 900px) {
    #picture-top>.container {
        font-size: 44px;
        padding-top: 90px;
    }
}

@media screen and (max-width: 600px) {
    #picture-top>.container {
        font-size: 30px;
    }
}


.gradient {
    position: absolute;
    width: 100%;
    height: 800px;
    background: linear-gradient(180deg, rgba(120, 170, 216, 1) 0%, rgba(255, 255, 255, 1) 75%);
}

/************************ HOT */


#hot {
    margin-top: 150px;
}

@media screen and (max-width: 900px) {
    #hot {
        margin-top: 50px;
    }
}

#hot .header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 1200px) {
    #hot .header>button {
        position: relative;
        right: 40px;
    }
}

@media screen and (max-width: 600px) {
    #hot .header>button {
        bottom: 0;
        right: 0;
    }
}

/************************ ABOUT */


#about {
    margin-top: 150px;
}

@media screen and (max-width: 900px) {
    #about {
        margin-top: 50px;
    }
}

#about .header {
    padding-left: 400px;
}

@media screen and (max-width: 1200px) {
    #about .header {
        text-align: right;
        padding-left: 0;
    }
}

@media screen and (max-width: 900px) {
    #about .header {
        text-align: left;
    }
}

#about .content {
    display: flex;
    padding: 40px 0 40px 400px;
    font-size: 24px;
    border-bottom: 1px solid black;
}

@media screen and (max-width: 1200px) {
    #about .content {
        padding: 40px 0;
        gap: 80px;
        align-items: flex-start;
        line-height: 1.15;
    }
}

@media screen and (max-width: 900px) {
    #about .content {
        padding: 20px 0;
        gap: 10px;
        font-size: 18px;
        line-height: 1.2;
    }
}

@media screen and (max-width: 600px) {
    #about .content {
        padding: 20px 0;
        gap: 20px;
        flex-direction: column;
        font-size: 16px;
    }
}

#about .content>img {
    display: none;
}

@media screen and (max-width: 1200px) {
    #about .content>img {
        display: inline-block;
    }
}

@media screen and (max-width: 900px) {
    #about .content>img {
        width: 295px;
    }
}

@media screen and (max-width: 600px) {
    #about .content>img {
        width: 100%;
    }
}

#about .more {
    margin-left: -18px;
    cursor: pointer;
}

@media screen and (max-width: 900px) {
    #about .more {
        margin-top: 20px;
    }
}

#about .more>a {
    padding: 10px 10px;
    text-decoration: underline;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.75);
    font-size: 18px;
}

@media screen and (max-width: 600px) {
    #about .more>a {
        font-size: 14px;
    }
}

#about .images {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid black;
}

@media screen and (max-width: 1200px) {
    #about .images {
        justify-content: flex-end;
    }

    #about .images img {
        width: 100%;
    }

    #about .images img:first-child {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    #about .images {
        padding: 25px 0;
    }
}

@media screen and (max-width: 600px) {
    #about .images {
        display: none;
    }
}

/************************ SERVICES */

#services {
    margin-top: 150px;
}

@media screen and (max-width: 900px) {
    #services {
        margin-top: 50px;
    }
}

#services .service {
    padding: 40px 0;
    font-size: 24px;
    border-bottom: 1px solid black;
}

@media screen and (max-width: 900px) {
    #services .service {
        padding: 20px 0;
        font-size: 24px;
    }
}

@media screen and (max-width: 600px) {
    #services .service {
        padding: 15px 0;
        font-size: 16px;
    }
}

#services .service .caption {
    width: 100%;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 30px;
}

#services .more {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#services .more>a {
    text-decoration: underline;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.75);
    font-size: 18px;
    white-space: nowrap;
}

@media screen and (max-width: 900px) {
    #services .more>a {
        font-size: 16px;
        margin-right: 30px;
    }
}

#services .more>img {
    margin-top: 15px;
    transition: 0.5s;
}

#services .less img {
    transform: scaleY(-1) translateY(15px);
}

#services .more a:after {
    content: 'See more';
}

#services .less a:after {
    content: 'See less';
}

@media screen and (max-width: 600px) {
    #services .caption a:after {
        content: '';
    }
}

#services .service .desc {
    display: none;
    column-gap: 30px;
    padding: 40px 0;
    font-size: 24px;
}

#services .service .desc.visible {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

#services .service .desc .card {
    width: 580px;
    min-width: 300px;
    padding: 30px;
    row-gap: 30px;
    box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.2), -1px -1px 20px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 1200px) {
    #services .service .desc .card {
        padding: 20px;
        row-gap: 10px;
    }
}

#services .service .desc .card .header {
    border: 0;
    font-size: 32px;
    font-weight: 300;
    text-align: center;
    padding: 0;
}

#services .service .desc .card img {
    height: 300px;
    object-fit: cover;
}

@media screen and (max-width: 1200px) {
    #services .service .desc .card img {
        height: 180px;
    }
}

@media screen and (max-width: 900px) {
    #services .service .desc .card img {
        height: 310px;
    }
}

#services .service .desc .card:not(.header) {
    font-size: 20px;
}

#services .service .desc .card a {
    text-transform: uppercase;
    text-align: center;
    color: rgba(0, 0, 0, 0.75);
}

/************************ CONTACTS */

#contacts {
    margin-top: 150px;
}

@media screen and (max-width: 900px) {
    #contacts {
        margin-top: 50px;
    }
}

#contacts .content {
    padding: 0 0 0 400px;
    font-weight: 100;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media screen and (max-width: 900px) {
    #contacts .content {
        padding-left: 150px;
    }
}

@media screen and (max-width: 600px) {
    #contacts .content {
        padding: 0;
    }
}


#contacts .item>span {
    width: 200px;
    display: table-cell;
    vertical-align: middle;
    height: 70px;
}

#contacts .item a,
#contacts .item div {
    padding: 25px 0;
    width: 75%;
    height: 100%;
    display: table-cell;
    border-bottom: 1px solid black;
    font-weight: 300;
    text-decoration: none;
    text-transform: none;
    color: rgba(0, 0, 0, 0.75);
    vertical-align: middle;
}

@media screen and (max-width: 900px) {

    #contacts .item a,
    #contacts .item div {
        width: 250px;
        line-height: 1;
    }
}

@media screen and (max-width: 600px) {

    #contacts .item a,
    #contacts .item div {
        width: 70%;
    }
}

#contacts .map iframe {
    margin: 100px 0;
    width: 100%;
    height: 450px;
    border: 0;
}

@media screen and (max-width: 900px) {
    #contacts .map iframe {
        margin: 60px 0;
        height: 325px;
    }
}

@media screen and (max-width: 600px) {
    #contacts .map iframe {
        margin: 50px 0;
        height: 160px;
    }
}

/************************ MESSAGE */

#message .header {
    text-transform: none;
}

#message form {
    display: flex;
    flex-direction: column;
    align-items: right;
}

@media screen and (max-width: 600px) {
    #message form {
        align-items: center;
    }
}

#message form input,
#message form textarea {
    width: 100%;
    height: 100px;
    border: 0;
    display: block;
    border-bottom: 1px solid black;
    resize: none;
}

@media screen and (max-width: 900px) {

    #message form input,
    #message form textarea {
        height: 80px;
    }
}

@media screen and (max-width: 600px) {

    #message form input,
    #message form textarea {
        height: 50px;
    }
}

#message form *::placeholder {
    line-height: 95px;
}

@media screen and (max-width: 900px) {
    #message form *::placeholder {
        line-height: 75px;
    }
}

@media screen and (max-width: 600px) {
    #message form *::placeholder {
        line-height: 45px;
    }
}

#message form button {
    width: 270px;
    margin: 50px 0 0 929px;
}

@media screen and (max-width: 1200px) {
    #message form button {
        margin-left: 547px;
    }
}

@media screen and (max-width: 900px) {
    #message form button {
        margin-left: 329px;
    }
}

@media screen and (max-width: 600px) {
    #message form button {
        width: 200px;
        margin-left: 0;
    }
}