@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
* {
    padding: 0;
    margin: 0;
    font-family: "Roboto";
}

*,
*:before,
*after {
    box-sizing: border-box;
}

header {
    background-color: #000000;
    position: fixed;
    width: 100%;
    z-index: 2;
}

li {
    list-style: none;
}

header a {
    color: white;
    text-decoration: none;
}



.navbar {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.nav-branding {

    font-size: 25px;
    letter-spacing: 2px;
}

.nav-item:last-child a {
    transition: 0.7s ease;
    padding: 10px 20px;
    background-color: yellow;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.nav-item:last-child a:hover {
    background-color: orange;
    color: white;
}

.nav-link {
    transition: 0.7s ease;
}

.nav-link:hover {
    color: yellow;
}

.burger-menu {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}


/* Container */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

/* Intro */
.intro {
    width: 100%;
}


.intro img{
    display: block;
    margin:0 auto;
    padding-top: 70px;
    padding-bottom: 10px;
    max-width: 800px;
    width: 100%;

    height: auto;
}

.intro_title {


    max-width: 100%;

    font-style: normal;
    font-weight: 400;
    font-size: 4.1rem;
    line-height: 120%;

    color: #000000;
}

.adress {

    text-align: center;

    bottom: 100px;

    padding-top: 100px;
    margin-bottom: 100px;
    padding-bottom: 30px;


    font-style: normal;
    font-weight: 400;
    font-size: 2rem;
    line-height: 30px;
}



/* About me */
.about_me h1 {
    text-align: center;


    font-style: normal;
    font-weight: 400;
    font-size: 50px;
    line-height: 60px;

    color: #000000;
}



.about_me h2 {

    padding-bottom: -5px;

    font-style: normal;
    font-weight: 400;
    font-size: 50px;
    line-height: 62px;
    letter-spacing: -0.03em;

    color: #000000;
}

#signature {

    padding-bottom: 24px;
    border-bottom: 2px solid #ffd400;
    max-width: 800px;

    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 22px;


    letter-spacing: -0.03em;

    color: #7C7C7C;
}

#text_about {

    padding-top: 24px;
    max-width: 1200px;


    font-style: normal;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 43px;
    letter-spacing: -0.03em;

    color: #000000;
}

.color_text {
    color: #ffd400;
}

.about_me .container {
    padding-top: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}


.text {
    flex:1;
    margin-left: 200px;
}

.about_image {

    max-width: 800px;
    margin-top:20px;
    flex: 1;
}

.about_image img {

    max-width: 95%;
    border-radius: 78px;
    padding-left: 15px;
}

/* Capabilities */

.capabilities h1 {
    text-align: center;

    padding-top: 100px;
    padding-bottom: 50px;
    font-style: normal;
    font-weight: 400;
    font-size: 50px;
    line-height: 60px;

    color: #000000;
}

.picture_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

