html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

:focus {
  outline: 0;
}

ins {
  text-decoration: none;
}

del {
  text-decoration: line-through;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #ffffff;
  font-size: 1.6rem;
  color: #464646;
  line-height: 1.5;
}

header {
  width: 100%;
  background-color: #e5cc49;
  padding-top: 2.5rem;
  text-transform: uppercase;
  color: #000000;
}

header .header__head {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-size: 1.6rem;
}
.head_city {
  display: flex;
  align-items: center;
}
header .header__head .head_city p {
  font-size: 1.4rem;
}

header .header_burger {
  display: none;
}

nav.navigation_menu {
  display: flex;
  justify-content: center;
}

ul.header_menu-phone {
  display: -ms-flexbox;
  display: flex;
}
.content__name {
  text-align: left;
}
.content__name h1 {
  font-size: 40px;
}

.content__name a {
  text-decoration: none;
  color: #424242;
}

header .navigation_menu ul li {
  padding: 0 1.5rem;
  transition: 0.5s ease-in;
}
header .navigation_menu ul li:hover {
  box-shadow: 0px 1px 0px 0px #000000;
}

header .navigation_menu ul li a {
  text-decoration: none;
  color: #000000;
}

header ul li:last-child {
  padding-right: 0;
}

header .header__content {
  display: flex;
  justify-content: space-between;
  text-align: center;
  padding: 6rem 0 4rem 0;
}

header .header__content h1,
header .header__content p {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 400;
}
.header__content h1 {
  margin-top: -26px;
}
header .header__content h1 {
  font-size: calc(40px + 24 * (100vw / 1100));
}
header .header__content p {
  font-size: calc(22px + 6 * (100vw / 1100));
  padding: 1rem 0;
}
@media (max-width: 767px) {
  header .header__content h1 {
    font-size: calc(40px + (24 + 24 * 0.7) * ((100vw - 320px) / 1100));
  }
  header .header__content p {
    font-size: calc(22px + (6 + 6 * 0.7) * ((100vw - 320px) / 1100));
  }
}
header .content__contact {
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  align-items: center;
}

header .content__contact a {
  padding: 0 2rem 0 0;
  text-decoration: none;
  color: #000000;
}

header .content__contact a:last-child {
  text-transform: lowercase;
}

header .header__footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
}

header .header__footer .arrow__down {
  height: 1.3rem;
  width: 1.3rem;
  border-top: 3.5px solid #000000;
  border-right: 3.5px solid #000000;
  -webkit-transform: rotate(136deg);
  transform: rotate(136deg);
  cursor: pointer;
  margin-bottom: 40px;
}

.container {
  max-width: 110rem;
  margin: 0 auto;
}

.container_header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
}

footer {
  width: 100%;
  background-color: #464646;
}

footer .navigaion__footer ul {
  color: #ffffff;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
}

footer li {
  text-transform: uppercase;
  -moz-tab-size: 1.1rem;
  -o-tab-size: 1.1rem;
  tab-size: 1.1rem;
  padding: 1.1rem 1.5rem;
}

footer li a {
  text-decoration: none;
  color: #ffffff;
}

footer .contacts {
  text-align: center;
  color: #ffffff;
}

footer .contacts h3 {
  padding: 1rem 0;
  font-weight: normal;
  font-size: 2.4rem;
}

footer .contacts a {
  text-decoration: none;
  color: #ffffff;
  display: block;
  font-size: 1.4rem;
  font-weight: lighter;
}

footer .contacts p {
  padding-top: 5rem;
}

main {
  min-height: calc(100vh - 468px);
  position: relative;
}

main .slick-prev:before,
main .slick-next:before {
  color: #464646;
}

main .cont {
  background-color: #f5f5f5;
  padding: 3rem 0 0rem 10rem;
}

