Files
portfolio/style.css
T
2024-06-11 16:26:52 +02:00

292 lines
4.6 KiB
CSS

html {
scroll-behavior: smooth;
}
h1,
h2 {
color: white;
}
#top {
margin-top: 0.938em;
height: 2.5em;
background-color: black;
border-bottom: 1px solid silver;
}
#navul li {
display: inline;
list-style-type: none;
margin-right: 1em;
}
#navul li a {
text-decoration: none;
font-size: large;
color: rgb(185, 185, 185);
}
#navul li :hover {
color: white;
}
#navul {
margin-top: 0.938em;
text-align: right;
}
#startseite {
width: 99%;
height: 40em;
align-items: center;
text-align: center;
font-size: larger;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#hallo {
margin-top: 8em;
}
body {
height: auto;
width: 98vw;
padding: 0;
background-color: black;
}
#startseite a button {
font-size: 30px;
margin-top: 2em;
margin-left: 2.25em;
border: 2px solid grey;
}
#uebermichbut:hover {
background-color: white;
color: black;
cursor: pointer;
}
#uebermichbut {
background-color: black;
color: white;
}
#skillsbut:hover {
background-color: black;
color: white;
cursor: pointer;
}
#skillsbut {
background-color: white;
color: black;
}
/*ueber mich*/
#info-content {
display: grid;
grid-template-columns: 50% 50%;
justify-items: center;
align-items: center;
height: 50em;
}
#uebermichtitle {
margin: 0 auto;
text-align: center;
}
#rund {
grid-column: 1;
width: 60%;
height: 69%;
border-radius: 50%;
margin-bottom: 6em;
}
#uebermich {
grid-column: 2;
width: 71.8%;
height: 83.5%;
float: right;
margin-right: 3em;
margin-top: 5em;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: x-large;
}
/*skills*/
#skills {
margin-top: 10em;
}
#skillstitle {
margin: 0;
text-align: center;
}
#projectstitle {
margin: 0;
text-align: center;
}
.grid-container {
display: grid;
grid-template-columns: repeat(4, 2fr);
grid-gap: 20px;
width: 90%;
max-width: 1200px;
margin: 5em auto;
}
.grid-item {
position: relative;
display: flex;
justify-content: center;
align-items: center;
height: 140px;
text-decoration: none;
color: white;
font-size: 24px;
font-weight: bold;
border-radius: 12px;
background-color: #333;
border: 2px solid #444;
cursor: pointer;
transition: transform 0.3s ease, background-color 0.3s ease, border 0.3s ease;
overflow: hidden;
}
.grid-item img {
height: 50px;
width: auto;
margin-right: 10px;
}
.grid-item:hover {
transform: scale(1.1);
background-color: #555;
border: 2px solid #666;
}
/*projekte*/
#projekte {
margin-top: 32.5em;
}
.grid-conts {
display: grid;
grid-template-columns: repeat(3, 2fr);
grid-gap: 20px;
width: 90%;
max-width: 1200px;
margin: 5em auto;
}
.grid-item p{
font-size: 10px;
}
.grd-container {
display: grid;
grid-template-columns: repeat(3, 2fr);
grid-gap: 20px;
width: 90%;
max-width: 1200px;
margin: 2em auto;
}
.grd-item {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 400px;
text-decoration: none;
color: white;
font-size: 24px;
font-weight: bold;
border-radius: 12px;
background-color: #333;
border: 2px solid #444;
cursor: pointer;
transition: transform 0.3s ease, background-color 0.3s ease, border 0.3s ease;
overflow: hidden;
padding: 10px;
}
.grd-item img {
height: 200px;
width: 100%;
object-fit: contain;
margin-bottom: 10px;
}
.grd-item h2 {
margin: 10px 0 5px 0;
font-size: 18px;
}
.grd-item p {
font-size: 14px;
text-align: center;
}
.grd-item:hover {
transform: scale(1.1);
background-color: #555;
border: 2px solid #666;
}
/*Kontakt*/
#kontakt {
margin: 20em auto;
text-align: center;
}
.circle-container {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 20px;
}
.circle {
display: flex;
justify-content: center;
align-items: center;
width: 100px;
height: 100px;
border-radius: 50%;
background-color: #333;
border: 2px solid #444;
cursor: pointer;
transition: transform 0.3s ease, background-color 0.3s ease, border 0.3s ease;
}
.circle img {
width: 50px;
height: 50px;
}
.circle:hover {
transform: scale(1.1);
background-color: #555;
border: 2px solid #666;
}
#kontakt p{
font-size: 20px;
color:white;
}