
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@160..700&display=swap');

body{
    margin: 40px 220px 0 220px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    background-color: #fcfcfc;
}
nav ul{
    list-style-type: none;
    margin: 0;
    padding:0px;
    overflow: hidden;
}
nav li{
    float: right;
    padding: 0 10px;
    font-size: 15px;
    margin: 15px;
}
.active, nav li a:hover{
    color:grey; 
    text-decoration: underline;
}

#intro{
    font-family: 'Source Code Pro', monospace;
    font-size: 30px;
    position: relative;
    padding: 14% 0;
}
.card {
    margin-bottom: 2%;
    width: 50px;
    height: 50px;
    background-image: url("img/Vidha.png") ;
    background-size:cover;
    display: inline-block;
    transition:0.3s ease-in-out;
}
.card:hover {
   
    background-image: url("img/Vidhaw.png");
}
a{
    color:black; 
    text-decoration: none;
}
a:hover{
    color:grey; 
    text-decoration: underline;
}
.topic, #copy-write p{
    letter-spacing: 3px;
    color: grey;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 4;

}
ul.content{
    padding: 0px;
}
.content{
    color: black;
    list-style-type: none;
    position: relative;
    letter-spacing: 1px;
    line-height: 2;
    font-size: 13px;
}
footer{
    margin-top: 5%;
    display: flex;
    align-items: baseline;
}
/* flex */
#portfolio{
    display: flex;
    justify-content:start;
    gap: 20%;
}
#top, #bottom{
    min-height: 200px;
}

/* work */
#photos {
    display: grid;
    grid-template-columns: 1fr;
    width:100%;
    column-gap:4%;
    z-index:1;
    transition:0.3s ease-in-out;
}
#photos img {
    box-shadow: 0px 3px 15px rgba(124, 124, 124, 0.2);
    width:100%;
    height:auto;
    margin:4.5% 0px;
    transition:0.3s ease-in-out;
}
#photos img:hover {
    transform: scale(1.1);
    cursor: pointer;
}
#magnify {
    left: 0;
    top: 0;
    overflow: auto;
    width:100%;
    height: 100%;
    background:rgba(0, 0, 0, 0.92);
    position:fixed;
    z-index:4;
    display:none;
    flex-direction: column;
    justify-content:center;
}

#magnify h1 {
    position:absolute;
    top:0;
    right:0;
    margin:20px 40px;
    color:#EAEAEA;
    transition:0.3s ease-in-out;
}
#magnify h1:hover{
    color:#84a98c;
    cursor:pointer;
}
#img_here {
    width:90%;
    height:90%;
    background-size:contain !important;
    background-repeat:no-repeat !important;
    margin: 0px auto;
}



/* media query */
@media screen and (max-width: 800px){
    body{
        margin: 30px 20px 0 20px;
    }
    #portfolio{
       flex-direction: column-reverse;
        gap: 0;
    }
    #photos {
        columns:1;
        column-gap:0%;
    }
    #photos img {
        margin:2% 0px;
    }
    #photos img:hover {
        transform: scale(1);
        cursor: pointer;
    }
    #top, #bottom{
        min-height: 90px;
    }
    #intro{
        font-size: 24px;
        line-height: 1.3;
    }
}