


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

a {
    text-decoration: none;
}

ul,
ol,
li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
}

html,
body {
    font-family: Releway;
}

.details__wrapper {

    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details__info {
    max-width: 700px;
}

.details__info-title {
    font-size: 40px;
    font-weight: 700;;
    letter-spacing: 1px;
}

.details__info-price {
    font-size: 30px;
    font-weight: 600;;
    margin: 20px 0 0 0;
    letter-spacing: 1px;
}

.details__info-text {
    font-size: 20px;

    margin: 15px 0 0 0;
    line-height: 30px;
    letter-spacing: 1px;
}

.details__info-btn-box {
    margin: 15px 0 0 0;
}

.details__info-btn {

    font-size: 20px;
    text-decoration: none;
    color: #FFFFFF;
    padding: 8px 20px;
    background: #3f3fb9;
    border-radius: 5px;
    transition: all ease .3s;
}

.details__info-btn:hover {
    background: #5959ec;
}

.read-more-button {
    cursor: pointer;
    font-weight: 600;
}

.details__img {
    width: 400px;
    height: auto;
}

.backdrop {
    width: 100%;
    height: 115%;
    position: fixed;
    top: 0;
    left:0;
    background-color: rgba(0, 0, 0, 0.2);
    -webkit-transition: opacity 500ms linear, visibility 500ms linear;
    transition: opacity 500ms linear, visibility 500ms linear;
    z-index: 99999;
}

.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999;
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    -webkit-transition: -webkit-transform 500ms linear;
    transition: -webkit-transform 500ms linear;
    transition: transform 500ms linear;
    transition: transform 500ms linear, -webkit-transform 500ms linear;
    padding: 60px 60px 60px 24px;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.modal.full {
    width: 20%;
}

.modal-close {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.close-icon {
    width: 16px;
    height: 16px;
}

.modal-close:hover .close-icon-svg {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    fill: #2196f3;
}

.modal-close:hover {
    background-color: rgba(226, 220, 220, 0.829);
}

.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.backdrop.is-hidden .modal {
    -webkit-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
}

.modal-title {
    text-align: center;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.15;
    text-align: center;
    letter-spacing: 0.03em;
    color: #212121;
}

.input-form {
    display: block;
    width: 100%;
    height: 40px;
    border: 1px solid rgba(33, 33, 33, 0.2);
    border-radius: 4px;
    padding-left: 42px;
    outline: none;
    cursor: pointer;
    -webkit-transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input-form:hover, .input-form:focus {
    border-color: #2196f3;
}

.input-title {
    display: block;
    margin-bottom: 4px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.16;
    letter-spacing: 0.01em;
    color: #757575;
}

.form-field {
    margin-bottom: 10px;
}

.form-field-comment {
    margin-bottom: 20px;
}

.form-field-politic {
    margin-bottom: 30px;
}

.input-comment {
    resize: none;
    height: 120px;
    padding: 12px 16px;
}

.input-comment::-webkit-input-placeholder {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16;
    letter-spacing: 0.01em;
    color: rgba(117, 117, 117, 0.5);
}

.input-comment::-moz-placeholder {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16;
    letter-spacing: 0.01em;
    color: rgba(117, 117, 117, 0.5);
}

.input-comment:-ms-input-placeholder {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16;
    letter-spacing: 0.01em;
    color: rgba(117, 117, 117, 0.5);
}

.input-comment::-ms-input-placeholder {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16;
    letter-spacing: 0.01em;
    color: rgba(117, 117, 117, 0.5);
}

.input-comment::placeholder {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16;
    letter-spacing: 0.01em;
    color: rgba(117, 117, 117, 0.5);
}

.icon-container {
    position: relative;
}

.icon-input {
    position: absolute;
    top: 50%;
    left: 12px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.politic-title {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16;
    letter-spacing: 0.03em;
    color: #757575;
}

.politic-link {
    border-bottom: 1px solid #2196f3;
    color: #2196f3;
}

.form-field-politic {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.icon-politic {
    border: 2px solid #212121;
    border-radius: 4px;
    margin-right: 7px;
    cursor: pointer;
    -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.politic-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.checkbox-politic {
    margin-right: 5px;
}

.checkbox-politic:checked + .politic-title > .icon-politic {
    background-color: #2196f3;
    border-color: #2196f3;
}

.input-form:hover + .icon-input,
.input-form:focus + .icon-input {
    fill: #2196f3;
}

.form-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    background-color: #188ce8;
    -webkit-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.88;
    letter-spacing: 0.06em;
    color: #ffffff;
    padding: 10px 52px;
    -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form-button:hover, .form-button:focus {
    background-color: #1f7fce;
    -webkit-box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.15);
}

body {
    margin: 0;
    padding: 0;
}

.product-detail {
    max-width: 1200px;
    margin: 0 auto;
}
.imgblock{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 30px;
}
.imgblock-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
     border-bottom: 2px solid rgba(53, 106, 204, 0.90) ;
    flex-wrap: wrap;
}
.price {
    padding: 20px 0;
    font-size: 20px;
}
.price span{
    font-size: 30px;
     color: rgba(53, 106, 204, 0.90);
}
.name {
    color: rgba(53, 106, 204, 0.90);
    text-transform: uppercase;
    font-size: 30px;
    border-bottom: 2px solid rgba(53, 106, 204, 0.90) ;
}

.txt {
    padding: 20px 0;
    font-weight: bold;
}
.txtdes{
  margin-top: 15px;
    line-height: 25px;
    letter-spacing: 0.5px;
}
.btn {
    border-radius: 5px;
    padding: 5px 10px;
    text-decoration: 0;
    color: white;
    background-color: rgba(53, 106, 204, 0.90);
}
.dtl-title{
    font-size: 30px;
    color: rgba(53, 106, 204, 0.90);
}

.dtl {
    text-align: left;
    line-height: 26px;
    background-color: white;
    max-width: 500px;
    color: black;
    font-family: 'Roboto', Arial, sans-serif;
    margin-bottom: 0;
    letter-spacing: -.011em;
    text-transform: none;
    font-size: 20px;
    min-width: 300px;
    margin-top: 6px;
    position: relative;
}

.img {
    max-height: 500px;
    max-width: 500px;
    min-width: 500px;
    height: auto;
    width: 100%;
    border-radius: 15px;
    margin: 15px auto 0;
}

.detail {
    margin: 200px 0 200px 0;
    display: flex;
    text-align: center;
    column-gap: 50px;
    color: black;
    justify-content: center;
    align-items: start;
    padding: 0 10px;
}
@media screen and (max-width: 980px) {
    .detail {
        margin: 100px 20px 150px 0;
        display: flex;
        flex-direction: column;
         align-items: center;
    }
    .modal.full {
        width: 70%;
    }

    .modal {
        width: 76%;
    }
.txtdes{
     text-align: center;
}
.dtl-title{
    text-align: center;
}
    .dtl{
        max-width: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
@media screen and (max-width: 640px) {
    .detail {
        margin: -100px 0 150px 0;
        display: flex;
        flex-direction: column;
    }

    .dtl{
        text-align: center;
        margin-top: 15px;
    }
}
@media screen and (max-width: 560px) {
    .imgblock-box {
        display: flex;
        flex-direction: column;
        padding-bottom: 10px;
        justify-content: center;
    }
.img {
    max-height: 500px;
    max-width: 500px;
    min-width: 300px;
    height: auto;
    width: 100%;
    border-radius: 15px;
    margin: 15px auto 0;
}
 .detail {
        margin: 0;
     align-items: center;
    }
}
