@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body{
    margin: auto;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
}

.container{
    display: flex;
    gap: 20px;
    border: 3px solid #6a84cc ;
    border-radius: 20px;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7 );
}

.profilePic{
    width: 100vw;
    padding: 5px;
    background-color: #eef0f6;
    border-radius: 20px;
        &>img{
        object-fit: cover;
        object-position: left;
        border-radius: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1 );
    }
}

.profileDetails{
    padding: 30px 20px 10px 10px ;
    display: flex;
    flex-direction: column;
}

h1{
    font-size: 40px;
    margin-top: 4vh;
    align-self: center;
    font-weight: 600;
}
h5{
    font-size: 18px;
    padding-top: 20px;
    align-self: center;
}
.bio {
    padding: 5px;
    word-wrap: break-word;
    line-height: 2;
    /* font-style: italic; */
    margin-top: 3vh;
}
h4{
    align-self: flex-end;
    margin:20px  20px 0 0;
    font-weight: 600;
    color: darkgray;
    
    
        &>a{
            color: black;
            text-decoration: none;
        }
}
.medialinks{
    display: flex;
    justify-content: space-evenly;
    justify-items: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    
    
    &>a{
        
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: white;
        font-size: 20px;
        height: 40px;
        width: 40px;
        border-radius: 50%;
    background-color: #4070f4;
    transition: transform 0.3 ease;
        
    }
    &>a:hover{

        transform: scale(1.2);
        font-size: 25px;
        height: 45px;
        width: 45px;
    }
}


.current{
    display: flex;
    justify-content: space-between;
    margin-top: 2vh;
    padding-right: 20px;
}

.location-link {
    display: inline-flex; 
    justify-content: center;
    align-items: center;
    background-color: #090c69; 
    color: #fff; 
    text-decoration: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px; 
    transition: background-color 0.3s ease;
  }

  .location-link:hover {
    background-color: #0077cc;

  }
  .location{
    color: black;
    text-decoration: none;
    padding-left: 5px;
  }

  #clock{
    font-size: 18px;
  }



/* phone screens and tablets */
@media (width <= 900px){
    body{
        margin: auto;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f4f4f4;
        width: 100%;
    }
    .container{
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
        border: 3px solid #6a84cc ;
        border-radius: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7 );
    }
    .profilePic{
        margin: 0;
        width: 100vw;
        padding: 5px;
        background-color: #eef0f6;
        border-radius: 20px;
            &>img{
                
            width: 100vw;
            object-fit: contain;
            object-position: center;
            border-radius: 20px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1 );
        }
    }
    
    .profileDetails{
        margin: 0;
        padding: 0px 10px 2vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100vw;
    }
    
    h4{
        align-self: center;
    }
    .current{
        flex-direction: column;
    }
    h1{
        margin-top: 1vh;
    }
}
