* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

.container {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)), url(images/bg11.jpg);
    background-position: center;
    background-size: cover;
    padding-left: 8%;
    padding-right: 8%;
    box-sizing: border-box;
}

.row {
    display: flex;
    height: 95%;
    align-items: center;
}

.col {
    flex-basis: 50%;
}

h1 {
    color: #fff;
    font-size: 100px;
    font-style: italic;
    line-height: 90px;
    background-image: url(images/pattern2.jpg);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: #fff;
    font-size: 20px;
    margin-top: 5%;
}

.card {
    position: relative;
    width: 250px;
    height: 230px;
    display: inline-block;
    border-radius: 10px;
    box-sizing: border-box;
    cursor: pointer;
    margin: 10px 15px 20px; 
    background-position: center;
    background-size: cover;
    transition: 0.5s;
}


.card-link {
    position: absolute;
    bottom: 0; 
    left: 0; 
    width: 100%;
    height: 100%;
    text-decoration: none;
    padding: 10px;
    box-sizing: border-box;
    border-bottom-left-radius: 10px; 
    border-bottom-right-radius: 10px; 
}

.card:hover {
    transform: translateY(-10px);
}

.card:hover .card-link{
    background-color: rgba(0,0,0,0.7);
}
.card:hover h5 {
    display: block;
}

.card1 {
    background-image: url(images/iphonereveal.jpg);
    background-position: left;
}

.card2 {
    background-image: url(images/androidlogo.png);
}

.card3 {
    background-image: url(images/ioshistory.jpg);
}

.card4 {
    background-image: url(images/androidhistory.jpg);
}

h5 {
    color: #fff;
    text-shadow: white;
    display: none;
    text-align: center;
    font-weight: bold;
    padding: 40px;
    font-size: 30px;
}

 