.picture {
    flex: 1 0 200px;
    margin-right: 94px;
    margin-bottom: 59px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.picture img {

    width: 216px;
    height: 216px;
    border-radius: 141px;
}

.caption {
    text-align: center;

    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 22px;

    letter-spacing: -0.03em;

    color: #7C7C7C;
}

/* Qualification */

.qualification h1 {

    text-align: center;

    padding-top: 50px;
    padding-bottom: 50px;
    font-style: normal;
    font-weight: 400;
    font-size: 50px;
    line-height: 60px;

    color: #000000;
}

.qualification h1 img {
    width: 56px;
    height: 56px;
    position: absolute;
}

.document_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

.document {
    flex: 1 0 200px;
    margin-right: 94px;
    margin-bottom: 59px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doc_s {

    max-width: 768px;
    max-height: 544px;
}

#diploma {
    max-width: 768px;
    max-height: 544px;
}

/* Appointments */

.appointments h1 {

    text-align: center;

    padding-top: 50px;

    font-style: normal;
    font-weight: 400;
    font-size: 50px;


    color: #000000;
}

.first-consult {
       text-align: center;
       color: red;
       padding-bottom: 40px;
       font-size: 30px;
    }

.appointments .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.rectangle {
     width: 398px;
     height: 370px;
     margin-right: 56px;
     margin-bottom: 50px;
     background: #FFFFFF;
     border: 5px solid #F4CA28;
     box-shadow: -9px 8px 4px rgba(0, 0, 0, 0.25);
     border-radius: 41px;
     display: flex;
     flex-direction: column;
     justify-content: flex-start;
     align-items: center;
     padding-top: 10px;
     position: relative;
}

.rectangle h2 {
    text-align: center;
    margin: 0;


    font-style: normal;
    font-weight: 400;
    font-size: 50px;
    line-height: 60px;
    letter-spacing: -0.03em;

    color: #000000;

}

.rectangle ul {

    margin: 0;
    padding: 0;
    padding-top: 18px;
    list-style: none;
}

.rectangle li {
    text-align: center;


    font-style: normal;
    font-weight: 400;
    font-size: 35px;
    line-height: 42px;
    letter-spacing: -0.03em;

    color: #000000;
}

.adress_rectangle {
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 42px;
    letter-spacing: -0.03em;

    color: #000000;
}

.pay_button {

    bottom: 10px;
    position: absolute;
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
    transition: 0.7s ease;
    margin-bottom: 10px;
    background-color: #F4CA28;
    
    border-radius: 5px;

    font-style: normal;
    font-weight: 400;
    font-size: 35px;
    line-height: 65px;
    letter-spacing: -0.03em;

    color: #000000;
}

.link_container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}



