body {
    margin: 0;
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #000;
}

a {
    color: #000;
    text-decoration: none;
}

button {
    border: none;
    background: none;
}

.svgs {
    display: none;
}

.no-pointer {
    cursor: default;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 10px;
}

/*  ---------     SCROLL    ------------- */

#scrollTopBtn {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    color: white;
    background: #71A543;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: 
        opacity 0.35s ease,
        transform 0.35s ease,
        background 0.2s ease;
}

#scrollTopBtn.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#scrollTopBtn:hover {
    background: #334920;
    transform: translateY(-4px);
}

/*  ---------     HEADER    ------------- */

.header__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0px;
}

.header__area {
    display: flex;
    align-items: center;
}

.header__logo-area {
    max-width: 130px;
}

.logo {
    width: 100%;
}

.header__contact-width {
    min-width: 160px;
}

.header__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 510px;
}

.header__info-desc {
    font-size: 18px;
}

.header__info-title {
    font-size: 24px;
    font-weight: 500;
}

.header__contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}

.header__contact-btn {
    display: flex;
    gap: 20px;
}

a:hover {
    color: #2dbdc2;
    transition: color .3s;
}

.svg {
    fill: #000;
    width: 30px;
    height: 30px;
}

.max:hover {
    fill: #9733DE;
    transition: fill .3s;
}

.tg:hover {
    fill: #27A7E7;
    transition: fill .3s;
}

.wa:hover {
    fill: #2cb742;
    transition: fill .3s;
}

/*  ---------     HERO    ------------- */

.bg {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/*  ---------     PROJECT   ------------- */

.project__row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(301px, 1fr));
}

.project__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 360px;
}

.project__item:hover .project__item-logo {
    box-shadow: 2px 15px 30px rgba(1, 0, 0, .1);
    transition: box-shadow ease .3s;
}

.project__item-text {
    font-size: 20px;
}

.project__item:hover .project__item-text {
    font-size: 23px;
    transition: font-size ease .3s;
}

.project__item-logo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
}

.project__item-text {
    text-align: center;
    margin: 20px 0 0 0;
}

.title {
    font-size: 30px;
    margin: 50px 0 30px 0;
}

.disc {
    font-size: 22px;
    margin-bottom: 30px;
}

.disc-mark {
    display: flex;
    gap: 20px;
    align-items: center;
}

.disc-mark--svg {
    width: 20px;
    height: 20px;
}

.device__item {
    padding: 20px;
    display: flex;
    margin-bottom: 50px;
    align-items: center;
    gap: 30px;
    border: 1px solid #e5e5e5;
}

.device__item:hover {
    border: 1px solid #ffffff;;
    box-shadow: 0 5px 20px rgb(138 216 142);;
    z-index: 1;
    transition: box-shadow ease .3s, border ease .3s;
}

.device__item-logo {
    width: 240px;
    height: 240px;
    border-radius: 20px;
}
.device__item-title {
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 15px;
}

.device__item-desc {
    font-size: 18px;
    margin-bottom: 10px;
}

li {
    font-size: 18px;
    margin-bottom: 7px;
}

.level__row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.level__row-img--container {
    height: 100%;
}

.level__row-img {
    width: 400px;
    height: 100%;
}

.fancy-image {
    width: 200px;
    height: 200px;
}

/*  ---------     GaLLERY   ------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(181px, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}

.gallery a {
  display: block;
}

.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/*  ---------     PARTNERS  ------------- */

.partners__row {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.partners__img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    transition: transform 0.2s;
}

.partners__img:hover {
  transform: scale(1.05);
}

/*  ---------     FOOTER  ------------- */

footer {
    padding: 20px 0;
    background: #73a54817;
}

.footer__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px;
    gap: 20px;
}

.organization-info {
    width: 441px;
    font-size: 17px;
}

.footer__info-text {
    font-size: 20px;
    font-weight: 400;
}

.footer__copy {
    display: flex;
    justify-content: right;
    padding: 0px 10px;
}

/*  ---------   TOOLTIP  ------------- */

.dev-link {
    position: relative;
    text-decoration: none;
}

.tooltip {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e1e1e;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #1e1e1e transparent transparent transparent;
}

.dev-link:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/*  ---------     MEDIA  ------------- */

@media (max-width: 1210px) {
    .wrapper {
        padding: 0px 30px;
    }
}

