@import url(./style.css);


*,
*::after,
*::before {
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

:root {
    --page-padding: 40px;
    --page-max-width: 1600px;

    /* Colors */
    --main-color: #F1CDB3;
    --main-color-light: #FDDCC4;

    --text-main: #000000;
    --text-dark: #545454;

    --gray: #CDCDCD;
}

body {
    font-family: Georgia,sans-serif;
    font-style: normal;
    font-size: 15px;
    line-height: 1.1;
    font-weight: 400;
    color: var(--text-main) ;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    font-family: Arial, sans-serif;
}

p {
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

h2 {
    font-size: 44px;
    line-height: 1.3;
    font-weight: 400;
    color: var(--text-dark);

}
h3 {
    font-size: 35px;
    letter-spacing: 6%;
    font-weight: 400;

}
h4 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 6%;
    line-height: 1;
}
p {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 6%;
    line-height: 1;
}

button {
    box-sizing: border-box;
    cursor: pointer;   
}

ul {
    list-style: none;
}

.btn {
    padding: 15px 45px;
    background: var(--main-color);
    font-family: Georgia;
    font-size: 17px;
    font-weight: 400;
    border-radius: 100px;
    border: 0;
    transition: .3s;
}

.btn:disabled,
.btn:disabled:hover {
    background: transparent;
    border: 2px solid var(--gray);
    color: var(--gray);
    cursor: not-allowed;
}

.btn:hover {
    background: var(--main-color-light);
    transition: .3s;
    border-color: var(--main-color-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--main-color);
}

.btn-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 52px;
    height: 52px;
}

.header {
    position: absolute;
    left: 50%;
    top: 0; 
    transform: translateX(-50%);  
  width: 100%;
  max-width: var(--page-max-width);
  padding: 46px 40px 0; 
  max-width: 1200px;
  padding: 60px 40px; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
   
}
 
.logo h1 {
  color: #545454 ;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 2px;
}

.logo p {
  color: #292929;
  font-size: 14px;
  margin-top: 10px;
  letter-spacing: 1px;
}

.nav__list {
    display: flex;
    gap: 35px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav__list a {
  text-decoration: none;
  color: #545454;
  font-size: 15px;
  position: relative;
  padding-bottom: 6px;
}

.nav__list a:hover {
  color: #292929;
}

.nav__list a.active {
  color: #292929;
}

.nav__list a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #f1cdb3;
}

.friends {
    padding-top: 80px;
     background-color: #F6F6F6;
}

.friends__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0 0;
} 

.friends__title {
    text-align: center;
    padding-bottom: 45px;
    color: #545454;
}

.friends__slider {
   position: relative;
   top: -1px;
    left: 1px;
}

.friends__cards-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
   
    margin-bottom: 60px;
}

.card__link {
    color: inherit;
    display: block;
    transition: 0.3s;
        width: 270px;
    text-align: center;
    border-radius: 9px;
    overflow: hidden;
}

.card__link:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}


.card__link:hover .friends__info {
    background-color: #ffffff;
}

.friends__card-pic {
    display: flex;
}

.friends__info {
background: #FAFAFA;
padding: 30px 0;
 transition: background-color 0.3s ease;
}

.friends__item-titile {
    margin-bottom: 32px;
}


.pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
}

 .contact {
        background: radial-gradient(circle at left top, #5b483a, #262425 60%);
        color: white;
    }

    .footer__bg {
         background-image: url(../public/img/noise_transparent.png);
    }

    .contact__inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .contact__block {
        max-width: 280px;
    }

    .h3__subtitle {
        margin-bottom: 40px;
    }

    .contact__list {
        list-style: none;
        padding: 0;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .contact__item {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .contact__item img {
        width: 24px;
    }

    .contact__item a {
        text-decoration: none;
        color: #F1CDB3;
    }

    .contact__item p {
        color: #F1CDB3; 
    }

    .contact__dog img {
        width: 300px;
       position: relative;
       top: 4px;
    }