.appointment_link {
    flex: 1 0 33%;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-weight: 400;
    font-size: 35px;
    text-decoration: none;
    margin: 5px;
    color: #fff;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}


.appointment_link:hover {
    transform: scale(1.03);
}

.appointment_link:nth-child(1){
    background-color: #13c113;
}

.appointment_link:nth-child(2){
    background-color: #009aff;
}

.appointment_link:nth-child(3){
    background-color: #32322e;
}

/* Coments */
.comments {
    padding: 20px;
    margin-left: 50px;
    margin-right: 50px;
}

.comments h1 {

    text-align: center;

    padding-top: 50px;
    font-style: normal;
    font-weight: 400;
    font-size: 50px;


    color: #000000;
}

.comments h2 {
    text-align: center;

    color: #7C7C7C;
    font-size: 20px;
    padding-bottom: 50px;

}

.main-star {
    position: relative;
    top: 14px;
    width: 70px;
    height: 70px;
}

.review {
    padding-top: 30px;
    margin-bottom: 10px;
}

.review-info {
    display: flex;
    align-items: center;
}

.review-name {
    margin-right: 5px;
}

.review-name .name {
    font-size: 30px;
}

button.delete-review-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.trash {
    position: relative;
    top: 0px;
    padding-left: 10px;
    width: 40px;
    height: 40px;
}

.edit_link{
    text-decoration: none;
}

.star {
    position: relative;
    top: 8px;
    width: 40px;
    height: 40px;
}

.review-text {
    padding-top: 20px;
    margin-bottom: 5px;
    font-size: 25px;
}

.review-date {
    font-size: 15px;
    color: grey;
    text-align: right;
    margin-left: auto;
}

.no-reviews {
    text-align: center;
    font-size: 40px;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 20%;
  margin-right: 10px;
}

.current-page {
    text-align: center;
    font-size: 45px;
    color: grey;
}

.pagination {
    padding-top: 50px;
  text-align: center;
}

.pagination-inner {
  display: inline-block;
}

.right-arrow {
    position: relative;
    top: 5px;
    width: 40px;
    height: 40px;

}

.left-arrow {
    position: relative;
    top: 5px;
    width: 40px;
    height: 40px;
    transform: rotate(180deg);
}


/* Contacts */

.contacts h1 {

    text-align: center;

    padding-top: 50px;
    padding-bottom: 50px;
    font-style: normal;
    font-weight: 400;
    font-size: 50px;
    line-height: 60px;

    color: #000000;
}

.socials {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.socials img {
    width: 74px;
    height: 74px;
}

.socials a {

    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 10px;
    padding-bottom: 30px;
    margin: 0 10px;
    text-decoration: none;

    font-style: normal;
    font-weight: 400;
    font-size: 35px;
    line-height: 42px;
    letter-spacing: -0.03em;

    color: #000000;
}

.socials a:hover {
    transform: scale(1.1);
}


@media(max-width:1000px){
    .burger-menu{
        display: block;
    }

    .burger-menu.active .bar:nth-child(2){
        opacity: 0;
    }

    .bar {
        size: 23px;
        width: 50px;
        height: 5px;
        margin: 10px;
    }

    .burger-menu.active .bar:nth-child(1){
        transform: translateY(15px) rotate(45deg);
    }

    .burger-menu.active .bar:nth-child(3){
        transform: translateY(-15px) rotate(-45deg);
    }

    .navbar {
        min-height: 120px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        gap: 0;
        flex-direction: column;
        background-color: #000000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        z-index: 2;
    }

    .nav-item {
        margin: 34px 0;

    }

    .nav-link {
        font-size: 30px;
    }

    .nav-link-button {
        font-size: 30px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-branding {
        font-size: 30px;
    }
    /* Intro */



    .intro_title {

        padding-top: 200px;
        text-align: center;
        font-style: normal;
        font-weight: 400;
        font-size: 3.4rem;
        line-height: 120%;

        color: #000000;
    }

    .adress {

        width: 100%;
        padding-top: 300px;
        margin-bottom: 150px;
        font-size: 2rem;
    }

    /* About page */
    #text_about {
        font-size: 2.3rem;

        line-height: 60px;
    }

    .text {
        margin-right: 0;
        margin-left: 15px;
    }

    .about_me .container {
        padding-top: 0px;
        flex-direction: column;
    }

    .image-about {
        margin-top: 0;
    }

    .about_image img {
        padding-top: 30px;
        padding-bottom: 30px;

    }

    /* Capabilities */
    .picture {
        margin-right: 0px;
        margin-bottom: 59px;
    }

    .picture img {
        width: 350px;
        height: 350px;
        border-radius: 190px;
    }

    .caption {
        padding-top: 20px;
        font-size: 30px;
    }

    .document {
        margin-right: 0px;
        margin-bottom: 59px;
    }

    #diploma {
        width: 744px;
        height: 500px;

    }

    .doc_s {

        width: 492px;
        height: 546px;
    }

    /* Appointments */
    .appointments .container {
        flex-direction: column;
        align-items: center;
    }

    .rectangle h2 {
        font-size: 65px;
    }

    .rectangle li {
        font-size: 55px;
        padding-top: 25px;
    }

    .rectangle {
        margin-right: 0px;
        width: 663px;
        height: 495px;
    }

    .adress_rectangle {
        font-size: 55px;
        line-height: 65px;

    }

    .pay_button {
        font-size: 55px;
        padding: 20px;
    }

    .link_container{
        max-width:80%;
    }

    .appointment_link {
        flex: 1 0 100%;
        margin-top: 30px;
        font-size: 40px;
        padding: 20px 0px;
    }

    /* Comments */

    .review-name .name {
        font-size: 30px;
    }

    .star {
        top: 5px;
        width: 35px;
        height: 35px;
    }

    .review-text {
        font-size: 1em;
    }

    .review-date {
        font-size: 20px;
    }

    .right-arrow {
    top: 8px;
    width: 60px;
    height: 60px;

}

    .left-arrow {
        top: 8px;
        width: 60px;
        height: 60px;
    }

    .current-page {
        font-size: 65px;
    }

}