@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
 
 background-color: #e8f0fe;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
}

.card {
  background-color: #ffffff;
  width: 370px;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  
  border: 5px solid #e2be99;
}
.carda {
  background-color: #ffffff;
  width: 1024px;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  
  border: 5px solid #e2be99;
}

.avatar {
  width: 180px;
  height: 180px;
  margin: 0 auto 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.avatar:hover {
	transform: scale(1.05);
}
.namea {
 text-decoration: none;
}
.name {
  text-align: center;
  text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.3);
  font-size: 1.7em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333333;
}
.name:hover {
  transform: scale(1.05);
}
.specialization {
  text-align: center;
  font-size: 0.9em;
  margin-bottom: 10px;
  color: #333333;
}

.description {
  text-align: left;
  font-size: 0.6em;
  color: #333333;
  margin-bottom: 30px;
}

.contact-button {
  display: inline-block;
  padding: 8px 16px;
  font-size: 1em;
  color: #ffffff;
  background-color: #e2be99;
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 5px;
  text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-button:hover {
  background-color: #ffd700;
  transform: scale(1.05);
}

.right-float {
  float: right;
  margin: 0 0 15px 15px;
}
.left-float {
  float: left;
  width: 180px;
  height: 180px;
  border-radius: 10%;
  margin: 0 auto 5px;
  border: 0px solid #4a90e2;
  object-fit: cover;
}
.phone {
  font-size: 0.7em;
  color: #333333;
  float: right;
  margin-left: 20px;
}
.ip {
  font-size: 0.4em;
  color: #333333;
  float: right;
  margin-left: 20px;
}

/* Стили для контейнера */
.dropdown {
position: relative;
display: inline-block;
 color: #ffffff;
}

/* Стили для кнопки-триггера */
.dropdown-toggle {
display: inline-block;
  padding: 8px 16px;
  font-size: 1em;
  color: #ffffff;
  background-color: #e2be99;
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

/* Стили для выпадающего контента */
.dropdown-content {
display: none;
position: absolute;
background-color: #e2be99;
border: none;
border-radius: 8px;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
 color: #ffffff;
 text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.3);
}

/* Стили для ссылок в выпадающем меню */
.dropdown-content a {
color: black;
padding: 8px 16px;
text-decoration: none;
display: block;
 color: #ffffff;
}

/* Изменение цвета ссылок при наведении */
.dropdown-content a:hover {
border: none;
border-radius: 8px;
background-color: #ffd700;
 color: #ffffff;
}

/* Отображение выпадающего меню при наведении */
.dropdown:hover .dropdown-content {
display: block;
 color: #ffffff;
}

/* Изменение цвета кнопки при наведении */
.dropdown:hover .dropdown-toggle {
background-color: #ffd700;
transform: scale(1.05);
 color: #ffffff;
}
