.master {
padding: 190px 0 130px;
}
.master__inner {
display: flex;
gap: 150px;
}
.master__img-wrapper {
border-radius: 50%;
border: 25px solid var(--color-green--lighter);
background-color: #def7c7;
width: 490px;
height: 490px;
padding: 15px;
}
.master__img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
}
.master__title {
margin: 40px 0;
text-align: center;
display: flex;
flex-flow: column;
}
.master__name {
font-size: 32px;
font-weight: 500;
margin-bottom: 15px;
color: var(--color-green--light);
}
.master__competencies {
font-size: 15px;
font-weight: 400;
}
.master__btn {
max-width: 180px;
width: 100%;
display: block;
margin: 0 auto;
}
.master__info-education {
margin-bottom: 50px;
}
.master__info-title {
font-size: 20px;
font-weight: 500;
margin-bottom: 20px;
}
.master__info-descr {
font-size: 15px;
line-height: 150%;
color: var(--color-text);
}
.certificates {
padding: 0 0 50px;
}
.certificates__title {
margin-bottom: 60px;
font-size: 30px;
font-weight: 500;
color: var(--color-text);
text-align: center;
}
.certificates__list {
display: flex;
flex-wrap: wrap;
gap: 100px;
justify-content: center;
}
.certificates__item {
width: 265px;
}
.certificates__item-img {
width: 100%;
height: 100%;
object-fit: contain;
cursor: zoom-in;
}
.back-btn {
width: max-content;
padding: 10px 15px;
font-size: 15px;
display: block;
margin: 40px auto 0;
}
@media screen and (max-width: 1200px) {
.master__inner {
gap: 80px;
}
.master__img-wrapper {
width: 320px;
height: 320px;
margin: 0 auto;
}
.master__name {
font-size: 24px;
}
}
@media screen and (max-width: 900px) {
.master {
padding: 120px 0 60px;
}
.master__inner {
flex-flow: column;
align-items: center;
}
.master__img-wrapper {
width: 400px;
height: 400px;
}
.master__title {
margin: 20px 0;
}
.master__info-title {
text-align: center;
}
}
@media screen and (max-width: 768px) {
.master__img-wrapper {
width: 280px;
height: 280px;
}
.master__name {
font-size: 20px;
}
.certificates__title {
font-size: 24px;
}
.certificates__list {
gap: 25px;
}
.certificates__item {
width: 120px;
}
}