:root{
    --COLOR1: #d70000;
    --COLOR2: #a00000;
    --COLOR3: #f2f2f2;
    --COLOR4: #282828;
}
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* fontos */
}

.about-main .contact{
    width: 100%;
    color: #f2f2f2;
    padding-top: 100px;
}
.about-main .top{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 3em;
}
.about-main .top  .news-swiper2{
    width: 50%;
}
.about-main .top  .news-swiper2 .swiper-slide{
    font-size: 1.3em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: justify;
}
.about-main .top  .news-swiper2 .swiper-slide img{
    height: 75px;
}
.sw-btnl,
.sw-btnr{
  color: #f2f2f2;
  fill: #f2f2f2; 
}
.sw-btnl{
    left: 20%;
}
.sw-btnr{
    right: 20%;
}
.about-main .timeline-zone {
    position: relative;
    padding: 2em 0;
}

.about-main .timeline-zone .title {
    text-align: center;
    margin-bottom: 3em;
    font-size: 2rem;
}
.about-main .timeline {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
    padding: 0 0 2em;
}

.about-main .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--COLOR2);
}
.about-main .checkpoint {
    position: relative;
    width: 50%;
    padding: 1.5em 2em;
    box-sizing: border-box;
}

.about-main .checkpoint .content {
    background-color: var(--COLOR4);
    border: 2px solid var(--COLOR2);
    border-radius: 1em;
    padding: 1em;
    color: var(--COLOR3);
    position: relative;
    z-index: 1;
}
.about-main .checkpoint.left {
    left: 0;
    text-align: right;
}
.about-main .checkpoint.left .content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    width: 15px;
    height: 3px;
    background-color: var(--COLOR2);
}
.about-main .checkpoint.right {
    left: 50%;
    text-align: left;
}

.about-main .checkpoint.right .content::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    width: 15px;
    height: 3px;
    background-color: var(--COLOR2);
}
.about-main .timeline-scroll {
    max-height: 750px;
    overflow-y: auto;
}
.about-main .bottom{
    display: flex;
    justify-content: center;
    margin-top: 4em;
}
.about-main .mascots{
    width: 60%;
}
.about-main .row{
    display: flex;
    margin-bottom: 3em;
}
.about-main .row .left{
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-main .row .right{
    width: 75%;
    padding-left: 4em;
}
.about-main .card-profile{
    width: 200px;
    height: 200px;
    background-color: #282828;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-main .card-profile img{
    width: 200px;
    height: 200px;
    object-fit: cover;
}
.about-main .card-profile{
    border: 4px solid #a00000;
    z-index: 5;
    transition: opacity 0.4s;
    transform: all 0.4s ease;
    cursor: pointer;
}
.about-main .card-tooltip{
    background-color: #222222;
    padding: 1em;
    border-radius: 15px;
    position: relative;
}
.about-main .card-content {
    height: 100%;
    width: 100%;
}

.about-main .card-content::after {
    content: '';
    width: 32px;
    height: 32px;
    background-color: red;
    position: absolute;

    top: 50%;
    left: -16px;

    transform: translateY(-50%) rotate(45deg);
    border-radius: 0.25rem;
}
.about-main .card-header {
    position: relative;
    overflow: hidden;
    height: 500px;
    padding-left: 1em;
}
.mascots .title{
    text-align: center;
    margin-bottom: 1em;
    font-size: 2rem;
}
.about-main .card-header h2{
    border-bottom: 4px solid #2b2b2b;;
}
.about-main .card-header p{
    padding-top: 1em;
    text-align: justify;
    font-size: 20px;
}
.about-main .card-header img {
    position: absolute;
    width: 350px;
    right: 20px;
    z-index: 0;
}
.about-main .card-header .content{
    display: flex;
}
.about-main .card-header .content-left{
    height: 100%;
    display: flex;
    flex-direction: column;
}
.about-main .card-header .content p{
    width: 60%;
}
.news-swiper3{
    margin-top: 1em;
    position: absolute;
    width: 60%;
}
.news-swiper3 .swiper-slide{
    width: 33%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.news-swiper3 .swiper-slide .img {
    width: 100%;
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.news-swiper3 .swiper-slide .img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.news-swiper3 .swiper-slide .img img:hover{
    transform: scale(1.2);
}
.news3-prev,
.news3-next{
  color: #d70000;
  fill: #d70000; 
}
@media screen and (max-width: 2100px) {
    .about-main .mascots{
    width: 80%;
    }   
}
@media screen and (max-width: 1500px) {
    .about-main .mascots{
    width: 90%;
    }   
}
@media screen and (max-width: 1350px) {
    .about-main .card-header .content img {
    position: absolute;
    width: 300px;
    right: 20px;
    z-index: 0;
}  
}
@media screen and (max-width: 1200px) {
    .about-main .top  .news-swiper2{
    width: 75%;
    position: relative;
    
}
.about-main .top .sw-btnl{
  position: absolute;
  left: 30px;
}
.about-main .top .sw-btnr{
  position: absolute;
  right: 30px;
}
.about-main .row{
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.about-main .row .right{
    width: 90%;
    padding-left: 0;
}
.about-main .card-content::after {
    content: '';
    width: 32px;
    height: 32px;
    background-color: red;
    position: absolute;

    top: -16px;
    left: 50%;

    transform: translateX(-50%) rotate(45deg);
    border-radius: 0.25rem;
}
}
@media screen and (max-width: 1100px) {
    .about-main .card-header .content p{
    font-size: 1em;
}
}
@media screen and (max-width: 1000px) {
    .about-main .card-header .content img {
    width: 250px;
}  
/*.about-main .card-header .content p{
    width: 100%;
}
.news-swiper3{
    width: 100%;
}*/
}
@media screen and (max-width: 850px) {
    .about-main .card-header .content img {
   display: none;
}  
.about-main .card-header .content p{
    width: 100%;
}
.news-swiper3{
    width: 100%;
}
.about-main .card-header {
    position: relative;
    overflow: hidden;
    height: 500px;
    padding: 1em;
}
}
@media screen and (max-width: 800px) {
    .about-main .top  .news-swiper2 .swiper-slide{
        font-size: 1em;
}
.about-main .timeline-zone .title {
    font-size: 1rem;
}
}
@media screen and (max-width: 600px) {
    .about-main .top .sw-btnl, .about-main .top .sw-btnr{
        transform: scale(0.7);
    }
    .about-main .top .sw-btnl{
  position: absolute;
  left: 10px;
}
.about-main .top .sw-btnr{
  position: absolute;
  right: 10px;
}
.about-main .mascots .swiper-slide{
    font-size: 0.8em;
}
.about-main .card-header .content p{
    font-size: 0.8em;
}
}
@media screen and (max-width: 600px) {
    .about-main .top  .news-swiper2 .swiper-slide{
        font-size: 0.75em;
}

.about-main .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-main .checkpoint {
    width: 100%;
    padding-left: 2em;
    padding-right: 2em;
    margin-bottom: 2em;
    text-align: center;
  }

  .about-main .checkpoint.left,
  .about-main .checkpoint.right {
    left: 0;
    text-align: center;
  }

  .about-main .checkpoint .content::after {
    display: none;
  }
}