@media (max-width: 983px) {
    .project__row {
        grid-template-columns: repeat(auto-fill, minmax(241px, 1fr));
    }

    .project__item-logo {
        width: 200px;
        height: 200px;
    }

    .project__item:hover .project__item-text {
        font-size: 21px;
    }
    
    .device__item-title {
        font-size: 22px;
    }

    .device__item-desc {
        font-size: 20px;
    }

    li {
        font-size: 20px;
    }

    .project__item-text {
        font-size: 20px;
    }

    .partners__row {
        gap: 15px;
    }
}

@media (max-width: 768px) {

    .header__contact-display {
        display: none;
    }
    
    .header__row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .header__info-title {
        font-size: 32px;
    }

    .header__info-desc {
        font-size: 22px;
    }

    .header__info {
        max-width: 400px;
    }

    .title {
        font-size: 35px;
    }

    .disc {
        font-size: 25px;
    }

    .disc-mark {
        align-items: flex-start;
    }

    .disc-mark--svg {
        width: 30px;
        height: 30px;
        padding-top: 2px;
    }

    .device__item {
        flex-direction: column;
    }

    .device__item-logo {
        width: 350px;
        height: 350px;
    }

    .device__item-title {
        font-size: 25px;
    }

    .device__item-desc {
        font-size: 21px;
    }

    li {
        font-size: 21px;
    }

    .project__row {
        gap: 20px;
    }

    .footer__row {
        flex-direction: column;
        gap: 30px;
    }

    .organization-info {
        order: 2;
        font-size: 16px;
        margin-bottom: 20px;
    }

    .footer__info-text {
        text-align: center;
        font-size: 27px;
        font-weight: 300;
        margin-bottom: 25px;
    }

    .partners__img {
        width: 140px;
        height: 140px;
    }

    .header__contact {
        font-size: 25px;
        gap: 15px;
    }

    .svg {
        width: 42px;
        height: 42px;
    }

    .partners__row {
        justify-content: flex-start;
        gap: 60px;
    }
}

@media (max-width: 571px) {
    .header__info-title {
        font-size: 30px;
    }
}

@media (max-width: 561px) {
        .project__row {
        display: grid;
        justify-content: center;
        grid-template-columns: none;
    }
}

@media (max-width: 546px) {
    .header__info-title {
        font-size: 26px;
    }

    .header__info-desc {
        font-size: 20px;
    }

    .organization-info {
        width: 100%;
    }
}

@media (max-width: 500px) {
        .header__info-title {
        font-size: 23px;
    }

    .header__logo-area {
        max-width: 110px;
    }
}


@media (max-width: 415px) {

    .header__area {
        flex-direction: column;
    }

    .header__info-desc {
        font-size: 17px;
        text-align: center;
    }

    .header__info-title {
        font-size: 23px;
        text-align: center;
    }

    .header__logo-area {
        max-width: 86px;
    }

    .header__info-title {
        font-size: 19px;
    }
    
    .header__row {
        gap: 10px;
    }

    .svg {
        width: 30px;
        height: 30px;
    }

    .header__info-desc {
        font-size: 17px;
    }

    .header__contact {
        font-size: 20px;
        gap: 10px;
    }

    .title {
        margin: 30px 0 20px 0;
        font-size: 30px;
    }

    .disc {
        font-size: 20px;
    }

    .device__item-logo {
        width: 230px;
        height: 230px;
    }

    .device__item-title {
        font-size: 21px;
    }

    .device__item-desc {
        font-size: 19px;
    }

    li {
        font-size: 19px;
    }

    .partners__img {
        width: 100px;
        height: 100px;
    }

    .partners__row {
        gap: 10px;
    }

    .footer__info-text {
        margin-bottom: 0px;
    }
}

@media (max-width: 315px) {
    .header__contact {
        font-size: 18px;
    }

    .header__contact-btn {
        gap: 8px;
    }

    .device__item-logo {
        width: 160px;
        height: 160px;
    }

    .project__item-logo {
        width: 160px;
        height: 160px;
    }

    .partners__img {
        width: 75px;
        height: 75px;
    }

    .disc-mark--svg {
        width: 15px;
        height: 15px;
    }

    .disc {
        font-size: 16px;
    }

    .disc-mark {
        gap: 5px;
    }

    .title {
        font-size: 20px;
    }

    .device__item-desc {
        font-size: 16px;
    }

    li {
        font-size: 16px;
    }

    ul {
        padding-inline-start: 10px;
    }

    .partners__row {
        justify-content: center;
    }
}

