/*--------------------Reset--------------------*/
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
* { padding: 0px; margin: 0px; border: none; outline: none; max-height: 100000px}
h1,h2,h3,h4,h5,h6,p{font-size:inherit;font-weight:inherit;}
input{-webkit-appearance: none; font: inherit;}
img, svg {vertical-align: top; max-width: 100%; height: auto; border-style: none;}
a,button {display:inline-block; text-decoration:none; color:inherit; box-shadow: none; cursor: pointer;}
.footer a[href^=tel] { color: inherit; text-decoration:inherit; pointer-events: none; display: inline; } 

/*--------------------General--------------------*/
:root {
    --accent-color: #D38D6F;
    --main-color: #3E3C3B;
}

body {
    min-width: 320px;

    font-family:'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0;
    
    color: var(--main-color);
    background: url('../img/bg_desktop.svg') #F5F0E5 no-repeat center / cover;
    overflow-x: hidden;

    text-size-adjust: none;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: transparent;
}

.wrap-inner {
    min-height: calc(var(--vh,100vh) - 27px);
}

.content {
    width: 100%;
    max-width: 382px;
    margin: 0 auto;
    text-align: center;
    padding-top: 32px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0px 0px 9.204201698303223px 0px rgba(0, 21, 36, 0.12);
    
    /* background-image: url(../img/rectangle.png); */
    background-image: linear-gradient(45deg, #E8E8E8 25%, transparent 25%, transparent 75%, #e8e8e8 75%, #E8E8E8), linear-gradient(45deg, #e8e8e8 25%, transparent 25%, transparent 75%, #E8E8E8 75%, #e8e8e8);
    background-size: 20px 20px;
    background-position: 0 0, 30px 30px;
    background-repeat: repeat;
    background-color: #EAEAEA;
}

.content__title {
    position: relative;
    width: fit-content;
    margin: 0 auto 16px;

    color: #343433;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.08px;
    text-transform: uppercase;
    z-index: 1;

    overflow: hidden;
    border-right: .15em solid #D38D6F;
    white-space: nowrap;
    animation: typing 2s steps(25, end) forwards;
    width:360px;
}


@keyframes typing {
    0% { width: 0 }
    50% { width:360px }
    100% { 
        overflow: visible;
        border-right: none; 
        width:360px
    }
}

.content__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(95, 188, 255, 0.20);
    z-index: 0;
}

.content__title::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 23px;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    background-image: url(../img/course.svg);
    background-position: center;
    background-size: contain;
}

.content__img {
    opacity: 0;
    margin-bottom: 6px;
    animation: rotate 2s 1s forwards;
}
@keyframes rotate {
    from{transform: rotate(180deg); opacity: 0;}
    to{transform: rotate(0deg); opacity: 1;}
}
.content__subtitle {
    font-size: 21px;
    font-weight: 700;
    white-space: nowrap;
    /* letter-spacing: 0.46px; */
    margin-bottom: 32px;
}

.content__text {
    font-size: 17px;
    font-weight: 700;
    white-space: wrap;
    line-height: 17px;
    /* letter-spacing: 0.34px; */
    margin-bottom: 16px;
}

ul {
    /* letter-spacing: 0.3px; */
    margin: auto;
    text-align: initial;
    margin-left: 35px;
    margin-bottom: 32px;
}

ul li {
    margin-bottom: 8px;
}

ul li::marker {
    color: var(--accent-color);
    font-size: 16px;
}

