/* GENERAL STYLES  /////////////////////////// */
body {
    color: #000;
    min-height: 100vh;
    flex-direction: column;
    font-family: 'futura-pt', sans-serif;
}

h1 {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;;
}

a {
    color: #000;
    text-decoration: none;
}

a:visited {
    color: #000;
    text-decoration: none;
}

img {
    width: 100%;
    height: auto;
}

/* COLORS ======================================================== */
:root {
    --dark-blue: #1E3755;
    --blue: #2F5079;
}


/* LOGO ======================================================== */

.header {
    padding: 20px 3%;
}

.logo-wrapper {
    max-width: 90px;
}

/* FOOTER ======================================================== */
.footer {
    position: relative;
    align-self: baseline;
}

/* LAYOUT ===================================================*/
.container {
    max-width: 1500px;
}

/* MAIN CONTAINER ======================================================== */

main {
    min-height: calc(100vh - 300px);
}


.tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    margin-top: -50px;
}

.tile {
    position: relative;
    transition: all 0.3s ease-in-out;
}

.description {
    position: absolute;
    bottom: 50px;
    left: 75%;
    transform: translateX(-50%) scale(0.0);;
    text-align: center;
    width: 65%;
    z-index: 0;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    height: 3rem;
    line-height: 1.1rem
}

.tile:hover .description  {
    bottom: -25px;
    transform: translateX(-50%) scale(1.0);
    opacity: 1;
}

.tile:hover .tile-img-wrapper{
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}
/* Sets */

.sets-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    position: relative;
    border-radius: 40px;
    /* outline: 1px solid red; */
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: relative;
    margin-bottom: -1.5rem;
}

.set-title {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
}

.sets-blue {
    background: #E9F0F8;


    & .set-title {
        color: var(--dark-blue);
    }
}
.sets-yellow {
    background: #FFF3CF;

    & .set-title {
        color: #B4752A;
    }
}

.tile {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.blue-btn {
    position: relative;
    display: block;
    z-index: 1;

    & svg {
        fill: var(--dark-blue);
        width: 100%;
        transition: fill 0.3s ease-in-out, transform 0.3s ease-in-out; 
        transform-origin: left center;
    }
      
    &:hover svg {
        fill: var(--blue);
        transform: scaleX(1.07);
    }
 
}

.blue-btn-text {
      position: absolute;
      width: 75%;
      top: 50%;
      left: 52%;
      transform: translate(-50%, -50%);
      color: #fff;
      font-weight: 600;
      line-height: 1.1rem;
      text-align: center;
      pointer-events: none;
      transition: transform 0.3s ease-in-out;
    }

    .blue-btn:hover .blue-btn-text {
        transform: translate(-39%, -50%);
    }
  

/* Tile Image */

.tile-img-wrapper {
    /* background: var(--blue); */
    width: 150px;
    height: 150px;
    border-radius: 150px;
    overflow: hidden;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.description {
    color: #353535;
}

.arrow-wrapper {
    position: absolute;
    top: -25px;
    right: -50px;
    width: 60px;
    z-index: 2;

    animation: arrowPulse 1.8s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}

@keyframes arrowPulse {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translate(-8px, 8px) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.85;
    }
}

/* FOOTER ======================================================== */
footer {
    bottom: 0;
    color: #fff;

    & h2  {
        font-weight: 900;
        text-transform: uppercase;
    }

    & a {
        color: #fff;
    }

    & a:visited {
        color: #fff;
    }

    & a:hover {
        color: #fff;
    }

    & p {
        margin-bottom: 0;
    }
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--blue);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    padding: 2rem;
}

.contant-items-container {
    display: flex;
    gap: 1rem;
}

.contant-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}



/* MEDIA QUERIES ---------------------------------------------------------------------------- */



@media only screen and (max-width: 1378px) {
    main {
        margin-bottom: 50px;
    }
    .tile-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .container {
        max-width: 900px;
    }
    .sets-blue {
        margin-top: 1.5rem;
    }
    .sets-yellow {
        margin-top: 1.5rem;
    }
}

@media only screen and (max-width: 992px) {

}

@media only screen and (max-width: 768px) {

    .logo-wrapper {
        margin: auto;
    }
    .sets-wrapper {
        flex-direction: column;
        padding-bottom: 0;
    }

    .tile-grid {
        gap: 15px;
        margin-top: -20px;
    }

    .sets-wrapper {
        gap: 10px
    }

    .sets-blue, 
    .sets-yellow {
        padding-bottom: 2.3rem;
    }
}