@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    color: #121212;
    font-family: 'Comfortaa', cursive;
}

.container{
    margin: 0 auto;
}

h2{
    line-height: 150%;
}

li{
    margin-bottom: 1em;
}

li:last-child{
    margin-bottom: 0;
}

input[type='text'],
input[type='phone'],
input[type='email']{
    background-color: #fff;
    border: none;
    box-shadow: 0px 1px 14px 0px rgba(0, 0, 0, 0.11);
    padding: 20px 25px;
    font-size: 1em;
}

.modal:not(.open){
    display: none;
}

.modal{
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    text-align: center;
}

.modal-content{
    position: absolute;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-close{
    position: absolute;
    top: 25px;
    right: 25px;
}

.modal-title{
    margin-bottom: 50px;
}

.modal-submit{
    margin-top: 50px;
}

.input{
    text-align: center;
}

.input>*{
    width: 100%;
}

.input>button{
    width: auto;
}

.input-double{
    display: grid;
}

.input,
.input-double{
    margin-bottom: 20px;
}

.block:first-child{
    margin-top: 35px;
}

.highlight{
    color: #73ABD8;
}

.fw-normal{
    font-weight: 400 !important;
}

.btn{
    font-family: Comfortaa;
    text-transform: uppercase;
    padding: 15px 20px;
    border-radius: 440px;
    border: none;
    transition: .2s;
    cursor: pointer;
}

.btn-primary{
    color: #fff;
    background-color: #73ABD8;
}

.btn-primary:hover{
    background-color: #8cbfe9;
}

.btn-secondary{
    color: #73ABD8;
    background-color: transparent;
    border: 1px solid #73ABD8;
}

.btn-secondary:hover{
    background-color: #98c6eb55;
}

.btn-icon{
    background-color: transparent;
    border: none;
    cursor: pointer;
}

/* MOBILE */
@media screen and (max-width: 743px){
    .block{
        margin-bottom: 100px;
    }

    .container{
        width: 320px;
    }

    html{
        font-size: 14px;
    }

    .btn{
        min-width: 150px;
        font-size: 16px;
    }

    .modal-content{
        padding: 65px 15px;
    }

    .input-double{
        grid-template-rows: auto auto;
        row-gap: 20px;
    }
}

/* TABLET */
@media screen and (min-width: 744px) and (max-width: 1349px) {
    .container{
        width: 684px;
    }

    html{
        font-size: 18px;
    }

    .btn{
        font-size: 20px;
        min-width: 222px;
    }

    .modal-content{
        padding: 65px 40px;
    }
}

/* DESKTOP */
@media only screen and (min-width: 1350px){
    .container{
        width: 1300px;
    }

    html{
        font-size: 24px;
    }

    .btn{
        font-size: 20px;
        min-width: 222px;
    }

    .modal-content{
        padding: 65px 87px;
    }
}

/* TABLET + DESKTOP */
@media screen and (min-width: 744px) {
    .block{
        margin-bottom: 120px;
    }

    .input-double{
        grid-template-columns: auto auto;
        column-gap: 20px;
    }
}

.title{
    text-align: center;
    margin-bottom: 40px;
}