div, p, input, button, ul, li, form, span, a {
	box-sizing: border-box;
	}
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    color: #724f1c;
}
.container {
    margin: 0 auto;
    background: url(../img/mainbg.png) no-repeat center top;
} 
header {
    width: 1230px;
    overflow: hidden;
    display: flex;
    justify-content: space-around;
    margin: 0 auto; 
}
.logo {
    display: flex;
    width: 170px;
    justify-content: center;
}
.bakery {
    width: 55px;
    height: 49px;
    padding: 20px 0 30px 0;
}
.mom {
    font-size: 15px;
    font-weight: bold;
}
.peki {
    font-size: 11px;
    letter-spacing: 5px;
}
.logo_text {
    padding: 10px 0 30px 10px;
}
.menu {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    margin: 0 auto;
}
.menu li {
    display: inline-block;
  
}
.menu li a {
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #724f1c;
    font-weight: bold;
    padding: 10px 15px 10px 15px;
    
}
.menu li a:hover {
    background-color: #f6c47b;
    width: 100px;
    height: 33px;
    border-radius: 50px;
}
.phone_number {
    display: inline;
    color: #724f1c;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px; 
    padding-top: 25px; 
}
.card {
    display: flex;
    justify-content: space-between;
}
.card p {
    font-size: 11px;
    width: 60px;
    padding-top: 16px;
    padding-left: 10px;
}
.fa-cart-arrow-down {
    padding-top: 25px;
}
.money {
    font-weight: 900;
    font-size: 15px;
}
.fa-caret-down {
    padding: 27px 0 0 10px;
}
hr {
    width: 1230px;
}
/* Собственно сам слайдер */
.slider{
    max-width: 1170px;
    position: relative;
    margin: auto;
    height: 400px;
    margin-bottom: 15px;
    background-color: #fff0db;
    margin-top: 15px;
}
/* Картинка мастабируется по отношению к родительскому элементу */
.slider .item img {
    object-fit: cover;
    width: 471px;
    height: 400px;
    border: none !important;
    box-shadow: none !important;
}
/* Кнопки вперед и назад */
.slider .prev, .slider .next {
    cursor: pointer;
    position: absolute;
    top: 0;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px 26px 16px 26px;
    color: #4c381a;
    font-size: 25px;
    border-radius: 100px;
    background-color: #f6d5a6;
}
.slider .prev {
    left: -32px;
}
.slider .next {
    right: -32px;
    border-radius: 100px;
}
/* При наведении на кнопки добавляем фон кнопок
.slider .prev:hover,
.slider .next:hover {
    background-color: #f6d5a6; */

/* Заголовок слайда */
.slideText {
    position: absolute;
    color: #4c381a;
    width: 326px;
    font-weight: bold;
    /* Выравнивание текста по горизонтали и по вертикали*/
    left: 550px;
    top: 50px;
}
.lorem_text {
    position: absolute;
    color: #4c381a;
    font-size: 15px;
    width: 500px;
    left: 550px;
    top: 115px;
}
.btn {
    position: absolute;
    background: #ca4e6c;
    width: 220px;
    height: 70px;
    text-decoration: none;
    font-size: 19px;
    font-weight: bold;
    text-align: center;
    color: white;
    border-radius: 50px;
    padding-top: 23px;
    top: 250px;
    left: 550px;
    box-shadow: 0px 4px 8px 1px #000000;
}
.btn:hover {
    -webkit-box-shadow: 0px 4px 8px 1px #000000; 
    box-shadow: 0px 0px 0px 0px #000000;
    transition: 0.5s;
}

/* Кружочки */
.slider-dots {
    text-align: center;
}
.slider-dots_item{
    cursor: pointer;
    height: 17px;
    width: 23px;
    margin: 0 2px;
    background: url(../img/Macaron.png) no-repeat;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active,
.slider-dots_item:hover {
    background-color: #ff4485;
}
/* Анимация слайдов */
.slider .item {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}
@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}
@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}
.bulks {
    width: 1170px;
    margin: 0 auto;
}
.bulks h2 {
    font-size: 24px;
    padding: 40px 0 10px 0;
}
.range {
    width: 270px;
    height: 310px;
    background-color: #ffeaca;
}
.range h3 {
    padding: 15px 0 0 25px;
}

.btn_buy {
    background: #ca4e6c;
    width: 150px;
    height: 45px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: white;
    border-radius: 50px;
    padding: 15px 24px 15px 24px;
    letter-spacing: 2px;
    margin-top: 40px;
    position: relative;
    top: 20px;
    left: 25px;
    box-shadow: 0px 4px 8px 1px #000000;
}
.btn_buy:hover {
    -webkit-box-shadow: 0px 4px 8px 1px #000000; 
    box-shadow: 0px 0px 0px 0px #000000;
    transition: 0.5s;
}
.price {
    position: relative;
    width: 60px;
    height: 21px;
    background-color: #f6c47b;
    border-radius: 50px;
    text-align: center;
    font-size: 13px;
    right: -217px;
    top: -78px;
}
.price p {
    padding-top: 3px;
}
.donuts_menu {
    display: flex;
    justify-content: space-between;
    width: 1170px;
    padding-top: 30px;
}
.all_cake {
    display: block;
    width: 320px;
    height: 64px;
    border-radius: 50px;
    text-decoration: none;
    color: #4c381a;
    border: 1px solid #4c381a;
    font-size: 17px;
    text-align: center;
    padding-top: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}
