* {
    box-sizing: border-box;
}

body {
    margin: 0 auto;
    padding: 0;
    max-width: 1400px;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Nunito', sans-serif;
}

::selection {
    background-color: #C7A17A;
    color: #fff;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #fff;
}

nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 1006px;
    margin: 90px 146px;
    background-color: transparent;
}

.shopping {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: block;
    margin-right: 10px;
    transition: .3s all;
}

.shopping img {
    transform: translateY(10px) translateX(10px);
}

.shopping:hover {
    background-color: #C7A17A;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    transform: scale(1.3) translate(20px);
}

.inner__grid {
    display: grid;
    grid-template-columns: 382px 1fr 330px;
    grid-template-rows: 80vh;
    gap: 0px 0px;
    grid-template-areas: ". . .";
}

.inner__text {
    position: absolute;
    bottom: 26%;
    left: 21%;
}

.inner__text h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: #415167;
    font-size: 54px;
}

.inner__text h1 span {
    background-color: #C7A17A;
    color: #fff;
    padding: 0 15px;
    margin-left: -15px;
}

.menu {
    background-color: #415167;
    width: 100%;
    margin: 0;
    padding: 0 60px;
    height: 80vh;
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
}

.menu h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 17px;
}

.menu a {
    margin: 17px 0;
    position: relative;
    font-size: 16px;
    font-weight: 300;
}

.menu a:after {
    display: block;
    content: "";
    background-color: #fff;
    height: 1px;
    width: 0%;
    right: 100%;
    left: -30%;
    position: absolute;
    transition: width .3s ease-in-out;
    transform: translateX(30%);
}

.menu a:hover:after,
.menu a:focus:after {
    width: 100%;
}

.inner__grid__img__block img {
    width: 100%;
    height: 80vh;
}

.main__prev {
    width: 1104px;
    margin: 87px auto 0;
}

.card__prev {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-around;
    align-items: flex-start;
}

.text__prev {
    text-align: center;
    margin: 0 0 72px 0;
}

.text__prev h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #415167;
}

.text__prev h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: #415167;
}

.prev__card {
    width: 226px;
    height: 247px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.prev__card h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-top: 42.3px;
    line-height: 28px;
}

.prev__card p {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 21.82px;
    text-align: center;
}

.slides {
    margin: 210px 0;
}

.ides {
    width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 32px 30px;
    grid-template-areas: ". ." ". .";
}

.slide__card {
    display: flex;
    flex-direction: row;
    width: 559px;
    height: 256px;
}

.slide__card img {
    width: 235px;
    background-color: #EDF0F5;
}

.slide__card__text {
    padding: 42px;
    background-color: #fff;
    filter: drop-shadow(0px 4px 24px rgba(205, 205, 205, 0.5));
}

.slide__card__text h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 8px;
    color: #C7A17A;
}

.slide__card__text h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 24px;
    color: #232C38;
}

.slide__card__text p {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 21.82px;
    color: #151D28;
}

.slide__card__btn {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.slide__btn {
    padding: 6px 15px;
    background-color: #C7A17A;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 16px;
    border-radius: 19px;
    color: #F9FBFF;
    margin-right: 20px;
}

.bg__slide {
    z-index: -1;
    width: 384px;
    height: 894px;
    margin-top: -86px;
    position: absolute;
    background-color: #415167;
}

.tab_bg {
    margin-top: -82px;
    position: absolute;
    background-color: #EDF0F5;
    width: 1074px;
    height: 802px;
    z-index: -1;
}

.tab_bg img {
    margin-top: 150px;
    margin-left: 23px;
    transform: rotate(4deg);
    width: 960px;
    height: 600px;
}

.content__tab {
    background: transparent;
    height: 463px;
    width: 1187px;
}

.tab {
    background-color: #EDF0F5;
    transform: rotate(90deg) translateX(188px) translateY(-1000px);
    width: 463px;
    height: 88px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}


/* Style the buttons inside the tab */

.tab button {
    border: none;
    width: 88px;
    margin: -33px;
    outline: none;
    cursor: pointer;
    transform: rotate(-90deg);
    transition: 0.3s;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    color: #415167;
    font-size: 30px;
}


/* Change background color of buttons on hover */

.tab button:hover {
    background-color: #FFF;
}


/* Create an active/current tablink class */

.tab button.active {
    background-color: #FFF;
}


/* Style the tab content */

.tabcontent {
    width: 760px;
    height: 463px;
    transform: translateX(400px) translateY(-90px);
    background-color: #FFF;
    display: none;
    border: none;
    border-top: none;
    margin-bottom: 120px;
}

.tab__flex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.tab__img {
    position: absolute;
    transform: translatex(-250px) translateY(60px);
}

.tab__text {
    padding: 68px 60px 0 260px;
}

.tab__text h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    color: #C7A17A;
    font-size: 24px;
}

.tab__text h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #232C38;
    font-size: 24px;
}

.tab__text p {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    color: #415167;
    font-size: 16px;
    line-height: 21.82px;
}

.tab__grid__text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0px 0px;
    grid-template-areas: ". ." " . .";
}

.tab__icon {
    margin-right: 10px;
}

.tab__a {
    background-color: #C7A17A;
    padding: 5px 33px;
    border-radius: 19px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #FFF;
    line-height: 22px;
    font-size: 16px;
}

.p {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #415167;
    font-size: 16px;
}

.bg__last__slide {
    position: absolute;
    right: 13.2%;
    margin-top: -11.74%;
    background-color: #415167;
    width: 326px;
    height: 906px;
    z-index: -1;
}

.last__flex {
    display: flex;
    width: 1140px;
    margin: -18px auto 0;
}

.shop__match {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.shop__match p {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    color: #C7A17A;
    font-size: 20px;
    margin: 0 14px 0 0;
}

.shop__match strike {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    color: #415167;
    font-size: 14px;
}

.text__last {
    padding: 42px;
}

.card__last {
    display: flex;
    flex-direction: column;
    width: 360px;
    height: 562px;
    margin-right: 30px;
    background-color: #fff;
    filter: drop-shadow(0px 4px 24px rgba(205, 205, 205, 0.5));
}

.text__last h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #232C38;
    font-size: 24px;
    line-height: 28px;
}

.text__last__p {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    color: #151D28;
    font-size: 16px;
    line-height: 21.82px;
}

.flex__last__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex__last__btn a {
    padding: 6px 15px;
    background-color: #C7A17A;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 16px;
    border-radius: 19px;
    color: #F9FBFF;
}

.flex__last__btn p {
    margin: 0 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #415167;
}

.last__slides {
    height: 818px;
}

.footer {
    background-color: #EDF0F5;
    text-align: center;
    padding: 20px;
}