@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&display=swap" rel="stylesheet');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

*{
    margin: 0;
    
    padding: 0;
    box-sizing: border-box;
}
ml{
    font-family: 'Playfair Display';
}
body{
    background-color: black;
}
.section1{
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(19, 18, 18);
}
.container{
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.left1{
    width: 40%;
    height: 450px;
    border-radius: 8px;
    background: url(./Img/retro2.jpg) no-repeat center / cover;
}

.right1{
    width: 50%;
    min-height: 525px;
    background: rgb(238, 174, 202);
    background: -webkit-linear-gradient(to right, #cf53b0 #70cce5);
    background: linear-gradient(to right, #cf53b0, #70cce5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: 20px;
    color: black;
    border: 1px solid;
    box-shadow: 5px 10px #fbd3e9;
}
.par{
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}
.par h1{
    font-size: 30px;
    font-weight: lighter;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 20px hotpink;

    font-family: 'Press Start 2P';
}
.par p{
    margin: 20px 0;
    font-size: 10px;
    font-weight:bolder;
    line-height: 25px;
    letter-spacing: 1px;
    font-family: 'Press Start 2P';
    margin-bottom: 10px;
    list-style-type: none;
}
.box{
    width: 70px;
    height: 160px;
    margin: 10px;
    border-radius: 20px;
    background: url(./Img/C_lang.jpg);
    background-size: cover;
    background-position: center;
    transition: width 0.5s;
    position: relative;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.box h3 {
    color: ivory;
    bottom: 0;
    left: 10px;
    opacity: 0;
    font-size: 20px;
    position: absolute;
    transition: bottom 0.5s, opacity 0.5s;
}
.card{
    display: flex;
    align-items: center;
    justify-content: center;
}
.box:nth-child(2){
    background: url(./Img/Java_lang.jpg);
    background-size: cover;
    background-position: center;
}
.box:nth-child(3){
    background: url(./Img/Python_lang.jpg);
    background-size: cover;
    background-position: center;
}
.box:nth-child(4){
    background: url(./Img/MySql.png);
    background-size: cover;
    background-position: center;
}
.box:hover{
    width: 195px;
    cursor: pointer;
}
.box:hover h3{
    opacity: 1;
    bottom: 15px;
}
@media only screen and (max-width: 768px){

    .container{
        flex-direction: column;
        width: 100%;
        margin: 0 20px;
    }
    .right1{
        width: 100%;
        height: 450px;
    }
    .left1{
        width: 70%;
        margin: 0;
    }
}
.left1 li{
    margin: 10px 0;
    list-style-type: none;
}
.left1 a{
    text-decoration: none;
    text-transform: uppercase;
    background-color: hotpink;
    color: black;
    padding: 10px 20px;
    display: inline-block;
    letter-spacing: 2px;
    border-radius: 25px;
    font-family: 'Press Start 2P';
    font-size: 10px;
    font-weight: lighter;
    bottom: 0;
    border: 1px solid;
    box-shadow: 2px 2px white;
}