/*@import url('https://fonts.googleapis.com/css2?family=Trirong:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');*/
@font-face {
  font-family: 'Trirong';
  src: url('../fonts/Trirong/Trirong-Medium.ttf') format('truetype');
}
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  --dark-color: rgb(88, 117, 134);
  --dark-border-color: rgba(98, 128, 147, 0.35);
  --secondary-color: rgb(156, 111, 111);
  --secondary-border-color: rgb(156, 111, 111, 0.35);
  --light-color: rgb(240, 239, 234);

  --dark-text: rgb(0, 0, 0);
  --light-text: rgb(255, 255, 255);

  --title-text: rgb(142, 45, 34);

  /*========== Font ==========*/
  --body-font: 'Trirong', serif;
  --xxl-font-size: 2rem;
  --xl-font-size: 1.5rem;
  --l-font-size: 1rem;
  --m-font-size: .875rem;
  --s-font-size: .813rem;
  --xs-font-size: .75rem;
  --font-bold: 600;
  --font-black: 800;
}

* {
  position: relative;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: var(--body-font);
}

/*==================== TAG ====================*/
h2 {
  font-size: var(--xxl-font-size);
}

a {
  font-size: var(--l-font-size);
  color: inherit;
}
a:visited {
  color: var(--title-text);
}

ul {
  list-style: none;
}


/*==================== ID ====================*/
#header {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  height: var(--header-height);
  padding: 0 1.5rem;
  justify-content: space-between;
  color: var(--light-text);
  z-index: 1;
}

#navbar {
  display: flex;
  top: 0;
  left: 0;
  width: fit-content;
  height: var(--header-height);
  justify-content: space-between;
  align-items: center;
  background-color: var(--first-color);
}

#about-me {
  width: 100%;
  height: fit-content;
  background-image: url("../img/Barbara3.jpg");
  background-repeat: no-repeat;
  background-position: right 20%;
}

#patients {
  position: relative;
}

#specializations {
  width: 100%;
  height: fit-content;
  background-image: url("../img/studio_3.jpeg");
  background-repeat: no-repeat;
  background-size: 60%;
  background-position: right bottom;
}

#certifications {
  width: 100%;
  height: fit-content;
  background-image: url("../img/Barbara2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: -13rem bottom;
}


/*==================== CLASSES ====================*/
.visually-hidden {
  position: absolute;
  width: 0.063em;
  height: 0.063em;
  margin: -0.063em;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.hide {
  display: none !important;
}
.show {
  display: block;
}

.container--dark {
  background-color: var(--dark-color);
  color: var(--light-text);
}
.container--light {
  background-color: var(--light-color);
  color: var(--dark-text);
}
.container--inverse {
  margin-left: auto;
}
.container--narrow {
  display: flex;
  padding: 3% 10%;
  flex-direction: column;
  gap: 2rem;
}


.logo {
  width: 15rem;
  height: 2.5rem;
  margin-top: .5rem;
  text-indent: 3rem;
  font-size: 1rem;
  color: var(--title-text);
  background-image: url(../img/logo.png);
  background-size: 2.5rem;
  background-repeat: no-repeat;
}

.nav__toggle {
  display: flex;
  order: 2;
  font-size: 1.5rem;
  font-weight: var(--font-black);
  cursor: pointer;
  color: var(--title-text);
  height: fit-content;
  margin: auto 0;
}

.nav__list {
  display: flex;
  flex-direction: column;
  padding: 5rem 0 0 3rem;
  row-gap: 2.5rem;
}

.nav__item {
  transition: color .3s;
}

.nav__link {
  display: block;
  width: 100%;
  color: var(--dark-text);
}
.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--visited-color);
  cursor: pointer;
  z-index: 4;
}

.nav__toggle,
.nav__close {
  background-color: transparent;
  border: none;
}

.title {
  font-size: var(--xxl-font-size);
  font-weight: var(--font-black);
  color: var(--light-text);
}
.title--small {
  font-size: var(--xl-font-size);
  font-weight: var(--font-black);
  color: var(--light-text);
}
.title--center {
  text-align: center;
}

.quarter--top-right,
.quarter--bottom-right,
.quarter--top-left,
.quarter--bottom-left {
  position: absolute;
  display: block;
  border: 4px solid var(--dark-border-color);
}
.quarter--fill {
  border: none;
  background-color: var(--dark-border-color);
}
.quarter--secondary {
  border: 4px solid var(--secondary-border-color);
}
.quarter--fill-secondary {
  border: none;
  background-color: var(--secondary-border-color);
}
.quarter--top-right {
  top: 0;
  right: 0;
  width: 52%;
  height: 40%;
  border-bottom-left-radius: 100%;
  border-top: none;
  border-right: none;
}
.quarter--bottom-right {
  bottom: 0;
  right: 0;
  width: 15rem;
  height: 15rem;
  border-top-left-radius: 100%;
  border-bottom: none;
  border-left: none;
}
.quarter--top-left {
  top: 0;
  left: 0;
  width: 27%;
  height: 85%;
  border-bottom-right-radius: 100%;
  border-top: none;
  border-left: none;
}
.quarter--bottom-left {
  bottom: 0;
  left: 0;
  width: 40%;
  height: 70%;
  border-top-right-radius: 100%;
  border-bottom: none;
  border-left: none;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  z-index: 1;
}

