@media screen and (max-width: 1440px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 16px;
  }

  h5 {
    font-size: 15px;
  }

  h6 {
    font-size: 13px;
  }

  p {
    font-size: 15px;
  }

  .p-list,
  .p-list-select {
    font-size: 17px;
  }

  .p-primary {
    font-size: 18px;
  }

  .p-secondary {
    font-size: 13px;
  }

  .p-detail {
    font-size: 11px;
  }

  .p-small {
    font-size: 10px;
  }

  .main-banner {
    height: 650px;
  }

  .main-banner .container {
    max-width: 1180px;
  }

  .main-banner h1 {
    font-size: 38px;
  }

  .main-banner button {
    font-size: 20px;
    min-height: 60px;
  }

  #logo-anim {
    transform: scale(0.9);
  }

  .master-header {
    padding: 40px 20px;
  }

  .cards-topics {
    margin: 0 auto;
  }

  .cards-topics-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .card-topic {
    min-height: 380px;
  }

  .card-topic-band:hover {
    min-height: 380px;
    max-height: 380px;
  }

  .learning-experience-section {
    max-width: 1100px;
  }

  .bullet-vertical {
    padding: 20px 0;
  }

  .medium-circle-item {
    width: 75px;
  }

  .teachers-section {
    display: flex;
    justify-content: center;
    width: calc(100% - 80px);
    max-width: 1100px;
    min-height: calc(340px + 280px + 260px);
  }

  .teachers-section .teachers-board {
    min-height: 360px;
  }

  .teachers-section .education-board {
    height: 300px;
    bottom: 240px;
  }

  .teachers-section .tutors-board {
    height: 260px;
  }

  .education-diagram,
  .tutors-diagram {
    height: 190px;
  }

  .teachers-content-board {
    margin: 0 20px;
  }

  .teacher-data-cards {
    height: 100%;
    min-height: calc((100px * 2) + 20px);
  }

  .teacher-card {
    max-height: 100px;
    min-height: 0;
    align-items: flex-end;
  }

  .teacher-photo {
    height: 100px;
    max-width: 100px;
  }

  .teachers-jcarousel-control {
    bottom: -15px;
  }

  .community-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 40px;
  }

  .community-video {
    min-width: 621px;
    /* min-height: 410px; */
    background-size: contain;
  }

  .community-video video {
    max-width: 561px;
    height: 387px;
    left: 21px;
  }

  .institutions-section {
    max-height: 260px;
  }

  .institutions-section .logos-container {
    margin: 15px auto;
    max-width: 1100px;
  }

  .featured-card .card-btn {
    font-size: 19px;
  }

  .featured-section {
    max-width: 1180px;
    padding: 70px 40px;
  }

  .featured-container {
    grid-template-columns: 350px 350px 350px;
    max-width: 1100px;
  }

  .featured-card {
    max-width: 350px;
  }

  .featured-img {
    min-width: 350px;
  }

  .open-class-type .card-data > div {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .open-class-type .card-data .p-start {
    margin-top: 5px;
  }

  .featured-content h4 {
    font-size: 14px;
  }

  .featured-content > h3,
  .featured-content > a > h3 {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .featured-content .card-data .card-logos img {
    max-height: 36px;
  }

  .comments-section {
    min-height: 550px;
  }

  .users-comments {
    max-width: 1050px;
  }

  .card-user-photo {
    width: 120px;
    height: 120px;
  }

  .balloon-card,
  .comments-section .balloon-card {
    align-self: start;
    background-image: url("../img/icons/balloon_large.svg");
    margin-top: 0;
    padding: 15px 20px 15px 35px;
    min-height: 175px;
    max-width: 825px;
  }

  .comment-card {
    max-height: 210px;
    max-width: 1000px;
    margin: 0 calc((1050px - 1000px) / 2);
  }

  .main-footer {
    padding: 30px 100px;
  }

  .main-footer .footer-title {
    margin-bottom: 25px;
  }

  .footer-subtitle {
    font-size: 18px;
  }

  .footer-content ul > li {
    font-size: 13px;
  }

  .main-footer input {
    font-size: 16px;
  }

  .footer-content .col-3 > h6:last-of-type {
    margin-top: 40px;
  }

  .footer-bottom {
    padding: 15px 100px;
  }

  .footer-bottom .footer-logo {
    width: 50px;
  }
}

@media screen and (max-width: 1300px) {
  /* one-comment */
  .comments-section {
    min-height: 540px;
  }

  .users-comments {
    max-width: 1050px;
    min-height: 175px;
  }

  .comment-card {
    max-height: 250px;
    max-width: 1000px;
    margin: 0 calc((1050px - 1000px) / 2);
  }

  .card-user-data {
    justify-content: space-between;
  }

  .balloon-card {
    align-self: flex-start;
    background-image: url("../img/icons/balloon_large.svg");
    min-height: 175px;
    max-width: 825px;
    margin-top: 0;
    padding: 18px 30px 26px 45px;
  }

  .main-footer {
    padding: 40px;
  }

  footer .social-media {
    flex-direction: column;
    align-items: start;
  }

  footer .social-links {
    margin-top: 10px;
  }

  footer .social-links li:first-child {
    margin-left: 0;
  }
}

@media screen and (max-width: 1200px) {
  .cards-topics-wrapper {
    grid-template-columns: repeat(2, 50%);
  }

  .card-topic {
    min-height: 340px;
  }

  .card-topic-band:hover {
    min-height: 340px;
    max-height: 340px;
  }

  .card-topic:hover .card-content-hover {
    min-height: calc(340px - 38px * 2);
  }

  .community-section {
    flex-flow: column;
    align-items: center;
    padding: 40px;
  }

  .community-content {
    display: flex;
    align-items: start;
    margin-bottom: 40px;
    padding-top: 0;
  }

  .community-content h1 {
    margin-top: 0;
    max-width: 600px;
  }

  .community-content img {
    margin-right: 40px;
  }

  .featured-section {
    padding: 50px 40px;
  }

  .featured-container {
    grid-template-columns: 49% 49%;
  }

  .featured-card {
    justify-self: center;
  }

  .footer-bottom {
    padding: 20px;
  }
}

@media screen and (max-width: 1160px) {
  .teacher-data-cards {
    max-height: calc((100px * 2) + 20px);
  }

  .teachers-section {
    min-height: calc(460px + 260px + 220px);
  }

  .teachers-section .teachers-board {
    flex-flow: column;
    justify-content: start;
    height: 100%;
    max-height: 510px;
    padding: 40px 40px 40px;
    top: 0;
    min-height: 420px;
  }

  .teachers-section .education-board {
    height: 280px;
    bottom: 200px;
  }

  .teachers-section .tutors-board {
    height: 220px;
    bottom: 0;
  }

  .teachers-content-board,
  .content-board {
    max-width: 440px;
  }

  .teachers-content-board p {
    margin-bottom: 20px;
  }

  .teachers-jcarousel-control {
    bottom: 15px;
    left: calc(50% - 75px);
  }

  .education-diagram,
  .tutors-diagram {
    display: none;
  }
}

@media screen and (max-width: 1100px) {
  .comments-section .users-comments,
  .diplo-presentation .comments-section .users-comments {
    max-width: 620px;
    min-height: 210px;
  }

  .comments-section .comment-card,
  .diplo-presentation .comments-section .comment-card {
    min-height: 240px;
    max-width: 584px;
    margin: 0 calc((620px - 584px) / 2);
  }

  .comments-section .card-user-data,
  .diplo-presentation .comments-section .card-user-data {
    justify-content: space-around;
  }

  .comments-section .balloon-card,
  .diplo-presentation .comments-section .balloon-card {
    align-self: flex-end;
    background-image: url("../img/icons/balloon_short.svg");
    min-height: 210px;
    max-width: 410px;
    margin-top: 30px;
    padding: 18px 30px 26px 45px;
  }
}

@media screen and (max-width: 1000px) {
  .main-banner .container {
    justify-content: center;
  }

  .banner-logo {
    display: none;
  }

  .master-header h1 {
    max-width: 700px;
  }

  .master-header p {
    max-width: 650px;
  }

  .cards-topics-wrapper {
    display: flex;
    flex-flow: column;
    width: 100%;
  }

  .card-topic {
    min-height: 220px;
  }

  .card-topic-img {
    background-position: center;
    border-radius: 10px;
    min-height: 220px;
  }

  .card-topic-band {
    bottom: 0px;
    min-height: 220px;
    max-width: 220px;
    transition: all 0.3s ease;
    padding: 30px;
  }

  .card-topic:hover .card-topic-band {
    min-height: 220px;
    width: 100%;
    min-width: 100%;
    transition: none;
  }

  .card-topic:hover .card-content-hover {
    min-height: calc(220px - 38px * 2);
  }

  .card-topic:not(:hover) {
    transition: all 0.3s ease;
  }

  .card-topic-band:hover {
    background-image: url(../img/pictures/background.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .card-topic p {
    height: 40px;
  }

  .card-content-hover img {
    width: 25px;
  }

  .teacher-data-cards {
    width: 520px;
  }

  .teachers-jcarousel ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .bulletpoints-vertical {
    display: grid;
    grid-template-columns: 50% 50%;
  }

  .footer-bottom {
    flex-flow: column;
    align-items: center;
  }

  .footer-copy,
  .footer-help {
    align-content: center;
  }

  .footer-copy {
    margin-bottom: 10px;
  }

  .footer-copy > ul > li:last-child {
    margin-right: 0;
  }

  .footer-copy > ul > li {
    margin-right: 0px;
  }

  .footer-copy > ul > li {
    margin-left: 20px;
  }
}

@media screen and (max-width: 900px) {
  .footer-content {
    display: flex;
  }

  footer .col-1,
  footer .col-2,
  footer .col-3 {
    display: none;
  }

  footer .col-4 {
    width: 100%;
  }

  footer .logo-app {
    width: 120px;
  }

  footer .social-media {
    flex-direction: row;
    align-items: center;
  }

  footer .social-links {
    margin-top: 0;
  }

  footer .social-links li:first-child {
    margin-left: 20px;
  }
}

@media screen and (max-width: 850px) {
  .community-section {
    padding: 0;
    margin: 0;
  }

  .community-content h1 {
    max-width: 420px;
    text-align: center;
  }

  .community-content {
    padding: 40px 20px;
    margin: 0;
    flex-direction: column;
    align-items: center;
  }

  .community-video {
    margin-bottom: 40px;
  }

  .featured-container {
    grid-template-columns: 100%;
  }

  .featured-card {
    margin: 20px 0;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 21px;
  }

  h3 {
    font-size: 16px;
  }

  h4 {
    font-size: 15px;
  }

  h5 {
    font-size: 14px;
  }

  h6 {
    font-size: 12px;
  }

  p,
  .p-list,
  .p-list-select {
    font-size: 14px;
  }

  .p-primary {
    font-size: 17px;
  }

  .p-secondary {
    font-size: 12px;
  }

  .p-detail {
    font-size: 10px;
  }

  .p-small {
    font-size: 9px;
  }

  .main-banner {
    min-height: 650px;
  }

  .main-banner h1 {
    font-size: 34px;
  }

  button {
    max-height: 60px;
    padding: 0 26px;
  }

  .btn-big {
    font-size: 20px;
  }

  .btn-medium {
    font-size: 18px;
    padding: 0 26px 0 18px;
  }

  .btn-small {
    font-size: 14px;
    height: 45px;
  }

  .btn-icon {
    padding: 0 28px;
  }

  .btn-icon img {
    margin-right: 12px;
  }

  input {
    height: 45px;
    font-size: 16px;
  }

  .navbar .login-link,
  .navbar .register-link {
    display: none;
  }

  .card-topic-band {
    max-width: 180px;
    padding: 10px 20px;
  }

  .card-topic p {
    height: 70px;
  }

  .bullet-vertical {
    padding: 15px 0;
  }

  .bullet-vertical p {
    display: none;
  }

  .medium-circle-item {
    width: 70px;
  }

  .bullet-vertical img {
    margin-bottom: 15px;
  }

  .footer-logo {
    display: none;
  }

  .featured-card .card-btn {
    font-size: 18px;
  }

  .teachers-section {
    min-height: calc(480px + 260px + 200px);
  }

  .teachers-section .teachers-board {
    max-height: 510px;
  }

  .teachers-jcarousel-control {
    bottom: 15px;
  }

  .teachers-section .education-board {
    height: 280px;
  }

  .teachers-section .teachers-board {
    padding: 40px 20px;
  }

  .teachers-content-board,
  .content-board {
    max-width: none;
    margin: 0;
  }

  .teachers-board h1,
  .content-board h1 {
    font-size: 28px;
  }

  .community-video {
    background-image: none;
    margin: 0 auto;
    overflow: hidden;
    border: none;
    width: 100%;
    min-width: auto;
    height: auto;
    min-height: min-content;
    margin-bottom: 40px;
    padding: 10px;
  }

  .community-video video {
    /* border-bottom-left-radius: 0;
    border-bottom-right-radius: 0; */
    margin: 0 auto;
    width: 100%;
    max-width: 100vw;
    height: auto;
    top: 0;
    left: 0;
    border: 2px solid black;
    border-radius: 10px;
  }

  .community-content img {
    width: 80px;
    margin-right: 20px;
  }

  .comments-jcarousel,
  .diplo-presentation .comments-jcarousel {
    max-width: 360px;
    margin: 0 auto;
  }

  .comments-section .comment-card,
  .diplo-presentation .comments-section .comment-card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 calc((360px - 330px) / 2);
    min-height: 270px;
    max-width: 330px;
    padding: 10px 0;
  }

  .comments-section .card-user-data,
  .diplo-presentation .comments-section .card-user-data {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .comments-section .card-user-photo,
  .diplo-presentation .comments-section .card-user-photo {
    display: none;
  }

  .comments-section .balloon-card,
  .diplo-presentation .comments-section .balloon-card {
    margin-top: 15px;
    padding: 15px 20px 15px 35px;
    min-height: 170px;
    min-width: 330px;
  }

  .comments-section .quote-icon,
  .diplo-presentation .comments-section .quote-icon {
    width: 25px;
  }

  .footer-copy > ul {
    justify-content: center;
  }

  .institutions-section {
    max-height: 240px;
  }
}

@media screen and (max-width: 660px) {
  .teachers-content-board p,
  .content-board p {
    margin-top: 20px;
  }

  .teacher-data-cards {
    width: 260px;
  }
}

@media screen and (max-width: 562px) {
  .teachers-jcarousel-control {
    bottom: 20px;
    left: calc(50% - 65px);
    width: 130px;
  }

  .teachers-jcarousel-control-prev,
  .teachers-jcarousel-control-next {
    width: 50px;
  }

  .teachers-section h1 {
    line-height: 30px;
  }

  .comments-jcarousel-control {
    width: 110px;
  }

  .comments-jcarousel-control-prev,
  .comments-jcarousel-control-next {
    width: 42px;
  }
}

@media screen and (max-width: 500px) {
  footer form {
    display: flex;
    flex-flow: column;
    margin-bottom: 20px;
  }

  .main-footer input {
    margin-right: 0;
    margin-bottom: 15px;
  }

  button {
    width: min-content;
  }

  .footer-title {
    margin-bottom: 30px;
  }

  .main-footer .social-icon {
    width: 28px;
  }

  footer .social-links > li {
    margin-left: 10px;
  }

  footer .btn-follow {
    display: inline-block;
    min-width: 167px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 15px;
  }

  h4,
  p,
  .p-list,
  .p-list-select {
    font-size: 14px;
  }

  .balloon-card p {
    line-height: 14px;
  }

  h5,
  .p-secondary {
    font-size: 13px;
  }

  h6,
  .p-detail {
    font-size: 11px;
  }

  .p-primary {
    font-size: 16px;
  }

  .p-small {
    font-size: 9;
  }

  button {
    max-height: 50px;
    padding: 0 24px;
  }

  .btn-big {
    font-size: 18px;
  }

  .btn-medium {
    font-size: 16px;
    padding: 0 24px 0 16px;
  }

  .btn-small {
    font-size: 12px;
    height: 40px;
  }

  .btn-icon {
    padding: 0 26px;
  }

  .btn-icon img {
    margin-right: 10px;
  }

  input {
    height: 40px;
    font-size: 14px;
  }

  .main-banner .container {
    padding: 40px 20px;
  }

  .main-banner button {
    font-size: 20px;
    min-height: 50px;
  }

  .card-topic-band {
    max-width: 150px;
  }

  .cards-topics-wrapper {
    padding: 0 20px;
  }

  .bulletpoints-vertical {
    display: flex;
    flex-flow: column;
  }

  .bullet-vertical img {
    width: 70px;
  }

  .bullet-vertical {
    padding: 10px 0;
  }

  .teachers-section {
    min-height: calc(520px + 240px + 200px);
    margin: 0 20px;
    width: calc(100% - 40px);
  }

  .teachers-section .teachers-board {
    min-height: 540px;
    top: 0px;
  }

  .teachers-board h1,
  .content-board h1 {
    font-size: 26px;
  }

  .teachers-jcarousel-control {
    bottom: 30px;
  }

  .community-content img {
    width: 60px;
    margin-right: 20px;
  }

  .main-content .featured-content a > h2 {
    padding-left: 0;
  }

  .featured-card .card-btn {
    font-size: 17px;
  }

  .featured-section {
    padding: 50px 20px;
  }

  .featured-header .see-all,
  .featured-header .see-all ul {
    right: 0;
  }

  .featured-content {
    padding: 40px 26px 26px 26px;
  }

  .featured-card {
    width: 100%;
    max-width: 100vw;
  }

  .featured-img {
    min-height: 160px;
    min-width: 100%;
    max-width: 100vw;
  }

  .featured-content .card-data {
    margin-bottom: 10px;
  }

  .featured-content .card-data .card-logos img {
    max-height: 32px;
  }

  .featured-card .p-date,
  .open-class-type .card-data .p-date,
  .featured-content .card-data h4 {
    font-size: 16px;
  }

  .featured-card .p-start {
    margin-top: 0;
  }

  .open-class-type .card-data .p-start {
    margin-top: 0;
  }

  .featured-card .more-courses {
    font-size: 14px;
  }

  .teachers-section .teacher-photo {
    scale: 90%;
    margin-right: 10px;
  }

  .comments-section,
  .diplo-presentation .comments-section {
    padding: 20px;
    min-height: 450px;
  }

  .comments-section .comments-jcarousel,
  .diplo-presentation .comments-section .comments-jcarousel {
    margin: 0 auto;
    max-width: 320px;
  }

  .comments-section .comment-card,
  .diplo-presentation .comments-section .comment-card {
    margin: calc((320px - 300px) / 2);
    max-width: 300px;
  }

  .comments-section .balloon-card,
  .diplo-presentation .comments-section .balloon-card {
    min-height: 155px;
    min-width: 300px;
  }

  .comments-section .quote-icon,
  .diplo-presentation .comments-section .quote-icon {
    width: 22px;
  }

  .main-footer {
    padding: 20px 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-copy > ul {
    flex-direction: column;
  }

  .footer-copy > ul > li {
    text-align: center;
    margin: 0px;
  }

  .footer-bottom a,
  .footer-bottom p {
    font-size: 12px;
  }
}

@media screen and (max-width: 375px) {
  .teachers-jcarousel-control {
    bottom: -10px;
  }

  .teachers-section {
    min-height: calc(570px + 240px + 200px);
  }

  .teachers-section .teachers-board {
    max-height: 550px;
  }

  .teacher-data-cards {
    min-height: calc((100px * 2) + 20px);
    margin-top: 20px;
  }
}
