:root {
  --dark-blue: #002c42;
  --grey: #75828a;
  --beige: #f2e3ba;
  --white: #ffffff;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #002c42 white;
}

/* width */
::-webkit-scrollbar {
  width: 12px;
  background-color: white;
}

/* Track */
/* ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 3px #75828a; 
} */
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #002c42;
  border: 3px solid white; 
  transition: all .3s ease;
}


body {
  margin: 0;
  color: var(--dark-blue);
}

h1 {
  font-family: 'Mirador';
  font-style: normal;
  font-weight: 400;
  font-size: 60px;
  line-height: 67px;
  margin: 0;
}

h2 {
  font-family: 'BR Sonoma';
  font-style: normal;
  font-weight: 500;
  font-size: 45px;
  line-height: 60px;
  margin: 0;
}

h3 {
  font-family: 'BR Sonoma';
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 40px;
  margin: 0;
}

.section p {
  font-family: 'BR Sonoma';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: var(--grey);
  margin: 0;
  max-width: 825px;
}

.dog-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--beige);
  position: relative;
  padding-top: 151px;
}

.dog-hero h1 {
  padding: 0px 340px;
  margin: 0;
}

.dog-hero p {
  font-family: 'BR Sonoma';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  max-width: 710px;
  margin: 0;
  margin-top: 50px;
  margin-bottom: 54px;
}

.dog-hero .btn {
  margin-bottom: -50px;
}

.btn {
  min-height: 50px;
  padding: 10px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-family: 'BR Sonoma';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn.dark {
  background-color: var(--dark-blue);
  color: var(--beige);
  outline: 1.5px solid var(--dark-blue);
}

.btn.light {
  color: var(--dark-blue);
  background-color: var(--beige);
  outline: 1.5px solid var(--beige);
}

.btn .icon-arrow {
  font-size: 0.7em;
}

a.btn{
  text-decoration: none;
}

.laptop {
  position: relative;
  max-width: 1177.68px;
  width: 100%;
  overflow: hidden;
  bottom: -152px;
  filter: drop-shadow(0px 5px 21px rgba(44, 44, 44, 0.3));
  user-select: none;
  pointer-events: none;
  transition: 0.3s;
}
.laptop div {
  height: 0;
  padding-bottom: calc(100% * 670.26 / 1177.68);
  width: 100%;
}

.laptop img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.section.dog-about {
  padding-top: 350px;
}
.section.dog-about article {
  overflow-x: hidden;
}

.section.dog-about > p {
  margin-top: 34px;
  margin-bottom: 52px;
}

.section.dog-about article,
.section.dog-how-to article {
  width: 100%;
  padding: 0 150px;
}

.section.dog-how-to {
  padding-top: 180px;
}

.section.dog-how-to > p {
  margin-top: 34px;
  margin-bottom: 52px;
}

.section.dog-how-to article {
  padding-bottom: 150px !important;
}

.about-selector {
  display: flex;
  flex-direction: row;
  width: 100%;
  border-bottom: 1.5px solid #f2e3ba;
  justify-content: center;
  position: relative;
}

.about-selector .option {
  width: 160px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10.5px;
  background: rgba(242, 227, 186, 0.6);
  border: 1.5px solid transparent;
  cursor: pointer;
  position: relative;
  bottom: -1.5px;
  font-family: 'BR Sonoma';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  transition: all 0.3s ease;
  color: var(--dark-blue) !important;
}

.about-selector .option:not(.active):hover {
  background: rgba(242, 227, 186, 0.85);
}

.about-selector .option.active {
  background-color: var(--white);
  border: 1.5px solid #f2e3ba;
  border-bottom-color: var(--white);
}

.pros-container,
.pros-languages {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out;
}

.pros-container.active,
.pros-container.entering {
  transform: translateX(0);
  opacity: 1;
}

.pros-container.entering {
  transform: translateX(30%);
  opacity: 0;
}
.pros-container.leaving {
  opacity: 0;
  transform: translateX(-30%);
}
.pros-container.left {
  opacity: 0;
  display: none;
  transform: translateX(30%);
}

.hidden {
  display: none;
}

.pros-info {
  list-style: none;
  padding: 0;
  margin-top: 140px;
  margin-bottom: 83px;
  justify-content: center;
  display: grid;
  gap: 120px 100px;
  grid-template-columns: repeat(4, minmax(auto, 300px));
}

.pros-info li img {
  margin-bottom: 48px;
}
.pros-languages h3 {
  margin-bottom: 45px;
}
.pros-languages ul {
  width: 100%;
  padding: 0;
  margin: 0;
}

.pros-languages ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 27px;
  border-bottom: 1.5px solid rgba(117, 130, 138, 0.5);
  font-family: 'BR Sonoma';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: #000000;
  height: 43px;
  padding-bottom: 26px;
}

