/*body*/
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0px;
}

ul {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: #FA8072;
}
.container {
  width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

/*------------------header----------------*/
.page-header {
  display: block;
}
.header-container {
  display: flex;
  align-items: self-start;
}
.nav {
  display: flex;
  width: 900px;
}
.header-nav-list {
  display: flex;
  padding-top: 40px;
  padding-bottom: 40px;
  gap: 10px;
  list-style: none;
}
.header-nav-link {
  display: block;
  padding: 20px 20px;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  text-decoration: none;
  color: #2E1F27;
 
}
.header-nav-link:hover,
.header-nav-link:focus {
  font-weight: bold;
  color:#FFD1C1;
}

/*---------------index page------------------------*/
.main-container {
  display: block;
  padding: 100px 50px;
}
.main-title {
  text-align: center;
  font-weight: 900;
  font-size: 250px;
  text-shadow: 2px 6px #B05C52;
}

/*-----------------articals main-------------------*/
.articles-container {
  display: flex;
  margin: 20px 0px;
  gap: 10px;
}
.section-title{
  text-align: center;
  font-size: 28px;
  color: #2E1F27;
  margin-bottom: 25px;
  padding-bottom: 10px;
  color: #2E1F27;
}
.article-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 450px;
  height: auto;
  padding: 15px;
  border: 1px solid;
  border-color: #B05C52;
  border-radius: 10px;
}
.article-title{
  margin-bottom: 15px;
  height: 85px;
  font-weight: 400;
  font-size: 25px;
  text-align: justify;
}
.article-link{
  text-decoration: none;
  color: #2E1F27;
}
.article-link:hover,
.article-link:focus {
  color: #FFD1C1;
}
.article-text {
  font-family: 'Raleway', sans-serif;
  font-weight: 200;
  font-size: 20px;
  text-align: justify;
}
.box-link {
  text-decoration: none;
  color: #FFD1C1;
}
.article-text .text {
  margin-top: auto; 
  text-align: right;
}
.comment-link {
  font-weight: 400;
  text-decoration: none;
  color: #2E1F27;
}

/*------------articles pages-----------------------*/
.gpt-main-title {
  font-size: 28px;
  margin-bottom: 15px;
  color: #2E1F27;
  line-height: 1.3;
  text-align: center;
}
.gpt-text {
  margin-bottom: 18px;
  font-size: 17px;
  color: #2E1F27;
  text-align: justify;
}
.comments-box {
  margin: 35px 0px;
  background: #B05C52;
  border: 1px solid #2E1F27;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.comment-title {
  margin-bottom: 15px;
  font-size: 24px;
  color: #2E1F27;
  text-align: left;
  border-bottom: 1px solid #FFD1C1;
  padding-bottom: 8px;
}
.comment-name {
  display: inline-block;
  margin-top: 15px;
  font-size: 18px;
  color: #FFD1C1;
}
.comment-text {
  margin-bottom: 12px;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  padding-left: 10px;
}

/*-----------------catalog-------------------------*/
.catalog-title {
  margin-bottom: 25px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 28px;
  color: #2E1F27;

}
.catalog {
  list-style: none;
}
.catalog-category {
  background: #FBA69D;
  margin-bottom: 12px;
  padding: 12px 18px;
  font-size: 20px;
  font-weight: 600;
  color: #2E1F27;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-item {
  margin-top: 8px;
  padding-left: 20px;

}
.category-list {
  padding: 8px 10px;
  font-size: 16px;
  color: #FFD1C1;
  margin-bottom: 6px;
  cursor: pointer;
  list-style: none;
}
.category-list:hover {
  color: #B05C52;
}

/*-----------------gallary-------------------------*/
.gallary-title {
  margin-bottom: 25px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 28px;
  color: #2E1F27;
}
.gallary-box {
  display: flex;
  justify-content: center;
}
.gallary-list {
 display: flex;
 flex-wrap: wrap;
 gap: 30px;
}
.gallary-item {
  background-color: #FBA69D;
  border: 1px solid #FFD1C1;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  width: 300px;
  text-align: center;
}
.gallary-item:hover {
  transform: scale(1.05);
}
.gallary-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.gallary-img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallary-text {
  display: block;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #2E1F27;
  background-color: #FBA69D;
  border-top: 1px solid #FFD1C1;
}
.gallary-item:hover .gallary-text {
  color: #FFD1C1;
}