.btn {
    position: relative;
    width: 100%;
    max-width: 276px;
    display: block;
    margin: 0 auto 32px;
    padding: 13px;

    background-color: var(--accent-color);
    
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.44px;
    
    border-radius: 30px;
    user-select:none;
    transition: .3s linear;

    overflow: hidden;
}
.btn:before {
    content: '';
    width: 100%;
    height: 250%;
    position: absolute;
    top: 0; left: 0;
    opacity: 0.5;
    filter: blur(40px);
    background: linear-gradient(to left, transparent 0%, #fff 40%, #fff 60%, transparent 100%);
    transform: translate(-100%, -25%) rotate(10deg);
    animation: blick 5s 5s infinite;
  }
  
@keyframes blick {
    0% {
        transform: translate(-100%, -25%) rotate(10deg);
    }
    20% {
        transform: translate(100%, -25%) rotate(10deg);
    }
    100% {
        transform: translate(100%, -25%) rotate(10deg);
    }
}

@media (any-hover: hover) {
    .btn:hover {
        background-color: #BC7658;
    }
}

.tabs {
    display: flex;
    background-color: #E8E4DA;
    padding: 18px 0;
    box-shadow: 0px 0px 9px 0px rgba(0, 21, 36, 0.12);
    border-radius: 0 0 20px 20px;
}

.tabs__item {
    width: 25%;
}

.tabs__item:nth-child(3){
    color: var(--accent-color);
}

.tabs__img {
    width: 23px;
    height: 23px;
    margin-bottom: 3px;
}

.tabs__text {
    cursor: default;
    font-size: 11px;
    letter-spacing: 0.22px;
}


/*--------------------Footer--------------------*/
.footer {
    font-size: 18px;
    padding: 0 10px;
    text-align: center;
    letter-spacing: 0.36px;
    transition: .3s;
}
@media (any-hover: hover) {
    .footer:hover {
       color: var(--accent-color);
    }
}


/*--------------------MEDIA--------------------*/

@media screen and (max-width: 1368px) and (max-height: 650px) and (min-width: 768px){
    .wrap-inner {
        min-height: calc(var(--vh,100vh) - 18px);
    }
    .content {
        padding-top: 24px;
        max-width: 350px;
    }
    .content__title {
        font-size: 18px;
        margin-bottom: 12px;
        width: 297px
    }
    @keyframes typing {
        0% { width: 0 }
        50% { width: 297px }
        100% { 
            overflow:visible;
            border-right: none; 
        }
    }
    .content__img {
        width: 118px;
        height: 126px;
        margin-bottom: 12px;
    }
    .content__subtitle {
        font-size: 17px;
        margin-bottom: 24px;
    }
    .content__text {
        font-size: 13px;
        margin-bottom: 12px;
    }
    ul {
        margin-bottom: 24px;
        font-size: 11px;
    }
    ul li {
        margin-bottom: 6px;
    }
    .btn {
        max-width: 210px;
        padding: 10px;
        margin-bottom: 26px;
        font-size: 16px;
    }
    .tabs {
        padding: 12px 0;
    }
    .tabs__text {
        font-size: 9px;
    }
    .tabs__img  {
        width: 19px;
        height: 19px;
    }
    .footer {
        font-size: 14px;
    }
}


/* landscape (phones)*/
@media (orientation: landscape) and (min-width:480px) and (max-width:950px) and (max-height:500px) {
    body {
        background: #F5F0E5;
    }
    .wrap-inner {
        min-height: calc(var(--vh,100vh) - 45px);
    }
    .content {
        max-width: calc(100% - 20px);
        padding: 40px 0;
        margin: 30px 0 0;
        border-radius: 0 20px 20px 0;
        display: flex;
    }
    .content__box {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .content__title {
        font-size: 18px;
        margin-bottom: 14px;
        width: 297px
    }
    @keyframes typing {
        0% { width: 0 }
        50% { width: 297px }
        100% { 
            overflow:visible;
            border-right: none; 
        }
    }
    .content__img {
        width: 90px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 14px;
    }
    .content__subtitle {
        font-size: 17px;
        margin-bottom: 0px;
    }
    .content__text {
        text-align: left;
        font-size: 14px;
        margin-bottom: 14px;
    }
    ul {
        margin-bottom: 22px;
        margin-left: 25px;
    }
    ul li {
        font-size: 12px;
        margin-bottom: 6px;
    }
    .btn {
        max-width: 285px;
        font-size: 18px;
        padding: 11px;
        margin-bottom: 0;
        margin-left: 0;
    }
    .tabs__img {
        width: 15px;
        height: 15px;
        margin-bottom: 2px;
    }
    .tabs {
        display: flex;
        flex-direction: column;
        padding: 26px 5px 0px;
        margin-top: -40px;
        margin-bottom: -40px;
        border-radius: 0 20px 20px 0;
    }
    .tabs__item {
        height: 25%;
        width: auto;
    }
    .tabs__item:nth-child(1) {
        order: 4;
    }
    .tabs__item:nth-child(2) {
        order: 3;
    }
    .tabs__item:nth-child(3) {
        order: 2;
    }

    .tabs__text {
        font-size: 8px;
    }
    .footer {
        font-size: 14px;
    }
}

@media (orientation: landscape) and (min-width:480px) and (max-width:720px) and (max-height:350px) {
    .content{
        padding: 20px 0;
    }
    .tabs{
        margin-top: -20px;
        margin-bottom: -20px;
    }
}
@media (orientation: landscape) and (min-width:480px) and (max-width:680px) and (max-height:321px) {
    .content__title{
        font-size: 13px;
        width: 217px;
    }
    .content__title::after{
        width: 9px;
        height: 16px;
        right: -4px;
    }
    @keyframes typing {
        0% { width: 0 }
        50% { width: 217px }
        100% { 
            overflow:visible;
            border-right: none; 
        }
    }
    .content__subtitle{
        white-space: wrap;
        font-size: 14px;
    }
}
 
@media (orientation: landscape) and (min-width:480px) and (max-width:950px) and (max-height:300px) {
    .wrap-inner {
        min-height: calc(var(--vh,100vh) - 30px);
    }
    .content__text {
        font-size: 10px;
        letter-spacing: -0.1px;
    }
    .content {
        margin-top: 17px;
        padding: 15px 0;
    }
    .tabs {
        margin-top: -15px;
        margin-bottom: -15px;
    }
}
@media (orientation: landscape) and (min-width:480px) and (max-width:950px) and (max-height:267px) {
    .content {
        margin-top: 8px;
        max-width: calc(100% - 13px);
        padding: 10px 0;
    }
    .content__box{
        width: 50%;
    }
    .content__title {
        font-size: 11px;
        margin-bottom: 10px;
        width: 206px
    }
    @keyframes typing {
        0% { width: 0 }
        50% { width: 206px }
        100% { 
            overflow:visible;
            border-right: none; 
        }
    }
    .content__img {
        width: 70px;
        margin-bottom: 10px;
    }
    .content__subtitle {
        font-size: 14px;
    }
    .content__text {
        font-size: 12px;
        margin-bottom: 10px;
        letter-spacing: 0;
        text-align: left;
    }
    
    .tabs {
        padding: 26px 2px 0px;
        margin-top: -10px;
        margin-bottom: -10px;
    }
    .tabs__text {
        font-size: 7px;
    }
    ul li{
        font-size: 10px;
    }
    ul {
        margin-bottom: 18px;
        max-width: 
    }
    .btn {
        font-size: 16px;
        max-width: 242px;
        padding: 9px;
    }
}

/* se */
@media (orientation: landscape) and (min-width:480px) and (max-width:950px) and (max-height:265px) {
    .content__box:nth-child(1) {
        width: 45%;
    }
    .content__title {
        font-size: 11px;
        margin-bottom: 8px;
        width: 207px;
    }
    .content__text {
        font-size: 11px;
        letter-spacing: -0.2px;
    }
    .btn {
        font-size: 15px;
        max-width: 230px;
        padding: 9px;
    }
    ul li {
        font-size: 12px;
        margin-bottom: 6px;
        letter-spacing: -0.2px;
    }
}
@media (orientation: landscape) and (min-width:480px) and (max-width:950px) and (max-height:230px) {
    .content {
        margin-top: 5px;
        padding: 20px 0;
    }
    .tabs {
        margin-top: -20px;
        margin-bottom: -20px;
    }
}

/* Portrait (phones)*/
@media (orientation:portrait) and (max-width:500px) {
    body {
        background: #F5F0E5;
    }
    .content__title {
        width: 360px
    }
    @keyframes typing {
        0% { width: 0 }
        50% { width: 360px }
        100% { 
            overflow:visible;
            border-right: none; 
        }
    }
    .content__subtitle {
        font-size: 21px;
        margin-bottom: 28px;
    }
    .content{
        max-width: 390px;
    }
    .content__text {
        font-size: 15px;
        margin-bottom: 15px;
    }
    ul {
        margin-left: 37px;
    }
    ul li {
        font-size: 14px;
        line-height: 1.1;
    }
}

@media (max-width:500px) and (max-height:640px) {
    .wrap-inner {
        min-height: calc(var(--vh,100vh) - 18px);
    }
    .content {
        max-width: 350px;
        padding-top: 25px;
    }
    .content__title {
        font-size: 19px;
        width: 312px
    }
    .content__subtitle{
        font-size: 18px;
        line-height: 18px;
        white-space: wrap;
    }
    @keyframes typing {
        0% { width: 0 }
        50% { width: 312px }
        100% { 
            overflow:visible;
            border-right: none; 
        }
    }
    .content__img {
        width: 143px;
        height: 152px;
        margin-bottom: 15px;
    }
    ul li {
        font-size: 13px;
    }
    ul{
        margin-right: 10px;
    }
    .btn {
        max-width: 252px;
        font-size: 20px;
        padding: 12px;
        margin-bottom: 27px;
    }
    .tabs__img {
        width: 20px;
        height: 20px;
        margin-bottom: 2px;
    }
    .tabs {
        padding: 15px 0;
    }
    .footer {
        font-size: 15px;
    }
    .content__img{
        width: 94px;
        height: auto;
        margin-bottom: 10px;
    }
}

@media (max-width:400px) {
    .content{
        max-width: 350px;
    }
}

@media (max-width:375px) and (max-height:770px) {

    .content {
        max-width: 340px;
    }
    .content__title {
        font-size: 18px;
        width: 298px
    }
    .content__title::after{
        height: 20px;
    }
    @keyframes typing {
        0% { width: 0 }
        50% { width: 298px }
        100% { 
            overflow:visible;
            border-right: none; 
        }
    }
    .content__img {
        width: 140px;
        height: 149px;
    }
    .content__subtitle {
        font-size: 20px;
        white-space: wrap;
    }
    .btn {
        max-width: 247px;
        padding: 12px;
    }
}

@media (max-width:375px) and (max-height:655px) {
    .wrap-inner {
        min-height: calc(var(--vh,100vh) - 18px);
    }
    .content {
        max-width: 315px;
        padding-top: 25px;
    }
    .content__title {
        font-size: 17px;
        width: 278px
    }
    @keyframes typing {
        0% { width: 0 }
        50% { width: 278px }
        100% { 
            overflow:visible;
            border-right: none; 
        }
    }
    .content__img {
        width: 100px;
        height: auto;
        margin-bottom: 10px;
    }
    .content__subtitle {
        font-size: 18px;
    }
    .content__text {
        font-size: 14px;
        margin-bottom: 13px;
    }
    ul {
        margin-bottom: 25px;
    }
    ul li {
        font-size: 12px;
    }
    .btn {
        max-width: 227px;
        font-size: 18px;
        padding: 11px;
        margin-bottom: 25px;
    }
    .tabs__img {
        width: 18px;
        height: 18px;
        margin-bottom: 2px;
    }
    .tabs {
        padding: 14px 0;
    }
    .footer {
        font-size: 14px;
    }
}

@media (max-width:360px) { 
    .content__text {
        font-size: 14px;
    }
    ul li {
        margin-bottom: 8px;
        font-size: 12px;
    }
}
@media (max-width:360px) and (max-height: 600px) { 
    .content__img{
        width: 85px;
        margin-bottom: 7px;
    }
}


@media (max-width:320px) { 
    .content {
        max-width: 280px;
        padding-top: 20px;
    }
    .content__title {
        font-size: 16px;
        margin-bottom: 10px;
        width: 260px;
    }
    @keyframes typing {
        0% { width: 0 }
        50% { width: 260px }
        100% { 
            overflow:visible;
            border-right: none; 
        }
    }
    .content__img {
        width: 85px;
        height: auto;
        margin-bottom: 7px;
    }
    .content__subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .content__text {
        font-size: 12px;
        margin-bottom: 10px;
    }
    ul {
        margin-bottom: 20px;
    }
    ul li {
        font-size: 10px;
        margin-bottom: 5px;
        line-height: 0.9;
    }
    .btn {
        max-width: 183px;
        font-size: 16px;
        margin-bottom: 20px;
        padding: 11px;
    }
    .tabs__img {
        width: 15px;
        height: 15px;
        margin-bottom: 2px;
    }
    .tabs {
        padding: 11px 0;
    }
}