main .aboutMe {
  background: linear-gradient(90deg, #f5f5f5 51%, white 51%);
}

main h2 {
  font-size: 3.6rem;
  text-transform: uppercase;
  font-weight: normal;
  margin: 0.8rem 0 2rem;
}

main p {
  padding-bottom: 2rem;
  padding-right: 2rem;
  color: #464646;
}

.main_photo {
  height: 256px;
  top: -88.4px;
  margin-left: 3rem;
}

.skills__header {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1.3rem;
  font-size: 4rem;
  text-transform: uppercase;
}

main .hard-skills .bckgr {
  background: linear-gradient(90deg, white 51%, #f5f5f5 51%);
}

main .hard-skills .skills__main {
  background-color: #f5f5f5;
}

main .hard-skills .skills__main h3 {
  text-transform: uppercase;
  font-size: 2rem;
  padding-bottom: 1rem;
}

main .hard-skills .skills__main p {
  color: #464646;
}

main .skills__main {
  padding-left: 10rem;
  padding-top: 2.9rem;
}

main .skills__main h3 {
  text-transform: uppercase;
  font-size: 2rem;
  padding-bottom: 1rem;
}

main .skills__main p {
  color: #464646;
}

main .portfolio {
  background-color: #f5f5f5;
}

main .portfolio .portfolio__heading {
  text-align: center;
  font-size: 4rem;
  padding: 1rem 0 2rem 0;
}

main .portfolio__blocks {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr 1fr;
}
.portfolio__blocks-item {
  display: flex;
  flex-direction: column;
}

main .portfolio__blocks-item .block {
  height: 260px;
  background-color: #a7a7a7;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
  color: #fff;
}
.portfolio__blocks-item .block img {
  width: 100%;
  height: 100%;
  opacity: 0.6;
  object-fit: cover;
}
.portfolio-describtion {
  background-color: rgb(255, 255, 255);
  padding: 10px;
  flex-grow: 1;
}
.portfolio-describtion h3 {
font-size: larger;
}
.portfolio-describtion a {
    font-size: larger;
  border-bottom: 1.5px solid;
  text-decoration: none;
  color: #424242;
}
.portfolio-describtion p span {
font-size: larger;
}
.block img:hover {
  opacity: 1;
}
.block:hover {
  box-shadow: 2px 2px 8px 4px #e0e0e09f;
}

main .cerificates__header {
  text-align: center;
}

main .cerificates__header p {
  text-align: start;
}

main .certificates__carousel {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}

main .certificates__carousel .carousel {
  width: 58%;
  display: -ms-flexbox;
  display: flex;
  height: auto;
  -ms-flex-align: center;
  align-items: center;
}

main .certificates__carousel .carousel .left_arrow {
  cursor: pointer;
  position: absolute;
  z-index: 1;
  left: -24px;
  width: 8px;
}

main .certificates__carousel .carousel .right_arrow {
  cursor: pointer;
  position: absolute;
  z-index: 1;
  right: -24px;
  width: 8px;
}

main .certificates__carousel .carousel .carousel__img {
  width: 100%;
  margin-right: 1rem;
  background: #c5c5c5;
  display: inline-block;
}

main .certificates__carousel .carousel .carousel__img img {
  width: 100%;
  height: auto;
  opacity: 0.8;
}

main .certificates__carousel .carousel img:hover {
  cursor: pointer;
  opacity: 1;
}

main .certificates__carousel .carousel .carousel__img:last-child {
  margin-right: 0;
}

@media all and (max-width: 1024px) {
  /* main .portfolio__blocks{
        flex-direction: column;
    } */
  /* main .portfolio__blocks .block {
        margin: 0 5rem 2rem 5rem;
        width: auto;
    } */
}
@media all and (max-width: 768px) {
  main .cont {
    background-color: #f5f5f5;
    padding: 3rem;
  }
  main .main_photo {
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  main .aboutMe__text h2,
  main .aboutMe__text p {
    text-align: center;
    padding: 0;
  }
  main .certificates__carousel .carousel {
    width: 79%;
  }
}

@media all and (max-width: 621px) {
  header .content__contact a {
    padding: 2rem 2rem 0 0rem;
  }
  main .skills__main {
    padding-left: 3rem;
  }
  main .cerificates__header p {
    padding-left: 3rem;
  }
  footer {
    padding: 22px 0 10px;
  }
  footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  footer .navigaion__footer ul {
    flex-direction: column;
  }
  footer .contacts {
    text-align: end;
  }

  .header_menu-phone {
    flex-direction: column;
    margin-top: 6rem;
  }
  .header_menu-phone li {
    font-size: 3rem;
    margin: 5rem 0 0 0;
  }
}
@media all and (max-width: 508px) {
  .container {
    max-width: 110rem;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .content__contact {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .content__contact .phone_number-svg {
    background: url(../images/mobile-phone.svg) no-repeat;
    margin-top: 30px;
    color: transparent;
    padding: 0;
    margin-left: 36px;
  }
  .content__contact .email-svg {
    background: url(../images/email.svg) no-repeat;
    margin-top: 30px;
    text-indent: -9999px;
    margin-left: 20x;
    width: 20px;
    height: 26px;
  }
  main .portfolio__blocks .block {
    margin: 0 0 20px 0;
  }
  footer .container {
    flex-direction: column;
  }
  footer .navigaion__footer ul {
    text-align: center;
  }
  footer .contacts {
    text-align: center;
    margin-top: 29px;
  }
}
