@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@600&display=swap');

body {
    background-color: #262626
}

.wrap {
    margin: 30px auto 0 auto;
    width: 100%;
    display: flex;
    max-width: 1200px;
}

.tile {
    width: 380px;
    height: 380px;
    margin: 10px;
    background-color: #606060;
    display: inline-block;
    background-size: cover;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease-out;
    box-shadow: 0px 35px 77px -17px rgba(0, 0, 0, 0.44);
    overflow: hidden;
    color: white;
    font-family: 'Open Sans', sans-serif;

}

.tile img {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: all 0.4s ease-out;
}

.tile .text {
    position: absolute;
    padding: 30px;
    height: calc(100% - 60px);
}
.tile .date {
    position: absolute;
    text-shadow: 0 0 9px rgb(0 0 0);
    font-size: 12px;
    bottom: 3px;
    right: 7px;
}
.tile .winners {
    position: absolute;
    text-shadow: 0 0 9px rgb(0 0 0);
    font-size: 12px;
    bottom: 4px;
    left: 7px;
}

.tile h1 {
    font-weight: 300;
    margin: 0;
    text-shadow: 0 0 9px rgb(0 0 0);
}

.tile h2 {
    font-weight: 100;
    margin: 20px 0 0 0;
    font-style: italic;
    transform: translateX(200px);
}

.tile p {
    font-weight: 300;
    margin: 20px 0 0 0;
    line-height: 25px;
    transform: translateX(-200px);
    transition-delay: 0.2s;
    text-shadow: 0 0 9px rgb(0 0 0);
}

.animate-text {
    opacity: 0;
    transition: all 0.6s ease-in-out;
}

.tile:hover {
    box-shadow: 0px 35px 77px -17px rgba(0, 0, 0, 0.64);
    transform: scale(1.05);
}

.tile:hover .animate-text {
    transform: translateX(0);
    opacity: 1;
}

.tile:hover span {
    opacity: 1;
    transform: translateY(0px);
}

.dots span:nth-child(1) {
    transition-delay: 0.05s;
}

.dots span:nth-child(2) {
    transition-delay: 0.1s;
}

.dots span:nth-child(3) {
    transition-delay: 0.15s;
}


@media (max-width: 1000px) {
    .wrap {
        flex-direction: column;
    }

    .tile {
        width: 100%;
        height: 964px;
        font-size: 38px;
    }

    .tile .date {
        font-size: 35px;
    }

    .tile .winners {
        font-size: 35px;
    }

    .tile p {
        opacity: 1;
        transform: none;
        transition-delay: unset;
        transition: none;
    }

    .animate-text {
        opacity: 1;
        transform: none;
        transition-delay: unset;
        transition: none;
    }
}