.skill {
  display: flex;
  align-items: center;
}
.skill__img{
  filter: invert(1);
}


.table {
  width: 100%;
  padding: 2rem 0;
  border-collapse: collapse;
  flex: 2;
}
.table__caption {
  font-weight: var(--font-bold);
}
.table__head,
.table__data {
  padding: .5rem;
  text-align: center;
}
.table__head {
  font-weight: var(--font-bold);
}
.table__head:first-of-type {
  border-radius: 1rem 0 0 0;
}
.table__head:last-of-type {
  border-radius: 0 1rem 0 0;
}

.contacts {
  flex: 1;
}

@media (min-width: 1080px) {
  #about-me {
    background-size: 70%;
  }


  .nav__menu {
    height: 100%;
    margin: 0 2rem;
  }
  .nav__list {
    height: 100%;
    flex-direction: row;
    padding: 0;
    align-items: center;
    column-gap: 4rem;
  }
  .nav__item {
    display: flex;
    height: 100%;
    font-size: var(--s-font-size);
    text-align: center;
  }
  .nav__link {
    margin: auto;
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }


  .container--flex {
    display: flex;
    flex-direction: row;
  }
  .container--half {
    display: flex;
    width: 48%;
    padding: 7rem 10%;
    flex-direction: column;
    gap: 3rem;
  }
  .container--two-third {
    display: flex;
    width: 62%;
    padding: 4rem 10%;
    flex-direction: column;
    gap: 2rem;
  }
  .container--top-right-bubble {
    border-top-right-radius: 25% 50%;
  }
  .container--bottom-right-bubble {
    border-bottom-right-radius: 25% 50%;
  }
  .container--bottom-left-bubble {
    border-bottom-left-radius: 25% 50%;
  }


  .showcase {
    gap: 2rem;
  }
  
  .skill {
    gap: 2rem;
    padding: 2rem 5%;
  }

  .more {
    display: none;
  }
  
}

@media screen and (min-width: 721px) and (max-width: 1079px){
  iframe {
    width: auto;
    height: auto;
  }

  #header {
    width: 100%;
    justify-content: space-between;
  }
  #about-me {
    padding: 20rem 0 0 0;
    background-size: 120%;
    background-position: 80% 40%;
  }
  #specializations {
    background-size: cover;
    background-position: right bottom;
  }
  #certifications {
    background-size: cover;
    background-position: -14rem bottom;
  }

  #about-me .container--half {
    width: 100%;
  }


  .hide--phone {
    display: none !important;
  }

  .nav__menu {
    position: fixed;
    background-color: var(--dark-color);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    transition: right .3s;
    z-index: 3;
  }
  .nav__close {
    z-index: 4;
  }
  .show-menu {
    right: 0;
  }


  .container--narrow {
    padding: 3% 8%;
  }
  .container--flex {
    display: flex;
    flex-direction: column;
  }
  .container--half {
    display: flex;
    width: 60%;
    padding: 7rem 10%;
    flex-direction: column;
    gap: 3rem;
  }
  .container--two-third {
    display: flex;
    width: 65%;
    padding: 7rem 10%;
    flex-direction: column;
    gap: 2rem;
  }
  .container--top-right-bubble {
    border-top-right-radius: 35% 35%;
  }
  .container--bottom-right-bubble {
    border-bottom-right-radius: 25% 50%;
  }
  .container--bottom-left-bubble {
    border-bottom-left-radius: 25% 50%;
  }


  .showcase {
    gap: 2rem;
    grid-template-columns: repeat(1, 1fr);
    padding: 2.5rem 5%;
  }

  .more {
    display: none;
  }
}

@media (max-width: 720px) {
  iframe {
    width: auto;
    height: auto;
  }

  #header {
    width: 100%;
    justify-content: space-between;
  }
  #about-me {
    padding: 20rem 0 0 0;
    background-size: 100%;
    background-position: right 0%;
  }
  #certifications {
    background-size: 170%;
    background-position: left bottom;
    padding-bottom: 28rem;
  }

  .hide--phone {
    display: none !important;
  }

  .nav__menu {
    position: fixed;
    background-color: var(--dark-color);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    transition: right .3s;
    z-index: 3;
  }
  .show-menu {
    right: 0;
  }


  .container--narrow {
    padding: 3% 5%;
  }
  .container--flex {
    display: flex;
    flex-direction: column;
  }
  .container--half,
  .container--two-third {
    display: flex;
    padding: 10% 2rem;
    flex-direction: column;
    gap: 2rem;
  }
  .container--top-right-bubble {
    border-top-right-radius: 35% 25%;
  }
  .container--bottom-right-bubble {
    border-bottom-right-radius: 0;
  }
  .container--bottom-left-bubble {
    border-bottom-left-radius: 25% 15%;
  }


  .showcase {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    padding: 1.5rem 1%;
  }
  
  .skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .more {
    border: none;
    background-color: transparent;
    font-size: 32px;
    font-weight: 900;
    color: var(--title-text);
    cursor: pointer;
  }
  .more--inverse {
    rotate: 180deg;
  }
}