/* Put your custom styles here */
.tile {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    height: 250px;
    margin: 30px 10px;
    background-color: #000;
    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;
}

.tile img {
    height: 110px;
    width: 110px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 0;
    transition: all 0.4s ease-out;
    opacity: 0.85;
}

.tile .text {
    /*   z-index:99; */
    position: absolute;
    padding: 30px;
    height: calc(100% - 60px);
}

.tile h2 {
    font-size: 22px;
    font-weight: normal;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    text-transform: uppercase;
}

.tile h3 {
    font-weight: normal;
    font-size: 18px;
    margin: 20px 0 0 0;
    text-transform: uppercase;
    line-height: 125%;
    transform: translateX(200px);
}

.tile p {
    font-weight: 300;
    margin: 20px 0 0 0;
    line-height: 25px;

    /*   opacity:0; */
    transform: translateX(-200px);
    transition-delay: 0.2s;
    color: #fff;
    font-size: 16px;
}

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

.tile:hover {
    /*   background-color:#99aeff; */
    box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.64);
    transform: scale(1.05);
}

.tile:hover img {
    opacity: 0.2;
}

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

.dots {
    position: absolute;
    bottom: 20px;
    right: 30px;
    margin: 0 auto;
    width: 30px;
    height: 30px;
    color: currentColor;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.dots span {
    width: 5px;
    height: 5px;
    background-color: currentColor;
    border-radius: 50%;
    display: block;
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.5s ease;
    transform: translateY(30px);
}

.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;
        width: 400px;
    }
}

.stipendie-cont {
    background-color: #1A4170;
    margin: 25px;
    box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.44);
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    min-height: 650px;
}

@media (min-width:300px) and (max-width:485px) {
    .stipendie-cont {
        min-height: auto;
    }
}

.stipendie-cont:hover {
    box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.64);
    background: #183353;
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
}

.stipendie-cont h4,
.stipendie-cont p {
    color: #fff;
    margin-right: 25px;
    margin-left: 25px;
}

.stipendie-cont h3 {
    color: #fff;
    padding-top: 25px;
    border-bottom: solid 1px #fff;
    padding-bottom: 5px;
    margin-right: 25px;
    margin-left: 25px;
}

.stipendie-cont img {
}

.stipfloat {
    float: right;
    max-width: 105px;
    margin-left: 35px;
    margin-top: 30px;
    margin-right: 25px;
}