*,
*::after,
*::before {
    margin:  0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
}

@media(max-width: 600px) {
    html{
        font-size: 50%;
    }
}
 
body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    /* font-size: 16px; */
    line-height: 1.7;
    color: #777;
    padding: 3rem;
    box-sizing: border-box;
}

/* BURGER
============ */
.navigation__button {
    background-color: #fff;
    height: 7rem;
    width: 7rem;
    position: fixed;
    top: 6rem;
    right: 6rem;
    border-radius: 50%;
    z-index: 2000;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1);
    text-align: center;
    cursor: pointer;
}

.navigation__background {
    height: 6rem;
    width: 6rem;
    border-radius: 50%;
    position: fixed;
    top: 6.5rem;
    right: 6.5rem;
    background-image: radial-gradient(#6cf860, #064b17);
    z-index: 1000;
    transition: transform .8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navigation__nav {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1500;
    opacity: 0;
    width: 0;
    transition: all .8s;
}

.navigation__list {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    text-align: center;
    width: 100%;
}

.navigation__item {
    margin: 1rem;
}

/* FUNCTIONALITY
================== */
.navigation__link:link, 
.navigation__link:visited {
    font-size: 3.5rem;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    background-image: linear-gradient(120deg, transparent 0%, transparent 50%, #fff 50%);
    background-size: 220%;
    transition: all .4s;
}

span {
    margin-right: 1.5rem;
    display: inline-block;
}

.navigation__link:hover, 
.navigation__link:active {
    background-position: 100%;
    color: #55c57a;
    transform: translateX(1rem);
}

.navigation__checkbox:checked ~ .navigation__background {
    transform: scale(80);
}

.navigation__checkbox:checked ~ .navigation__nav {
    width: 100%;
    opacity: 1;
}

/*  ICON
============= */
.navigation__icon {
   margin-top: 3.5rem;
   position: relative;
}

.navigation__icon,
.navigation__icon::before,
.navigation__icon::after {
    width: 3rem;
    height: 2px;
    left: .7rem;
    background-color: #333;
    display: inline-block;
}

.navigation__icon::before,
.navigation__icon::after {
    content: "";
    position: absolute;
    left: 0;
    transition: all .2s;
}

.navigation__icon::before {top: -.8rem;}
.navigation__icon::after {top: .8rem;}

.navigation__button:hover .navigation__icon::before {top: -1rem}
.navigation__button:hover .navigation__icon::after {top: 1rem}

.navigation__checkbox:checked + .navigation__button .navigation__icon {
    background-color: transparent;
}

.navigation__checkbox:checked + .navigation__button .navigation__icon::before {
   top: 0;
   transform: rotate(135deg);
}

.navigation__checkbox:checked + .navigation__button .navigation__icon::after {
    top: 0;
    transform: rotate(-135deg);
}

/* INTRO 
=============*/
.header {
    height: 95vh;
    background-image: linear-gradient(
        to right bottom,
      rgb(126, 213, 111, 0.8),
      #28b485ec),
        url(../img/hero.jpg);
    background-size: cover;
    background-position: top;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
}

.header__logo-box {
    position: absolute;
    top: 4rem;
    left: 4rem;
}

.header__logo {
    height: 3.5rem ;

}

.header__text-box {
    position:absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.heading-primary {
    color: #fff;
    text-transform: uppercase;
    backface-visibility: hidden;
    margin-bottom: 6rem;
}

.heading-primary--main {
    display: block;
    font-size: 6rem;
    font-weight: 400;
    letter-spacing: 3.5rem;
    animation-name: moveInLeft;
    animation-duration: 1s;
    animation-timing-function: ease-out;
}

.heading-primary--sub {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1.75rem;
    animation: moveInRight 1s ease-out;
}

@keyframes moveInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px) ;
    }

    80% {
        transform:translateX(10px);
    }

    100%{
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes moveInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    80% {
        transform:translateX(-10px);
    }

    100%{
        opacity: 1;
        transform: translate(0);
    }
}

/* Button 
=============*/

@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateY(3rem);
    }

    100%{
        opacity: 1;
        transform: translate(0);
    }
}

.btn:link,
.btn:visited {
    text-transform: uppercase;
    text-decoration:  none;
    padding: 1.5rem 4rem;
    display: inline-block;
    border-radius: 10rem;
    transition: all .2s;
    position: relative;
}

.btn:hover {
    transform: translateY(-.3rem);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.2);
}

