@import url('https://fonts.googleapis.com/css2?family=Magra:wght@700&family=Ubuntu:wght@400;500&display=swap');

:root {
    --primary: #E36917;
    --accent: #DC8724;
    --header: #fff;
    --success: #3CC995;
    --danger: #D63E3E;
    --warning: #F5A72A;
    --footer: #000;
    --primary-hover: #3CC995;
    --success-hover: #1B6925;
    --transition: all 0.25s cubic-bezier(.39, 0, .17, .99);

    --font-family-default: 'Ubuntu', sans-serif;
    --font-family-highlight: 'Magra', sans-serif;

    --dark-default: #111011;
    --dark-muted: #363636;
    --white-default: #FFFFFF;
    --white-muted: #F2F2F2;
    --grey-default: #E5E5E5;

    --bg-default: #DCC464;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

[id*="google-cache-hdr"] + div {
    height: 100%;
}
:focus {
    outline: 0;
}

ul,
li {
    list-style: none;
}

h1,
h2,
h3 {
    font-weight: 400;
}
a {
    color: var(--accent);
    text-decoration: none;
}
img {
    border: none;
}

html {
    scroll-behavior: smooth;
}

.wrapper-10best {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

body {
    font: 16px/1.37 var(--font-family-default);
    color: var(--dark-muted);
    background-color: var(--white-default);
}

.center {
    width: 100%;
    max-width: 960px;
    padding: 0 20px;
    margin: 0 auto;
}

section {
    padding-top: 20px;
    padding-bottom: 20px;;
}

p+p {
    margin-top: 15px;
}

.page-title {
    font: 28px/1.2 var(--font-family-highlight);
    text-align: left;
    text-transform: uppercase;
    color: var(--dark-default);
    margin-bottom: 20px;
}
.page-title span:first-child {
    display: block;
}
.highlighted {
    color: var(--accent);
}
.section-title {
    font: 28px/1.2 var(--font-family-highlight);
    text-align: center;
    text-transform: uppercase;
    color: var(--dark-default);
    margin-bottom: 20px;
}
.section-title span:first-child {
    display: block;
}
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-highlight);
    font-size: 16px;
    width: 100%;
    max-width: 260px;
    height: 48px;
    margin: 20px auto 0;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white-default);
    cursor: pointer;
    border: none;
    border-radius: 100px;
    background: var(--dark-default);
}
.btn:hover {
    opacity: 0.9;
}
.btn-inverse {
    color: var(--dark-default);
    background: var(--white-default);
}
.btn span {
    pointer-events: none
}
.card {
    padding: 20px;
    border-radius: 40px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    background: var(--white-muted);
}
/******* HEADER *******/

.header {
    height: 80px;
    padding: 10px 0;
    background-color: var(--header);
}

.header .center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
/********** DROPDOWN COMMON ************/
.nav-block {
    font-weight: 400;
    display: flex;
    align-items: center;
}
.nav-list > .nav-item {
    text-transform: uppercase;
}
.nav-block a {
    text-decoration: none;
}
.dropdown-item .nav-item a {
    text-transform: none;
}

.dropdown-title span:after {
    content: "";
    display: inline-flex;
    vertical-align: middle;
    width: 0;
    height: 0;
    margin-left: 15px;
    border: solid transparent;
    border-width: 4px;
    border-top-color: var(--white-default);
}

/********** // DROPDOWN COMMON ************/

/********** MAIN **********/
main {
    padding: 20px 0;
    background: var(--bg-default);
}
.slogan-block {
    padding: 20px 35px;
    background-color: var(--white-default);
}
.slogan-block p {
    font-style: italic;
    font-size: 18px;
    line-height: 1.5;
}
.main-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
/********** MAIN **********/
/********** TEXT SECTON **********/
.text-photo-section-10best img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.text-section-10best {
    padding: 40px 0 0;
}
.text-section-10best .text-block + .text-block {
    margin-top: 40px;
}
.separeted-center .section-photo img {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.separeted-center .section-photo {
    margin-bottom: 20px;
}
/********** // TEXT SECTON **********/

/********** PHOTO SECTON **********/
.photo-section-10best {
    overflow: hidden;
    background-color: var(--grey-default);
}
.photo-section-10best .center {
    position: relative;
    z-index: 1;
    display: grid;
    justify-content: center;
    grid-gap: 10px;
}
.photo-section-10best .center:after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -75px;
    top: 75px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: var(--accent);
}
.photo-section-10best .section-photo {
    margin: 0 auto;
}
.photo-section-10best img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 200px;
    object-fit: cover;
}
.photo-section-10best .text-block {
    padding: 40px;
    background-color: var(--white-default);
}
.photo-section-10best .section-title span {
    display: inline;
}
/********** // PHOTO SECTON **********/