.pros-languages ul li:not(:first-of-type) {
  margin-top: 19px;
}

.pros-languages ul li img {
  width: 20px;
  height: 20px;
}

.how-to-lists-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.how-to-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;

  min-height: 1062.43px;
  padding-top: 63px;
  padding-bottom: 95px;
}

.how-to-list > *:last-child {
  margin-top: auto;
}

.how-to-list.light {
  background-color: var(--beige);
}

.how-to-list.light .icon-group {
  font-size: 50px;
}

.how-to-list .list-header {
  height: 66px;
  width: 352px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 84px;
}

.how-to-list .list-header h4 {
  font-family: 'BR Sonoma';
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
  width: 100%;
  margin: 0;
}

.how-to-list.light .list-header {
  background-color: var(--dark-blue);
  color: var(--beige);
}

.how-to-list.dark .list-header {
  background-color: var(--beige);
  color: var(--dark-blue);
}

.how-to-list.light .list-header .header-icon {
  background-color: var(--beige);
  color: var(--dark-blue);
}

.how-to-list.dark .list-header .header-icon {
  background-color: var(--dark-blue);
  color: var(--beige);
}

.how-to-list .list-header .header-icon {
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 33px;
}

.how-to-list .list-header .header-icon:first-of-type {
  border-right: inherit;
}

.how-to-list .list-header .header-icon:last-of-type {
  border-left: inherit;
}

.how-to-list .list-header .header-icon .icon-book-small {
  font-size: 29px;
}

.how-to-list .list-header .header-icon .icon-sun-full {
  font-size: 38px;
}

.how-to-list.light .list-header {
  outline: 1.5px solid var(--dark-blue);
}

.how-to-list.light .btn {
  margin-top: 30px;
  outline: 1.5px solid var(--dark-blue);
}

.how-to-list .btn .icon-arrow::before {
  color: var(--dark-blue);
}

.how-to-list.dark {
  background-color: var(--dark-blue);
}

.how-to-list.dark .list-header {
  outline: 1.5px solid var(--beige);
}

.how-to-list ul {
  list-style: none;
  font-family: 'BR Sonoma';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  counter-reset: list;
  width: fit-content;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0;
  margin-bottom: 40px;
}

.how-to-list ul li {
  position: relative;
  padding-left: calc(46px + 27px);
  text-align: left;
  display: flex;
  align-items: center;
  max-width: 400px;
}

.how-to-list.dark ul li {
  color: var(--white) !important;
}
.how-to-list.light ul li {
  color: var(--dark-blue) !important;
}

.how-to-list.dark ul li a {
  color: var(--white) !important;
}
.how-to-list.light ul li a {
  color: var(--dark-blue) !important;
}

.how-to-list ul li::before {
  counter-increment: list;
  content: '0' counter(list);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
}

.how-to-list.dark ul li::before {
  background-color: var(--beige);
  color: var(--dark-blue);
}

.how-to-list.light ul li::before {
  background-color: var(--dark-blue);
  color: var(--beige);
}

.how-to-list a:not(.btn) {
  display: inline-block;
  position: relative;
  width: fit-content;
  cursor: pointer;
  text-decoration: none;
}


.how-to-list a:not(.btn):hover::after {
  bottom: 2px;
}


.how-to-list a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 100%;
  display: inline-block;
  height: 0;
  bottom: -2px;
  left: 0;
  transition: all .2s ease;
}

.how-to-list.light a:not(.btn)::after {
  border-bottom: 1.5px solid var(--dark-blue);
}

.how-to-list.dark a:not(.btn)::after {
  border-bottom: 1.5px solid var(--white);
}

.home-footer {
  height: 286px;
  background-color: var(--dark-blue);
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 10px;
  padding: 73px 100px 0 100px;
}

.home-footer h2 {
  color: var(--white);
}

.home-footer h4 {
  font-family: 'BR Sonoma';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: var(--grey);
  margin: 0;
}

.home-footer p,
.home-footer p a {
  font-family: 'BR Sonoma';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: var(--white);
}

.home-footer p a {
  text-decoration: none;
  cursor: pointer;
}