.btn:active .btn:focus {
    outline: none;
    transform: translateY(-.1rem);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
}

.btn--white {
    background-color: #fff;
    color: #777;
}


.btn::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .4s;
}

.btn--white::after {
    background-color: #fff;
}

.btn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}

.btn--animated {
    animation: moveInBottom .5s ease-out .75s;
    animation-fill-mode: backwards;
}

/* Heading 
==================*/
.section-about {
    background-color: #f7f7f7;
    padding: 25rem 0;
    margin-top: -25vh;
}                        

.heading-secondary {
    font-size: 3.5rem;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    background-image: linear-gradient(to right, #55c57a, #28b485);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.heading-secondary:hover {
    transform: skewY(3deg) skewX(15deg) scale(1.1);
    text-shadow: .5rem 1rem 2rem rgba(#000, .2);
}

.u-center-text {
    text-align: center
}

.u-margin-bottom-8{
    margin-bottom: 8rem;
}

/* COLUMNS 
================ */
.columns {
    height: 44rem;
    margin: 0 auto;
}

.columns__container {
    column-count:2;
}
    
.columns__item {
    margin: 4rem 0 1.6rem 17rem;
    page-break-inside: avoid; 
    float: left;
}

.item {
    display: inline-block;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    padding: 20px 0;
}

.heading-tertiary {
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.paragraf {
    font-size: 1.6rem;
    margin-bottom: 3rem;
}

.btn-text:link, .btn-text:visited {
    font-size: 1.6rem;
    color:#55c57a;
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid #55c57a;
    padding: 3px;
    transition: all .2s; 
}

.btn-text:hover {
    background-color: #55c57a;
    color: #fff;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .15);
    transform: translateY(-2px); }

.btn-text:active {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
    transform: translateY(0); 
}

/* PHOTO 
==============*/
.composition {
    position: relative;
}   

.composition__photo { 
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .4);
    border-radius: 2px;
    position: absolute;
    z-index: 10;
    outline-offset: 1.4rem;
}

.composition__photo--p1 {
    right: -20rem;
    top: -2rem;
}

.composition__photo--p2 {
    left: 13rem;
    top: 2rem;
}

.composition__photo--p3 {
    left: 2rem;
    top: 10rem;
}

.composition__photo:hover {
    outline: 1.4rem solid #55c57a;
    transform: scale(1.05) translateY(-.5rem);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .5);
    z-index: 20;
}

.composition:hover .composition__photo:not(:hover) {
    transform: scale(.95);
}

/* SOCIAL 
===================== */
.section__features{
    padding: 20rem 0;
    background-image: linear-gradient(
        to right bottom,
      rgb(126, 213, 111, 0.8),
      #28b485ec),
        url(../img/nat-4.jpg);
    background-size: cover;
    transform: skewY(-7deg);
    margin-top: -10rem;
}

.section__features > * {
    transform: skewY(7deg)
}

.columns__2 {
    display: flex;
    flex-wrap: wrap;
}

.col-1-of-4 {
    width: auto;
    margin-right: 6rem;
}

.col-1-of-4:first-child {
    margin-left: 23rem;
}

.feature-box {
    width: 23rem;
    background-color: rgba(255, 255, 255, .8);
    font-size: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .15);    
    transition: transform .3s;
}

.feature-box__icon {
    height: 6rem;
    margin-bottom: .5rem;
}

.feature-box:hover {
    transform: translateY(-1.5rem) scaleY(1.03);
}

/* СARD
======================= */
.section-tours {
    background-color: #f7f7f7;
    padding: 25rem 0 15rem 0;
    margin-top: -10rem;
    margin-bottom: 10rem;
}

.card {
    display: flex;
    flex-wrap: wrap; 
}

.card__1 {
    perspective: 150rem;
    -moz-perspective: 150rem;
    position: relative;
    width: 33rem;
    margin: 7rem 10rem 0 15rem;
}

.card__2 {
    perspective: 150rem;
    -moz-perspective: 150rem;
    width: 33rem;
    margin: 7rem 10rem 0 0;
    display: flex;
    flex-wrap: wrap;
}

.card__3 {
    perspective: 150rem;
    -moz-perspective: 150rem;
    width: 33rem;
    margin: 7rem 10rem 35rem 0;
    display: flex;
    flex-wrap: wrap;
}

.card__1__side {
    color: #fff;
    font-size: 2rem;
    height: 52rem;
    width: 100%;
    transition: all .8s ease;
    position: absolute;
    top: 0;
    backface-visibility: hidden;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .15);
}

