2023-09-19 14:53:01 -05:00

159 lines
2.9 KiB
SCSS

@font-face {
font-family: itrFont;
src: url(../font/LeagueSpartan-ExtraBold.ttf);
}
@font-face {
font-family: itrFontMedium;
src: url(../font/LeagueSpartan-Medium.ttf);
}
.project {
background-color: #232323;
width: 100%;
min-height: 100vh;
height: auto;
opacity: 100%;
overflow-x: hidden;
display: flex;
-webkit-animation: fade 0.9s ease-in;
-moz-animation: fade 0.9s ease-in;
-ms-animation: fade 0.9s ease-in;
-o-animation: fade 0.9s ease-in;
animation: fade 0.9s ease-in;
background: linear-gradient(#3b3b3b, #1a1a1a);
}
.projects_wrap {
flex-wrap: wrap;
padding: 24px;
display: flex;
flex-direction: row;
justify-content: start;
}
.projects__title {
margin: 20px 0 0 20px;
font-family: itrFontMedium;
color: #fff;
}
.project__content {
position: relative;
width: 100%;
height: auto;
overflow: hidden;
}
.project__content__main {
width: 100vw;
height: auto;
display: flex;
justify-content: center;
align-items: center;
}
.project__content__main__container {
padding: 10px 10px 20px 10px;
border-radius: 10px;
background-color: rgb(66, 66, 66);
box-sizing: border-box;
height: 400px;
display: flex;
flex-direction: column;
transition: 0.3s;
cursor: default;
overflow: hidden;
margin: 0 16px 16px 0;
}
.project_item_content {
flex-grow: 1;
overflow: scroll;
}
.project__content__main__container h1,
.project__content__blocks_block h1 {
color: white;
opacity: 100%;
font-size: 40px;
font-weight: bold;
font-family: "itrFont";
padding: 10px;
}
.project__content__main__container span,
.project__content__blocks_block span {
color: rgb(238, 238, 238);
opacity: 100%;
font-size: 16px;
font-family: "itrFontMedium";
padding: 10px;
line-height: 20px;
border-radius: 10px;
}
.project__content__blocks_block span {
margin-bottom: 30px;
}
.project__content__blocks {
margin-top: 6vh;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
height: auto;
margin-right: calc(-1 * (100vw - 100%));
}
.project__content__blocks_block {
position: relative;
border-radius: 10px;
background-color: rgb(66, 66, 66);
width: 25vw;
margin-left: 3vw;
margin-right: 3vw;
min-height: 38vh;
height: auto;
padding: 10px;
display: flex;
flex-direction: column;
transition: 0.3s;
cursor: pointer;
}
.project__content__blocks_block p {
position: absolute;
bottom: 0;
color: rgb(136, 136, 136);
opacity: 100%;
font-size: 20px;
font-family: "itrFontMedium";
padding: 10px;
line-height: 32px;
border-radius: 10px;
}
.project__content__blocks_block:hover,
.project__content__main__container:hover {
background-color: #666666;
}
@media screen and (max-width: 1550px) {
.project__content__blocks {
flex-direction: column;
}
.project__content__blocks_block {
margin-bottom: 6vh;
width: 80vw;
}
.project__content__blocks_block h1 {
font-size: 35px;
}
}
@keyframes fade {
0% {
opacity: 0;
}
}