Css Kodları
Css Kodları
--main-color: #9ba9bb ;
--black-color: #0e0e0e;
*{
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
border: none;
text-decoration: none;
text-transform: capitalize;
html::-webkit-scrollbar{
width: 0.8rem;
background-color: #c9d9e6;
html::-webkit-scrollbar-track{
background-color: transparent;
html::-webkit-scrollbar-thumb{
border-radius: 3rem;
background-color: #88a2c4;
}
html{
font-size: 62.5%;
overflow-x: hidden;
scroll-padding-top: 9rem;
scroll-behavior: smooth;
body{
background-color:var(--main-color);
section{
height: 10rem;
.header{
background-color:#c4d0de ;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 8%;
border-radius: 30rem;
position: sticky;
top: 0;
z-index: 1000;
.header .navbar a{
margin: 0 1rem ;
font-size: 2.5rem;
color: var(--black-color);
border-color: var(--main-color);
padding-bottom: 1rem;
.AnaSayfa
{
min-height: 100vh;
background: url(../image/anasayfa1.png)
no-repeat;
background-size: cover;
background-position: center;
margin-top: -14.5rem;
display: flex;
align-items: center;
.AnaSayfa .content {
max-width: 60rem;
font-size: 6rem;
color: #fff;
.AnaSayfa .content p{
font-size: 2rem;
font-weight: 200;
line-height: 2rem;
padding: 1rem 0;
color: #fff;
display: grid;
gap: 1.5rem;
width: 100%;
width: 100%;
height: 350px;
object-fit: cover;
border-radius: 15px;
margin: 2rem;
.hakkımda h2 {
font-size: 2.8rem;
font-weight: bold;
line-height: 3.5rem;
color: #222;
margin-bottom: 2rem;
.hakkımda p {
font-size: 2.2rem;
line-height: 3rem;
color: #444;
margin-bottom: 2rem;
}
padding: 2.5rem;
background-color: #c9d1db;
border-radius: 20px;
min-height: 40rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1.5rem;
.yetenekler {
background-color: #9ba9bb;
color: #fff;
.section-title {
font-size: 2.5rem;
text-align: center;
margin-bottom: 3.5rem;
font-weight: bold;
color: #2e4a62;
.yetenekler-container {
display: flex;
flex-wrap: wrap;
gap: 5rem;
justify-content: center;
.yetenek-karti {
background-color: #9fa8b3;
padding: 5rem;
border-radius: 2.5rem;
max-width: 48rem;
text-align: center;
.yetenek-karti:hover {
transform: translateY(-8px);
.yetenek-baslik {
font-size: 2rem;
margin-bottom: 2.5rem;
color: #2e4a62;
font-weight: bold;
.yetenek-gorsel {
width: 100%;
height: 350px;
object-fit: cover;
border-radius: 2rem;
margin-bottom: 2.5rem;
.yetenekler-container .dijital {
background-color: #bac5d3;
.yetenekler-container .elle {
background-color: #bac5d3;
.yetenekler-container .solidworks {
background-color: #bac5d3;
.contact {
padding: 3rem 5%;
color: #2e4a62;
border-radius: 15px;
max-width: 700px;
margin: 0 auto;
.container {
text-align: center;
.section-title {
font-size: 2.4rem;
font-weight: bold;
margin-bottom: 1rem;
color: #222;
.section-subtitle {
font-size: 1.6rem;
color: #555;
margin-bottom: 2rem;
.contact-form {
display: flex;
flex-direction: column;
gap: 1.5rem;
.form-group {
display: flex;
flex-direction: column;
text-align: left;
label {
font-size: 1.4rem;
font-weight: 600;
margin-bottom: 0.5rem;
input, textarea {
width: 100%;
padding: 1rem;
font-size: 1.2rem;
border-radius: 10px;
background-color: #fff;
input:focus, textarea:focus {
border-color: #9ba9bb;
outline: none;
}
textarea {
resize: none;
.btn-submit {
background-color: #819fbf;
color: #fff;
font-size: 1.4rem;
font-weight: bold;
border: none;
border-radius: 5px;
cursor: pointer;
.btn-submit:hover {
background-color: #7d8fa1;
.search-menu {
padding: 2rem;
background: #bac5d3;
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
margin-top: 1rem;
.search-bar {
display: flex;
align-items: center;
gap: 0.5rem;
width: 100%;
max-width: 600px;
.search-bar input[type="text"] {
flex: 1;
padding: 1rem;
font-size: 1.2rem;
border: none;
border-radius: 50px;
.search-bar button {
font-size: 1.2rem;
font-weight: bold;
color: white;
background: #819fbf;
border: none;
border-radius: 50px;
cursor: pointer;
.search-bar button:hover {
background: #819fbf;
.nav-menu {
display: flex;
gap: 1rem;
.nav-menu a {
text-decoration: none;
color: white;
font-size: 1.2rem;
font-weight: bold;
background: #819fbf;
border-radius: 50px;
.nav-menu a:hover {
background: #7d8fa1;
}
/*! footer end*/
#portfolio {
background-color:var(--main-color);
margin-bottom: 4rem;
#portfolio h2 {
text-align: center;
color: #2e4a62;
margin-bottom: 20px;
font-size: 28px;
.portfolio {
display: grid;
gap: 20px;
justify-content: center;
align-items: stretch;
.card:hover {
transform: translateY(-10px);
}
.card {
background-color: #bac5d3;
border-radius: 15px;
padding: 20px;
text-align: center;
display: flex;
flex-direction: column;
justify-content: space-between;
.card img {
width: 100%;
height: auto;
border-radius: 10px;
margin-bottom: 15px;
.card h3 {
font-size: 18px;
color: #2e4a62;
.card p {
font-size: 14px;
color: #4f6d85;
margin-bottom: 10px;
.special-card img {
border-radius: 10px;
margin-bottom: 15px;
section {
.header {
padding: 0 5%;
.AnaSayfa .content h3 {
font-size: 4rem;
}
.AnaSayfa .content p {
font-size: 1.6rem;
.yetenekler-container {
flex-direction: column;
gap: 2rem;
.yetenek-karti {
max-width: 100%;
padding: 3rem;
.portfolio {
.card img {
height: 300px;
.card h3 {
font-size: 16px;
.card p {
font-size: 12px;
}
height: 8rem;
.header .navbar a {
font-size: 2rem;
.hakkımda h2 {
font-size: 2.2rem;
.hakkımda p {
font-size: 1.8rem;
.card {
padding: 15px;
text-align: center;
.card img {
height: 250px;
}
.contact {
max-width: 100%;
.contact-form input,
.contact-form textarea {
font-size: 1.2rem;
.contact-form button {
.header {
padding: 0 3%;
.AnaSayfa .content h3 {
font-size: 3rem;
.AnaSayfa .content p {
font-size: 1.4rem;
.yetenekler-container {
flex-direction: column;
gap: 1.5rem;
.yetenek-karti {
padding: 2rem;
.card img {
height: 200px;
.card h3 {
font-size: 14px;
.card p {
font-size: 12px;
.contact-form input,
.contact-form textarea {
font-size: 1.1rem;
.contact-form button {
}
/*! responsive end*/