.card__2__side {
    color: #fff;
    font-size: 2rem;
    height: 52rem;
    width: 100%;
    transition: all .8s ease;
    position: absolute;
    top: 0;
    left: 160%;
    backface-visibility: hidden;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .15);
}

.card__3__side {
    color: #fff;
    font-size: 2rem;
    height: 52rem;
    width: 100%;
    transition: all .8s ease;
    position: absolute;
    top: 0;
    left: 275%;
    backface-visibility: hidden;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .15);
}

.card__1__side--front {
    background-color: #fff;
}

.card__1:hover .card__1__side--front {
    transform: rotateY(180deg);
}

.card__1:hover .card__1__side--back-1 {
    transform: rotateY(0deg);
}

.card__2__side--front {
    background-color: #fff;
}

.card__2:hover .card__2__side--front {
    transform: rotateY(180deg);
}

.card__2:hover .card__2__side--back-2 {
    transform: rotateY(0deg);
}

.card__3__side--front {
    background-color: #fff;
}

.card__3:hover .card__3__side--front {
    transform: rotateY(180deg);
}

.card__3:hover .card__3__side--back-3 {
    transform: rotateY(0deg);
}

.card__1__side--back-1 {
    background-image: linear-gradient(to right bottom, #ffb900, #ff7730 );
    transform: rotateY(180deg);
}

.card__2__side--back-2 {
    background-image: linear-gradient(to right bottom, #7ed56f, #28b485 );
    transform: rotateY(180deg);
}

.card__3__side--back-3 {
    background-image: linear-gradient(to right bottom, #2998ff, #5643fa );
    transform: rotateY(180deg);
}

/* FRONT SIDE PICTURE 
=========================*/
.picture {
    background-size: cover;
    height: 23rem;
}

.card__picture--1 {
    background-image: linear-gradient(to right bottom, #ffb900, #ff7730 ), url(../img/nat-5.jpg);
    background-size: cover;
    height: 23rem;
    background-blend-mode: screen;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.card__picture--2 {
    background-image: linear-gradient(to right bottom, #7ed56f, #28b485), url(../img/nat-6.jpg);
    background-size: cover;
    height: 23rem;
    background-blend-mode: screen;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.card__picture--3 {
    background-image: linear-gradient(to right bottom, #2998ff, #5643fa ), url(../img/nat-7.jpg);
    background-size: cover;
    height: 23rem;
    background-blend-mode: screen;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.card__heading {
    font-size: 2.8rem;
    font-weight: 300;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 12rem;
    right: 9rem;
    width: 75%;
}

.card__heading-span {
    padding: 1rem 1.5rem;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.card__heading-span--1 {
    background-image: linear-gradient(to right bottom, rgba(255, 185, 0, .85), rgba(255, 119, 48, .85))
}

.card__heading-span--2 {
    background-image: linear-gradient(to right bottom, rgba(126, 213, 111, .85), rgba(40, 180, 133, .85))
}

.card__heading-span--3 {
    background-image: linear-gradient(to right bottom, rgba(41, 152, 255, .85), rgba(86, 67, 250, .85))
}

.card__details {
    padding: 3rem;
    color: #555;
}

.ul__cards {
    list-style: none;
    width: 80%;
    margin: 0 auto;
}

.li__cards {
    text-align: center;
    font-size: 1.5rem;
    padding: 1rem;
}

.li__cards:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.card__cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
}

.card__price-box {
    text-align: center;
    color: #fff;
    margin-bottom: 8rem;
}

.card__price__only {
    font-size: 1.4rem;
    text-transform: uppercase;
}

.card__price__value {
    font-size: 6rem;
    font-weight: 100;
}

/* BUTTON
============ */
.btn--green-2 {
    background-color: #55c57a;
    color:  #fff;
    margin-top: 23rem;
    width: 23rem;
    height: 5rem;
    text-align: center;
    font-size: 1.3rem;
}

.btn::after {
   background-color: #55c57a;
}

/* STORIES
============================= */
.sectoion-stories {
    padding: 15rem 0;
    background-color: #f7f7f7;
}

.story {
    width: 65%;
    margin: 0 auto;
    margin-bottom: 10rem;
    box-shadow: 3rem 3rem 6rem rgba(0, 0, 0, .1);
    background-color: rgb(255, 255, 255, .6);
    border-radius: 3px;
    padding: 6rem;
    font-size: 1.6rem;
    transform: skewX(-12deg);
}

.story:first-child {
    margin-top: 5rem;
}

.story__shape {
    width: 15rem;
    height: 15rem;
    float: left;
    -webkit-shape-outside: circle(50% at 50% 50%);
    shape-outside: circle(50% at 50% 50%);
    -webkit-clip-path: circle(50% at 50% 50%);
    clip-path: circle(50% at 50% 50%);
    transform: translateX(-3rem) skewX(12deg);
    position: relative;
    overflow: hidden;
}

.story__img {
    height: 100%;
    transform: translateX(-4rem) scale(1.4);
    backface-visibility: hidden;
    transition: all .5s;
}

.story__text {
    transform: skewX(12deg);
}

.story__caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20%);
    color: #fff;
    text-transform: uppercase;
    font-size: 1.7rem;
    text-align: center;
    opacity: 0;
    transition: all .5s;
    backface-visibility: hidden;
}

.story:hover .story__caption {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.story:hover .story__img {
    transform: translateX(-4rem) scale(1);
    filter: blur(3px) brightness(80%);
}

.btn--text:link, .btn--text:visited {
    font-size: 1.6rem;
    color: #55c57a;
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid #55c57a;
    padding: 3px;
    transition: all .2s;
}

.btn--text:hover {
    background-color: #55c57a;
    color: #fff;
    box-shadow: 0 1rem 2rem rgba( 0, 0, 0, .15);
    transform: translateY(-2px);
}

.btn--text:active {
    box-shadow: 0 .5rem 1rem rgba( 0, 0, 0, .15);
    transform: translateY(0);
}


/* BACKGROUND VIDEO
=================== */
.bg-video {
    position: absolute;
    margin-top: -10rem;
    height: 130%;
    width: 96.2%;
    z-index: -1;
    opacity: .15;
    overflow: hidden;
}

.bg-video__content {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* BOOK-SECTION
========================== */
.section-book {
    padding: 15rem 0;
    margin-top: 10rem;
    background-image: linear-gradient(to right bottom, #7ed56f, #28b485);
}

.book {
    background-image: linear-gradient(105deg,
                    rgba(255, 255, 255, .9) 0%,
                    rgba(255, 255, 255, .9) 50%,
                    transparent 50%) ,
                    url(../img/nat-10.jpg);
    background-size: 100%;
    border-radius: 3px;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .2);
    height: 50rem;
    width: 80%;
    margin: 0 auto;
}

.book__form {
    width: 50%;
    padding: 6rem;
}

.u-margin-bottom-medium { 
    margin-bottom: 4rem !important; 
}

/* FORM FOR A BOOK
 ==================== */
.form__group:not(:last-child) {
    margin-bottom: 2rem;
}

.form__input {
    font-size: 1.5rem;
    font-family: inherit;
    color: #000 inherit;
    padding: 1.5rem 2rem;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, .5);
    border: none;
    border-bottom: 3px solid transparent;
    width: 90%;
    display: block;
    transition: all .3s;
}

.form__input:focus {
    outline: none;
    box-shadow: 0 1rem 2rem rgba( 0, 0, 0, .1);
    border-bottom: 3px solid #55c57a;
}

.form__input:focus:invalid {
    border-bottom: 3px solid #ff7730;
}

.form::-webkit-input-placeholder {
    color: #000;
}

.form__label {
    font-size: 1.2rem;
    font-weight: 700;
    margin-left: 2rem;
    margin-top: .7rem;
    display: block;
    transition: all .3s;
}

.form__input:placeholder-shown + .form__label {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4rem);
}

.form__radio-group {
    width: 49%;
    display: inline-block;
}

.form__radio-input {
    display: none;
}

.form__radio-label {
    font-size: 1.6rem;
    cursor: pointer;
    position: relative;
    padding-left: 4.5rem;
    display: inline-block;
}

.form__radio-button {
    height: 3rem;
    width: 3rem;
    border: 5px solid #55c57a;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    margin-bottom: 0;
}

.form__radio-button::after {
    content: "";
    display: block;
    height: 1.3rem;
    width: 1.3rem;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #55c57a;
    opacity: 0;
    transition: opacity .2s ;
}

.form__radio-input:checked ~ .form__radio-label .form__radio-button::after {
    opacity: 1;
}

/* BUTTON FOR A BOOK
========================= */
.btn--green-special {
    background-color: #55c57a;
    color:  #fff;
    width: 23rem;
    height: 5rem;
    text-align: center;
    font-size: 1.6rem;
    outline: none;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.5rem 4rem;
    display: inline-block;
    border-radius: 10rem;
    transition: all .2s;
    position: relative;
    border: none;
    cursor: pointer;
}

/* FOOTER
============= */
.footer {
    background-color: #333;
    padding: 10rem 0;
    font-size: 1.4rem;
    color: #f7f7f7;
    height: 55rem;
}

.footer__columns {
    width: 50%;
}

.footer__columns:last-child {
    position: absolute;
    transform: translate(70%, -32.2%);
}

.footer__logo-box {
    text-align: center;
    margin-bottom: 8rem;
}

.footer__logo {
    width: 15rem;
    height: auto;
}

.footer__navigation {
    border-top: 1px solid #777;
    padding-top: 2rem;
    display: inline-block;
    margin-left: 15rem;
}

.footer__list {
    list-style: none;
}

.footer__item {
    display: inline-block;
}

.footer__item:not(:last-child) {
    margin-right: 1.5rem;
}

.footer__link:link, .footer__link:visited {
    color: #f7f7f7;
    background-color: #333;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    transition: all .2s;
}

.footer__link:hover, .footer__link:active {
    color: #55c57a;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .4);
    transform: rotate(5deg) scale(1.3);
}

.footer__copyright { 
    border-top: 1px solid #777;
    padding-top: 2rem;
    width: 57%;
    float: right;
}

/* POPUP
================= */
.popup {
    height: 110vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.popup__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, .2);
    border-radius: 3px;
    display: table;
    overflow: hidden;
    transform: translate(-50%, -50%) scale(.5);
    transition: all .4s .2s;
}

.popup__left {
    width: 33.33333%;
    display: table-cell;
}

.popup__right {
    width: 56.666667%;
    display: table-cell;
    vertical-align: middle;
    padding: 3rem 5rem;
    overflow: hidden;

}

.popup__img {
    display: block;
    width: 100%;
}

.popup__text {
    font-size: 2.2rem;
    margin-bottom: 4rem;
    -moz-column-count: 2;
    -moz-column-gap: 4rem;
    -moz-column-rule: 1px solid #999;
    column-count: 2;
    column-gap: 4rem;
    column-rule: 1px solid #999;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.btn--green {
    background-color: #55c57a;
    color:  #fff;
    width: 25rem;
    height: 6rem;
    text-align: center;
    font-size: 2.1rem;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup__close:link,
.popup__close:visited {
    color: #777;
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-size: 5.5rem;
    text-decoration: none;
    display: inline-block;
    transition: all .2s;
    line-height: 1;
}

.popup__close:hover {
    color: #55c57a;
}

/* MEDIA
============= */
@media (max-width: 1300px){
    /* Features */
    .feature-box{
        width: 22.5rem;
        padding: 2.5rem;
        margin: 0 50px 0 -9rem;
        height: 28rem;
    }
    /* Cards */
    .card__1{
        width: 30rem;
        margin: 7rem -2rem 40rem 9rem;
    }
    .card__2{
        width: 30rem;
        margin: 7rem -2rem 40rem 9rem;
    }
    .card__3{
        width: 30rem;
        margin: 7rem -2rem 40rem 9rem;
    }
    /* Stories */
    .story{
        height: auto;
        margin: 50px 19px;
        width: 95%;
        transform: none;
    }
    .story__text{
        transform: none;
    }
    .story__shape{
        margin: -1rem 1rem 1rem -3rem;
        transform: none;
    }
}

@media(max-width:991px){
    /* Columns */
    .columns__item{
        margin-left: 1.8rem;
        margin-right: 8rem;
    }
    /* Features */
    .col-1-of-4:first-child{
        margin-left: 10rem;
    } 
    .col-1-of-4:last-child{
        margin-right: -10rem;
    } 
    .feature-box{
        width: 21rem;
        padding: 2.5rem;
        margin-right: 5.35rem;
        height: 32rem;
    }
    /* Cards */
    .card__heading{
        font-size: 2rem;
    }
    .card__1{
        width: 28rem;
        margin: 7rem 4.5rem 40rem 0;
    }
    .card__2{
        width: 28rem;
        margin: 7rem 4.5rem 40rem 0;
    }
    .card__3{
        width: 28rem;
        margin: 7rem 0 40rem 0;
    }
    /* Stories */
    .story{
        height: 24;
        margin: 50px 19px;
        padding: 5rem 5rem;
        width: 95%;
        transform: none;
    }
    .story__text{
        transform: none;
    }
    .story__shape{
        margin: -1rem 1rem 1rem -3rem;
        transform: none;
    }
    /* Book */
    .heading-secondary{
        margin-top: -10rem;
    }
    .form__radio-group{
        width: 30%;
    }
    .book{
        background-image: linear-gradient(105deg,
                        rgba(255, 255, 255, .9) 0%,
                        rgba(255, 255, 255, .9) 43%,
                        transparent 50%) ,
                        url(../img/nat-10.jpg);
        background-size: 135%;
        border-radius: 3px;
        box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .2);
        height: 46rem;
        width: 85%;
    }
    .book__form{
        width: 95%;
    }
    /* Footer */
    .footer__navigation{
        width: 96%;
        margin: 0 0 1.38rem 4rem;
    }
    .footer__copyright{
        width: 75%;
        margin: 0 -5rem 2.2rem 0;
    }
}

@media(max-width:768px){
    /* Columns */
    .columns{
        height: auto;
    }
    .columns__container{
        column-count: 1;
        margin-left: 10rem;
    }
    .heading-secondary{
        margin-top: 4rem;
    }
    .heading-tertiary{
        margin-left: -4rem;
    }
    .paragraf{
        width: 100%;
    }
    /* Feature */
    .feature-box{
        width: 100%;
        margin: 0 0 5rem 3rem;
        height: auto;
    }

    .col-1-of-4:first-child{
        margin-left: 0rem;
    }
    .col-1-of-4:last-child{
        width: 92%;
    }
    /* Card */
    .card__1{
        width: 44rem;
        margin: 8rem 0 52rem 13rem;
    }
    .card__2{
        width: 44rem;
        margin: 7rem 0 52rem 13rem;
    }
    .card__3{
        width: 44rem;
        margin: 7rem 0 40rem 13rem;
    }
    /* Book */
    .book{
        background-image: linear-gradient(105deg,
        rgba(255, 255, 255, .9) 0%,
        rgba(255, 255, 255, .9) 100%,
        transparent 50%) ,
        url(../natours/img/nat-10.jpg);
        background-size: 100%;
        width: 90%;
        height: auto;
    }
    .book__form{
        width: 100%;
    }
    .form__radio-group{
        width: 49%;
    }
    /* Footer */
    .footer{
        height: auto;
    }
    .footer__logo{
        transform: translate(0, -30%);
    }
    .footer__navigation{
        width: 126%;
        margin: 0 20rem 15rem 12.5rem;
    }
    .footer__copyright{
        width: 120%;
        margin: 0 7.5rem 15rem 0;
    }
} 