/*-------------------pag-nav-----------------------*/
.page-nav-title {
  margin-bottom: 25px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 28px;
  color: #2E1F27;
}
.page-nav-box {
  display: flex;
  justify-content: center;
}
.page-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
}
.page-nav-item {
  background-color: #B05C52;
  border: 1px solid #B05C52;
  border-radius: 15px;
  padding: 20px;
  text-align: justify;

}
.page-nav-item:hover {
  background-color: #2E1F27;
  
}
.page-nav-link {
  display: block;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #FFD1C1;
}
.page-nav-subtitle {
  margin: 40px 0px;
  text-align: left;
  font-size: 20px;
  color: #2E1F27;
}
.page-nav-text {
  padding-bottom: 30px;
  font-size: 20px;
  text-align: justify;
  color: #2E1F27;
}
.back {
  padding: 10px;
  background-color: #B05C52;
  text-decoration: none;
  font-size: 20px;
  border: 1px solid #FFD1C1;
  border-radius: 5px;
  color: #FFD1C1;
}
.back:hover {
  background-color: #2E1F27;
}

/*-----------------registratiom---------------------*/
.form-title {
 margin-bottom: 25px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 28px;
  color: #2E1F27;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-fieldset {
  border: 1px solid #FFD1C1;
  padding: 10px;
  border-radius: 6px;
  background-color:#FFD1C1;
}
.form-legend {
  font-weight: bold;
  color: #2E1F27;
  padding: 0 5px;
}

.form-group {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 14px;
  color: #2E1F27;
  margin-bottom: 5px;
}

.form-input,
.form-textarea {
  padding: 8px;
  border: 1px solid #FFD1C1;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}
.form-input:focus,
.form-textarea:focus {
  border-color: #2E1F27;
}
.form-radio,
.form-checkbox {
  margin-right: 8px;
}
.form-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.btn-submit {
  background-color: #B05C52;
  color: #FFD1C1;
}
.btn-submit:hover {
  background-color: #77B6EA;
}
.btn-reset {
  background-color: #FFD1C1;
  color: #2E1F27;
}
.btn-reset:hover {
  background-color: #77B6EA;
  color: #FEEDEB;
}

/*-----------------contacts------------------------*/
.contacts-title {
  margin-bottom: 25px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 28px;
  color: #2E1F27;
}
.contacts-subtitle {
  font-size: 18px;
  margin: 15px 0 10px;
  color: #2E1F27;
}

.contacts-address {
  margin-bottom: 20px;
}
.contacts-info {
  font-style: normal;
  margin-bottom: 10px;
  color: #2E1F27;
}
.contacts-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.contacts-link {
  text-decoration: none;
  color: #FEEDEB;
  transition: color 0.3s ease;
}
.contacts-link:hover {
  color: #77B6EA;
}

.contacts-map {
  display: flex;
  justify-content: start;
  margin-bottom: 25px;
}
.contacts-map iframe {
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.contacts-form {
  padding: 20px;
  border: 1px solid #2E1F27
  border-radius: 6px;
}
.form-title {
  text-align: center;
  color: #2E1F27;
  margin-bottom: 15px;
}
.form-fieldset {
  border: 1px solid #2E1F27;
  padding: 15px;
  border-radius: 6px;
}
.form-legend {
  font-weight: bold;
  color: #6D7B88;
  padding: 0 5px;
}
.form-group {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}
.form-label {
  margin-bottom: 5px;
  font-size: 14px;
  color: #2E1F27;
}
.form-input,
.form-textarea {
  padding: 8px;
  border: 1px solid #FEEDEB;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}
.form-input:focus,
.form-textarea:focus {
  border-color: #77B6EA;
}
.btn {
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}
.btn-submit {
  background-color: #FBA69D;
  color: #FEEDEB;
}
.btn-submit:hover {
  background-color: #77B6EA;
  color: #FEEDEB;
}

/*-----------------footer--------------------------*/
.footer {
  display: block;
  margin-top: 25px;
  padding: 20px 20px;
  border-top: 1px dashed;
  color: #2E1F27;
}
.unicode-text {
  text-align: left;
  font-weight: 300;
  font-size: 18px;
  color:#2E1F27;
}
