My beautiful portfolio
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

218 lines
3.3 KiB

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
*{
font-family: 'Roboto', sans-serif;
}
body{
background-image: url("./images/bg.svg");
background-attachment: fixed;
margin: 0;
margin-top: 50px;
margin-bottom: 30px;
}
a{
text-decoration: none;
color: #155d77;
}
.resume img{
height: 25px;
position: relative;
top: 5px;
}
a:hover{
color: #424242;
}
h1{
color:#212121;
font-size: 2rem;
margin-bottom: 10px;
margin-top: 0;
}
hr{
margin: 35px auto;
border: 0;
border-top: 1px solid #808080;
}
p{
color:#424242;
line-height: 28px;
}
nav{
margin: auto;
padding-left: 330px;
width: 950px;
height: 50px;
}
nav ul{
list-style-type: none;
margin: 0;
padding: 0;
}
nav li{
display: inline;
}
nav a{
text-decoration: none;
color: #424242;
font-size: 20px;
font-weight: 500;
padding: 10px;
display: inline-block;
transition: 0.3s;
}
nav a:hover{
color: #155d77;
}
.content{
display: flex;
flex-direction: row;
gap: 30px;
margin: auto;
width: 1280px;
}
.profile{
width: 300px;
height: 400px;
background: #155d77;
color:#f1f1f1;
display: flex;
flex-direction: column;
align-items: center;
}
.profile .picture{
width: 180px;
height: 180px;
background: #fff;
border-radius: 50%;
margin-top: 60px;
margin-bottom: 30px;
}
.profile h3{
margin: 0;
font-size: 32px;
}
.profile h4{
margin: 0;
opacity: 60%;
font-size: 18px;
}
.socials{
margin-top: 7px;
display: flex;
flex-direction: row;
}
.socials img{
width:30px;
height:30px;
margin: 7px;
}
.resume{
width: 100%;
height: 70px;
line-height: 70px;
display: block;
text-align: center;
bottom: 0;
background: #fff;
color:#212121;
font-size: 24px;
font-weight: 500;
}
.resume:hover{
background-color: #efefef;
}
.info{
width: 850px;
padding: 50px;
min-height: calc(100vh - 200px);
background: #f1f1f1;
}
.education{
height: 50px;
display: flex;
flex-direction: row;
gap: 15px;
margin-bottom: 10px;
}
.education img{
height: 100%;
}
.education h3{
margin: 0;
}
.projects{
display: flex;
flex-direction: column;
gap: 15px;
}
.project{
height: 200px;
display: flex;
flex-direction: row;
gap: 15px;
}
.project img{
width: 300px;
height: 200px;
object-fit: cover;
}
.project h2, p{
margin: 0;
}
/* Responsiveness */
@media screen and (max-width: 1280px){
body{
margin-bottom: 5%;
}
nav{
width: 100%;
padding: 0;
text-align: center;
}
.content{
flex-direction: column;
width: 90%;
}
.profile{
width: 100%;
}
.info{
width: calc(100% - 100px);
}
}
@media screen and (max-width: 950px){
nav{
padding-left: 0;
}
.project{
flex-direction: column;
height: auto;
}
.project img{
width: 100%;
height: auto;
}
}
@media screen and (max-width: 550px){
.education{
flex-direction: column;
height: auto;
}
.education img{
width: 100%;
height: auto;
}
}