.home-footer img {
  width: 289px;
  height: 88px;
}

@media screen and (max-width: 1500px) {
  h1 {
    font-size: 48px;
    line-height: 58px;
  }

  h2 {
    font-size: 35px;
    line-height: 60px;
  }

  h3 {
    font-size: 25px;
    line-height: 40px;
  }

  .section p, .home-footer h4 {
    font-size: 16px;
    line-height: 28px;
  }

  .dog-hero {
    padding-top: 82px;
  }

  .dog-hero h1 {
    padding: 0px 141px;
  }

  .dog-hero p {
    margin-top: 26px;
    margin-bottom: 29px;
  }

  .btn {
    font-size: 14px;
  }
  .laptop {
    max-width: 832px;
  }

  .section.dog-about {
    padding-top: 260px;
  }

  .section.dog-how-to {
    padding-top: 122px;
  }
  .section.dog-how-to > p {
    margin-top: 34px;
    margin-bottom: 52px;
  }

  .about-selector .option {
    width: 140px;
    height: 46px;
    font-size: 14px;
  }

  .pros-info {
    margin-top: 83px;
    margin-bottom: 61px;
    gap: 39px;
  }

  .pros-info li img {
    margin-bottom: 42px;
  }

  .pros-languages h3 {
    margin-bottom: 25px;
  }

  .pros-languages ul li {
    gap: 21px;
    font-size: 16px;
    padding-bottom: 16px;
  }

  .pros-languages ul li img {
    width: 16px;
    height: 16px;
  }

  .pros-languages ul li:not(:first-of-type) {
    margin-top: 13px;
  }

  .how-to-lists-container {
    gap: 30px;
  }

  .how-to-list {
    min-height: 908px;
    padding-top: 50px;
    padding-bottom: 60px;
  }

  .how-to-list .list-header {
    width: 320px;
    height: 60px;
  }

  .how-to-list .list-header h4 {
    font-size: 16px;
  }

  .how-to-list .list-header .header-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .how-to-list .list-header .header-icon .icon-book-small {
    font-size: 26px;
  }

  .how-to-list .list-header .header-icon .icon-sun-full {
    font-size: 35px;
  }

  .how-to-list.light .btn {
    margin-top: 0px;
  }

  .how-to-list ul {
    font-size: 16px;
  }

  .how-to-list ul li {
    padding-left: calc(40px + 33px);
    max-width: 365px;
  }

  .how-to-list ul li::before {
    width: 40px;
    height: 40px;
  }

  .section.dog-about article,
  .section.dog-how-to article {
    padding: 0 100px;
  }
}

