Projects / Harjotus2 / Styles.css
Styles.css
Raw
*{
    margin: 0;
    padding: 0;
}

body{
font-family:Georgia, 'Times New Roman', Times, Verdana, sans-serif;
height: 500vh;
overflow-x: hidden;
}

nav.sticky{
    position: fixed;
    top: 1.5vw;
    right: 1.5vw;
    background-color: rgb(241, 223, 196);
    padding: 1vw;
}
nav{display: inline;}
button:hover, a:hover {opacity: 60%;}
a {text-decoration: none;
color: black;
padding:  3vw;}
html{scroll-behavior: smooth;
transition: 1s;}

.header{
font-size: 1.2vw;
padding: 4vh;
text-align: right;
background: linear-gradient( to bottom,
    BlanchedAlmond 0vh,
    BlanchedAlmond 100vh);
}

.text{
    font-size: 2vh;
}


.Home_page{
    padding-top: 15vh;
    padding-left: 5vw;
    font-size: 3vw;
    height: 100vh;
    width: 100%;
    background: linear-gradient( to bottom,
    BlanchedAlmond 0vh,
    BlanchedAlmond 100vh);
}
.info{
    font-size: 1.5vw;
}

.Projects{
font-size: 10vmin;
text-align: center;
font-weight: 400;
height: 100vh;
background: linear-gradient( to bottom, rgb(246, 188, 137) 100vh,
Tan 200vh);
}

.Experience{
    font-size: 10vmin;
    text-align: center;
    font-weight: 400;
    height: 100vh;
    background: linear-gradient( to bottom,BlanchedAlmond 200vh,
    BlanchedAlmond 300vh);
}

.About{
    font-size: 10vmin;
    text-align: center;
    font-weight: 400;
    height: 100vh;
    background: linear-gradient( to bottom, Tan 300vh,
    Tan 400vh);
}

.Contact{
    font-size: 10vmin;
    text-align: center;
    font-weight: 400;
    height: 100vh;
    background: linear-gradient( to bottom, BlanchedAlmond 400vh,
    BlanchedAlmond 500vh);
}
.container{
display: flex;
font-size: 2vh;
justify-content: space-evenly;
align-items: baseline;
}

 .item-1{
width: 50%;
line-height: 3vh;
 }
 
 .item-2{
width: 50%;
line-height: 3vh;
 }


.grid{
    display: grid;
    font-size: 2vh;
    justify-content: space-evenly;
    padding-left: 2vw;
    padding-right: 2vw;
    grid-template-columns: 50% 50%;
    gap: 2vw;
    height: 60vh;
    width: 100%;
}
 .item-4{
    padding: 1vh;
    background-color: rgb(255, 255, 255);

 }
 .item-5{
    padding: 1vh;
    background-color: rgb(255, 255, 255);
 }
 .item-6{
    padding: 1vh;
    background-color: rgb(255, 255, 255);
 }
 .item-7{
    padding: 1vh;
    background-color: rgb(255, 255, 255);
 }