/********** TITLE SECTON **********/
.title-section-10best {
    padding: 40px 0;
    background-color: var(--accent);
}
.title-section-10best .center {
    max-width: 600px;
}
.title-section-10best .section-title {
    color: var(--white-default);
}
/********** // TITLE SECTON **********/
/********** LIST SECTON **********/
.list-section-10best {
    padding: 40px 0;
}
.list-section-10best .center {
    position: relative;
    max-width: 820px;
}
.list-section-10best .section-title {
    text-align: left;
}
.list-section-10best .section-subtitle {
    font-style: italic;
    margin-bottom: 40px;
}
.list-section-10best ul {
    display: grid;
    grid-gap: 15px;
}
.list-section-10best ul b {
    font-weight: 500;
}
.list-section-10best ul li:before {
    content: "";
    display: inline-flex;
    vertical-align: middle;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--dark-muted);
}
/********** // LIST SECTON **********/
/********** OFFERS SECTON **********/
.offers-section-10best {
    padding: 40px 0;
    background-color: var(--grey-default);
}
.offers-section-10best .section-title span {
    display: inline;
}
.offers-section-10best .offer-block {
    padding-top: 20px;
}
.offers-section-10best .offer-item {
    max-width: 280px;
    margin: 0 auto 20px;
    text-align: center;
}
.offers-section-10best .offer-item:last-child {
    margin-bottom: 0;
}
.offers-section-10best .offer-title {
    font: 28px/1.1 var(--font-family-highlight);
    margin-bottom: 20px;
    color: var(--accent);
}
/********** // OFFERS SECTON **********/

/********** USERS SECTON **********/
.users-section-10best .user-item {
    margin-bottom: 20px;
}
.users-section-10best .user-item:last-child {
    margin: 0;
}
.user-info-block {
    position: relative;
}
.user-info-block .user-name {
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--white-default);
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.75);
}
.user-info-block img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}
.users-section-10best .btn {
    font-family: var(--font-family-default);
    font-weight: 400;
    max-width: 212px;
    height: 42px;
}
/********** // USERS SECTON **********/

/********** FOOTER **********/
.footer {
    padding: 20px 0;
    margin-top: 20px;
    background-color: var(--footer);
}
.footer .center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-link {
    display: inline-block;
}
.footer-list-block {
    display: grid;
    grid-gap: 10px;
    margin-left: 40px;
}
.footer-list-block a {
    display: block;
    color: var(--white-default);
    text-transform: uppercase;
    transition: var(--transition);
}

.footer-list-block a:hover {
    opacity: 0.9;
}

.copyright-block {
    font-size: 12px;
    margin-top: 20px;
    text-align: center;
    color: var(--white-muted);
}
/********** // FOOTER **********/