.search_panel {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
}
.search {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
}
.search_btn {
    display: inline-block;
    width: 348px;
    height: 64px;
    border-radius: 10px 0 0 10px;
    text-align: center;
    font-size: 16px;
    color: #995204;
    margin-right: -1px;
    border-left: 0.5px solid #4c381a;
    border-top: 0.5px solid #4c381a;
    border-bottom: 0.5px solid #4c381a;

}
.search_icon {
    display: inline-block;
    background: #ffb300;
    margin: 0;
    padding: 0;
    width: 78px;
    height: 64px;
    text-align: center;
    border-radius: 0 10px 10px 0;
    color: #4c381a;
    padding-top: 20px;
    padding-left: 0;
    margin-left: -1px;
    border: 0.5px solid #ffb300;
}
.inputs {
    display: flex;
    justify-content: center;
}
.our_us {
    height: 600px;
    background: url(../img/background.png) no-repeat bottom;
}
.our_cakes {
    width: 1170px;
    margin: 0 auto;
}
.our_cakes h2 {
    color: #3b3011;
    padding-top: 70px;
    font-size: 24px;
}
.info {
    display: flex;
    justify-content: space-between;
}
.info p {
    width: 570px;
    font-size: 15px;
    color: #4c381a;
}
.all_us {
    width: 1170px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.cake_love {
    width: 1170px;
    margin: 0 auto;
}
.cake_love, .magazine h3 {
    font-size: 18px;
}
.cake_love ul {
    list-style-image: url(../img/Roll.png);
    padding-left: 22px;
    font-size: 15px;
    font-weight: bold;
}
.cake_love li {
    padding: 5px;
}
.more {
    width: 200px;
    height: 60px;
    margin-top: 30px;
    font-weight: 16px;
    letter-spacing: 0.5px;
    left: 0;
}
.img {
    display: flex;
    justify-content: space-between;
    width: 770px;
    padding-bottom: 30px;
}
.img_magazine {
    -webkit-box-shadow: 1px 5px 17px -2px #000000; 
    box-shadow: 1px 5px 17px -2px #000000; 
}
.see_photo {
    display: inline-block;
    text-decoration: none;
    border: 1px solid #3b3011;
    text-align: center;
    color: #3b3011;
    border-radius: 50px;
    font-size: 17px;
    font-weight: bold;
    padding: 20px 30px;
}
.footer {
    background: url(../img/bgfooter.png) no-repeat;
    margin-top: -8px;
}
.last {
    display: flex;
    justify-content: space-between;
    width: 1170px;
    margin: 0 auto;
}
.defend {
    width: 155px;
}
.defend .logo {
    padding-top: 50px;
}
.two {
    padding-bottom: 10px;
}
.defend p {
    font-size: 13px;
    color: #3b3011;
}
.visa {
    padding-top: 20px;
    padding-bottom: 60px;
}
.double_menu {
    padding-top: 70px;
}
.list {
    display: inline;
}
.footer_menu li {
    display: inline-block;
}
.footer_menu li a {
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.5px;
    padding-right: 37px;
}
.list_cake {
    display: flex;
    justify-content: space-around;
    width: 200px;
    color: white;
    font-size: 13px;
    font-weight: lighter;
    padding-left: 230px;
}
.list_cake li {
    display: inline-block;
    padding-bottom: 10px;
}
.quality {
    padding-left: 60px;
}
.media {
    display: flex;
    justify-content: space-around;
    width: 410px;
    font-size: 13px;
    font-weight: bold;
}
.media a {
    color: #3b3011;
}
.media p {
    padding-left: 37px;
}
.media i {
    padding-top: 5px;
}
.form {
    display: flex;
    flex-direction: column;
}
.contact {
    padding-top: 45px;
}
.contact h3 {
    font-size: 16px;
}
.contact p {
    font-size: 14px;
}
.input {
    display: inline-block;
    border-radius: 10px;
    border: 1px solid white;
    text-decoration: none;
    font-size: 15px;
    background: none;
    width: 271px;
    padding: 14px 0 14px 30px;
    color: white;
    margin-bottom: 10px;
}
.call_me {
    display: block;
    background: #eab424;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: #3b3011;
    border-radius: 50px;
    letter-spacing: 2px;
    left: 0;
    padding: 20px 45px;
    top: 0;
    box-shadow: 0px 4px 8px 1px #000000;
    transition: 0.5s;
}
.call_me:hover {
    box-shadow: 0px 0px 0px 0px #000000;
    transition: 0.5s;
}
