@import url("./fonts.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-width: 270px;
  font-family: "Montserrat", sans-serif;
}

p {
    font-size: 18px;
    font-weight: 500;
}

.desktop {
    display: initial;
}

.mobile {
    display: none !important;
}

header {
    top: 0;
}

.header-menu {
    justify-content: center;
}

.start {
    margin-top: 37px;
}

.row {
  margin: 0;
}

.logo {
  font-family: "Cookie", cursive;
  font-weight: bold;
  font-style: normal;
}

.mobile-btn {
    outline: none;
    font-size: 1.5rem;
}

.menu-mobile-ul {
    transition: height .5s ease;
    overflow: hidden;
}

.menu-mobile-ul:not(.active) {
    height: 0;
}

.about, .services, .differential {
    padding: 2.5rem 0;
}

.left-to-right .container {
  opacity: 1;
  transform: translateX(0);
  transition: all .5s ease
}

.left-to-right:not(.active) .container {
  opacity: 0;
  transform: translateX(-10rem);
}

.start-text {
    bottom: 10rem;
}

.tag {
    margin: 0 auto;
    display: inline-block;
    padding: .5rem 2rem;
    color: white;
    clip-path: polygon(95% 0%, 100% 50%, 95% 100%, 0% 100%, 5% 50%, 0% 0%);
}

.card-icon i {
    font-size: 7rem;
}

.right-to-left .container {
  opacity: 1;
  transform: translateX(0);
  transition: all .5s ease
}

.right-to-left:not(.active) .container {
  opacity: 0;
  transform: translateX(10rem);
}

.differential .material-icon {
    font-size: 1rem;
}

.differential li {
    font-size: 1.2rem;
}

.contacts-list {
    display: flex;
    justify-content: between;
    gap: 1.5rem;
}

/*animation*/
.hover-effect {
  transition: transform 0.5s;
}

.hover-effect:hover {
  transform: scale(1.6);
}

@media screen and (max-width: 992px) {
    .sammy-img {
        text-align: center;
    }

    .sammy-img img {
        width: 100%;
        max-width: 425px;
    }

    .services-cards {
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .desktop {
        display: none !important;
    }

    .mobile {
        display: initial !important;
    }

    .header-menu {
        justify-content: end;
    }

    .menu-mobile:not(.active) {
        display: none !important;
    }

    .start {
        margin-top: 50px;
    }

    .contacts-list {
        flex-direction: column;
        gap: .4rem;
    }
}

@media screen and (max-width: 460px) {
    .start-text {
        bottom: 6rem;
    }

    .tag p {
        font-size: 25px !important;
    }
}

@media screen and (max-width: 340px) {
    .start-text {
        bottom: 5rem;
    }

    .start-text p, .contact, footer p {
        font-size: 15px;
    }
}