@media screen and (max-width: 1100px) {
  h1 {
    font-size: 40px;
    line-height: 47px;
  }

  h2 {
    line-height: 50px;
  }

  .dog-hero {
    padding-top: 53px;
  }

  .dog-hero h1 {
    padding: 0px 30px;
  }

  .dog-hero p {
    margin-top: 26px;
    margin-bottom: 34px;
    padding: 0 95px;
  }
  .dog-hero .btn {
    margin-bottom: -46px;
  }

  .laptop {
    bottom: -86px;
    max-width: 622px;
  }

  .section.dog-about {
    padding-top: 173px;
  }

  .section.dog-how-to {
    padding-top: 74px;
  }

  .section.dog-how-to > p {
    margin-top: 19px;
    margin-bottom: 35px;
  }

  .pros-info {
    grid-template-columns: repeat(2, minmax(auto, 300px));
    gap: 73px 28px;
  }
  .pros-languages ul li:not(:first-of-type) {
    margin-top: 10px;
  }
  .how-to-lists-container {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }
  .how-to-list {
    min-height: 760px;
    padding-top: 48px;
    max-width: 568px;
    padding-left: 40px;
    padding-right: 40px;
  }
  .section.dog-how-to article {
    padding-bottom: 40px;
  }
  .section.dog-about article,
  .section.dog-how-to article,
  .section p,
  h2,
  .laptop {
    padding: 0 40px;
  }

  .section.dog-how-to article {
    padding-bottom: 80px !important;
  }

  .home-footer {
    height: auto;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 60px;
    grid-template-columns: repeat(2, auto);
    grid-template-areas: 'head .' 'text1 text2' 'img .';
    gap: 30px 10px;
  }
  .home-footer > h2 {
    grid-area: head;
    padding: 0;
    margin-bottom: 30px;
  }

  .home-footer > div:first-of-type {
    grid-area: text1;
  }
  .home-footer > div:last-of-type {
    grid-area: text2;
  }
  .home-footer > .footer-logo {
    grid-area: img;

  }

  .home-footer .footer-logo img{
    width: 261px;
    height: 79px;
  }

  .home-footer p {
    margin-top: 8px;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 670px) {
  h1 {
    font-size: 22px;
    line-height: 28px;
  }

  h2 {
    font-size: 22px;
    line-height: 29px;
  }

  h3 {
    font-size: 18px;
    line-height: 27px;
  }

  .section p, .home-footer h4 {
    font-size: 15px;
    line-height: 23px;
  }

  .dog-hero {
    padding-top: 50px;
  }

  .dog-hero h1 {
    padding: 0px 30px;
  }

  .dog-hero p {
    padding: 0px 30px;
    font-size: 15px;
    line-height: 23px;
  }

  .btn {
    font-size: 13px;
  }

  .laptop {
    padding: 0 10px;
    max-width: 340.64px;
  }

  .section.dog-about {
    padding-top: 120px;
  }

  .section.dog-about > p {
    margin-top: 23px;
    margin-bottom: 33px;
  }

  .section.dog-how-to {
    padding-top: 63px;
  }

  .section.dog-how-to > p {
    margin-top: 19px;
    margin-bottom: 39px;
  }

  .section.dog-how-to article {
    padding-bottom: 10px;
  }
  .about-selector .option {
    font-size: 13px;
  }
  .pros-info {
    grid-template-columns: 1fr;
    gap: 54px;
    margin-top: 70px;
    margin-bottom: 51px;
  }

  .pros-info li img {
    margin-bottom: 26px;
  }

  .pros-languages h3 {
    margin-bottom: 29px;
  }

  .pros-languages {
    width: 100%;
    padding: 0 20px;
  }

  .pros-languages ul li {
    padding-bottom: 23px;
    font-size: 15px;
  }

  .pros-languages ul li:not(:first-of-type) {
    margin-top: 16px;
  }

  .pros-languages ul li img {
    width: 20px;
    height: 20px;
  }

  .how-to-lists-container {
    gap: 0;
  }

  .how-to-list {
    padding: 60px 20px;
  }

  .how-to-list.dark {
    padding-bottom: 40px;
  }

  .how-to-list.light .icon-group {
    margin-top: 61px;
    font-size: 43px;
  }

  .how-to-list .list-header {
    width: 100%;
    height: 58px;
  }

  .how-to-list .list-header h4 {
    font-size: 15px;
  }

  .how-to-list .list-header .header-icon {
    width: 58px;
    height: 58px;
    font-size: 27px;
  }

  .how-to-list ul {
    width: 100%;
    font-size: 15px;
  }

  .how-to-list ul li {
    max-width: unset;
    padding-left: calc(35px + 13px);
  }

  .how-to-list ul li::before {
    width: 35px;
    height: 35px;
  }

  .how-to-list .list-header .header-icon .icon-book-small {
    font-size: 24px;
  }

  .how-to-list .list-header .header-icon .icon-sun-full {
    font-size: 28px;
  }

  .how-to-list a:not(.btn) {
    line-height: 90%;
  }

  .section.dog-about article,
  .section.dog-how-to article {
    padding: 0;
  }

  .section.dog-how-to article {
    padding-bottom: 60px !important;
  }

  .how-to-list a:not(.btn):hover::after {
    bottom: -5px;
  }

  .home-footer {
    height: auto;
    padding: 60px 20px 40px 20px;
    grid-template-columns: repeat(1, auto);
    grid-template-areas: 'head' 'text1' 'text2' 'img';
    gap: 30px;
  }
  .home-footer > h2 {
    margin-bottom: 16px;
  }

  .home-footer .footer-logo img {
    width: 180px;
    height: 55px;
  }

  .home-footer p {
    margin-top: 6px;
    margin-bottom: 0;
  }
}



/* .btn.light:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--beige);
  z-index: -2;
} */


.btn{
  transition: all .3s ease;
}

.btn::before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.btn.light::before {
  background-color: var(--dark-blue);
}

.btn.light:hover{
  color: var(--beige) !important;
}


.btn.dark::before {
  background-color: var(--beige);
}

.btn.dark:hover{
  color: var(--dark-blue) !important;
}

.btn .icon-arrow::before{
  
  color: inherit !important;
}
.btn:hover:before {
  width: 100%;
}