@media (max-width: 799px) {

    /********** DROPDOWN ************/
    .header.is-active {
        position: sticky;
        top: 0;
    }
    .nav-wrapper {
        display: none;
    }
    .is-active .nav-wrapper {
        display: grid;
        align-items: flex-start;
        position: fixed;
        z-index: 2;
        overflow-y: scroll;
        top: 80px;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        font-weight: 500;
    }

    .is-active .nav-block {
        display: grid;
        grid-gap: 30px;
        padding: 20px 30px;
    }

    .is-active .nav-block a {
        color: var(--white-default);
    }

    .is-active .nav-list {
        display: grid;
        grid-gap: 10px;
    }
    .nav-list > .nav-item {
        padding: 10px 10px 10px 40px;
        background: var(--dark-default);
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }
    .dropdown-wrapper {
        display: none;
        grid-gap: 10px;
        margin-top: 20px;
    }

    .dropdown-wrapper .nav-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropdown-title {
        display: inline-flex;
        cursor: pointer;
        color: var(--white-default);
    }

    .dropdown-item .nav-item a {
        opacity: 0.5;
    }

    .burger-menu-wrapper {
        position: relative;
        z-index: 3;
        padding: 5px 0 5px 5px;
    }

    .burger-menu {
        position: relative;
        display: grid;
        grid-gap: 5px;
        width: 18px;
        height: 16px;
    }

    .burger-menu .burger-layer {
        width: 100%;
        height: 2px;
        border-radius: 2px;
        transition: 0.2s transform;
        background: var(--dark-default);
    }

    .is-active .burger-menu-wrapper {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .is-active .burger-menu .burger-layer {
        width: 100%;
        position: absolute;
        top: 50%;
        right: 0;
        background: var(--dark-muted);
    }

    .is-active .burger-menu .layer-1 {
        transform: rotate(45deg);
    }

    .is-active .burger-menu .layer-2 {
        transform: rotate(-45deg);
    }

    .is-active .burger-menu .layer-3 {
        display: none;
    }

    .nav-block {
        display: none;
    }

    .dropdown-item.is-active .dropdown-wrapper {
        display: grid;
    }

    /********** // DROPDOWN ************/
}

@media (min-width: 800px) {
    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    main {
        padding: 40px 0;
    }
    main .center {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .main-photo img {
        height: 100%;
    }
    main .slogan-block {
        padding: 40px;
    }
    main .btn {
        font-size: 20px;
        height: 64px;
    }
    /********** DROPDOWN ************/

    .dropdown-wrapper {
        display: none;
        position: absolute;
        z-index: 1;
        right: 0;
        top: 100%;
        width: 100%;
        min-width: 130px;
        padding: 20px;
        text-align: left;
        grid-gap: 10px;
        background: var(--white-default);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    }
    .dropdown-wrapper .nav-item a {
        color: var(--dark-muted);
        text-transform: initial;
        font-weight: 400;
    }

    .dropdown-wrapper .nav-item a:hover {
        text-decoration: underline;
    }

    .dropdown-title,
    .nav-block a {
        cursor: pointer;
        color: var(--dark-muted);
    }
    .dropdown-title span:after {
        border-top-color: var(--dark-muted);
    }

    .nav-block a:hover {
        text-decoration: underline;
    }

    .nav-list {
        display: flex;
    }

    .nav-list > .nav-item {
        position: relative;
        padding: 30px 0 28px 40px;
    }

    .nav-list>.nav-item:hover .dropdown-wrapper {
        display: grid;
    }
    
    /********** // DROPDOWN ************/
    /* text photo section */
    .text-photo-section-10best .separeted-center {
        display: grid;
        grid-template-columns: 1fr 307px;
        grid-template-rows: 0fr auto auto;
        grid-gap: 0 40px;
    }
    .separeted-center .section-photo {
        grid-row: 1/3;
        margin: 0;
    }
    .separeted-center .section-photo img {
        height: 100%;
    }
    .separeted-center .section-title {
        margin-bottom: 30px;
        padding: 20px 0 0 40px;
    }
    .separeted-center .text-block {
        grid-row: 2;
        grid-column: 1;
        padding: 0 0 20px 40px;
    }
    .separeted-center .btn {
        margin-top: 30px;
    }
    /* photo section */
    .photo-section-10best {
        padding: 50px 0;
    }
    .photo-section-10best .center {
        grid-template-columns: auto 1fr;
        grid-gap: 40px;
        align-items: center;
    }
    .photo-section-10best .center:after {
        right: auto;
        left: 130px;
        top: -20px;
    }
    .photo-section-10best .center img {
        max-width: 307px;
    }
    .photo-section-10best .section-title {
        margin-bottom: 30px;
    }
    /* list section */
    .list-section-10best .center {
        padding-left: 95px;
    }
    .list-section-10best .center:before {
        content: "";
        position: absolute;
        z-index: -1;
        right: 100%;
        top: 0;
        bottom: 0;
        width: 200px;
        height: 200px;
        margin: auto -50px auto 0;
        border-radius: 50%;
        opacity: 0.2;
        box-shadow: inset 0 0 0 40px var(--bg-default);
    }
    .list-section-10best .section-title span {
        display: inline-block;
    }
    /* offers section */
    .offers-section-10best .offer-block {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 40px;
        align-items: center;
        padding-bottom: 20px;
    }
    .offers-section-10best .offer-item {
        margin: 0;
        padding: 40px 20px;
    }
    /* offers section */
    .text-section-10best {
        overflow: hidden;
    }
    .text-section-10best .text-block {
        padding-bottom: 40px;
    }
    .text-section-10best .center {
        position: relative;
    }
    .text-section-10best .center:before {
        content: "";
        position: absolute;
        z-index: -1;
        left: 100%;
        top: 0;
        bottom: 0;
        width: 300px;
        height: 300px;
        margin: auto 0 auto 70px;
        border-radius: 50%;
        opacity: 0.2;
        box-shadow: inset 0 0 0 50px var(--bg-default);
    }
    /* users section */
    .users-section-10best .user-block {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 20px;
        align-items: center;
        padding-bottom: 20px;
    }
    .users-section-10best .user-item {
        margin: 0;
    }
    /* footer */
    .footer {
        padding: 50px 0;
    }
    .footer .center {
        justify-content: space-between;
    }
    .footer-list-block {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
        max-width: 60%;
    }
    .footer-list-block li {
        margin: 0 0 0 50px;
    }
}

.column-container {
	display: flex;
	flex-wrap: wrap;
}

.column {
	width: 50%; \
	box-sizing: border-box;
	padding: 0 20px;
	margin-bottom:20px;
}

.mobile-logo {
	display: none;
}

@media screen and (max-width: 768px) {
	.desktop-logo {
		display: none;
	}
	
	.mobile-logo {
		display: block;
	}
}

.mobile-nav {
	display: none;
}

@media screen and (max-width: 768px) {
	.desktop-nav {
		display: none;
	}
	
	.mobile-nav {
		display: block;
	}
}