/***************** COVER PHOTO *****************/ .home-backgroundpic .w3-button { border-radius: 20px; } .cover-photo-title { font-size: 60px; font-weight: bolder; } .cover-photo-text { margin: 10% 0; line-height: 2em; } .cover-photo-text p:nth-child(2) { margin-left: 7%; } .cover-photo-text p:nth-child(3) { margin-left: 14%; } .cover-photo-text p:nth-child(4) { margin-left: 21%; } .cover-social { padding: 24px 10px; position: absolute; left: 0; bottom: 0; width: 25%; display: flex; justify-content: space-evenly; color: rgb(190, 190, 190); } .cover-social a { text-decoration: none; font-size: 40px; } /***************** Profile Section *****************/ .profile { margin: 0 0 10% 0; height: auto; } .propic, .propic-small { display: flex; flex-direction: row; justify-content: space-evenly; position: relative; margin: auto; width: 60%; } .propic-small { display: none; flex-direction: column; text-align: center; margin: 0 auto; } .propic img, .propic-small img { max-width: 250px; border-radius: 50%; border: 3px solid var(--primary-text-color); box-shadow: gray 0 0 10px; } .propic-small img { margin: auto; float: center; } .propic .side-text, .propic-small .side-text { max-width: 250px; font-size: 17px; position: relative; top: 50px; text-align: center; line-height: 2em; margin: 0 30px; } .propic-small .side-text { margin: auto; } /***************** TIMELINE *****************/ .sectionClass { padding: 0px 0px 50px 0px; position: relative; display: block; } .row { width: 980px; height: 100%; max-width: 100%; margin: 0 auto; } .row:before, .row:after { content: ""; display: table; } .fullWidth { width: 100%; display: table; float: none; padding: 0; min-height: 1px; height: 100%; position: relative; } .cbp_tmtimeline { margin: 60px 30px 0 0; padding: 0; list-style: none; position: relative; } .cbp_tmtimeline:before { content: ''; position: absolute; top: 3%; bottom: 0; width: 10px; background: var(--timeline-color); left: 13%; height: 90%; } .cbp_tmtimeline li:last-child:before { content: initial; } .cbp_tmtimeline>li .cbp_tmtime { display: block; width: 25%; padding-right: 100px; position: absolute; } .cbp_tmtimeline>li .cbp_tmtime span { display: block; text-align: right; } .cbp_tmtimeline>li .cbp_tmtime span:first-child { font-size: 0.9em; } .cbp_tmtimeline>li .cbp_tmtime span:last-child { font-size: 2.9em; } .cbp_tmtimeline>li .cbp_tmlabel { margin: 0 0 15px 25%; background: var(--timeline-color); color: var(--secondary-text-color); padding: 30px; font-size: 1.2em; font-weight: 300; line-height: 1.4; position: relative; border-radius: 5px; min-height: 150px; } .cbp_tmtimeline>li:nth-child(odd) .cbp_tmlabel { background: var(--timeline-color); } .cbp_tmtimeline>li .cbp_tmlabel h3 { margin-top: 0px; font-size: 20px; margin-bottom: 5px; padding: 0 0 10px 0; border-bottom: 1px solid var(--secondary-text-color); font-weight: bold; } .cbp_tmtimeline>li .cbp_tmlabel h4 { opacity: 0.7; letter-spacing: 0px; font-size: 18px; line-height: 1.2em; font-weight: 600; padding: 0; padding-bottom: 10px; margin: 0; text-align: left; color: var(--timeline-faded-color) !important; } .cbp_tmtimeline>li .cbp_tmlabel h4 i { margin-right: 5px; vertical-align: middle; color: var(--timeline-faded-color) !important; } .cbp_tmtimeline>li .cbp_tmlabel:after { right: 100%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-right-color: var(--timeline-color); border-width: 10px; top: 70px; } .cbp_tmtimeline>li .cbp_tmicon { width: 150px; height: 150px; top: 3%; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; font-size: 1.4em; line-height: 40px; -webkit-font-smoothing: antialiased; position: absolute; color: red; background: var(--timeline-color); border-radius: 50%; text-align: center; left: 8%; margin: 0 0 0 -25px; } .cbp_tmtimeline li { margin-bottom: 70px; position: relative; } .sectionClassProject { position: relative; display: block; margin: 0 auto; padding: 80px 1.875em 3.125em; } .projectParagraph { font-size: 15px; line-height: 1.7em; } .projectParagraphLink { font-size: 15px !important; font-weight: 500 !important; margin-top: 50px !important; margin-bottom: 0px; text-align: right; } .projectParagraphLink a { text-decoration: underline; } .cbp_tmicon img { width: 95%; border-radius: 50%; margin-top: 3.5px; } /* ICON */ .faPra { display: inline-block; font: normal normal normal 14px/1 FontAwesome; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 70px; vertical-align: middle; line-height: 150px; } .label { background-color: red; border-radius: 3px; display: inline; font-size: 12px; font-weight: bold; margin-right: 10px; padding: 5px 15px; } .date { color: var(--timeline-faded-color); display: block; font-size: 14px; font-weight: 600; position: absolute; top: 30px; right: 20px; } .date i { margin-right: 8px; vertical-align: top; font-size: 18px; line-height: 20px; } /***************** PROJECTS *****************/ #container { box-shadow: 0 15px 30px 1px grey; background: rgba(255, 255, 255, 0.90); text-align: center; border-radius: 5px; overflow: hidden; margin: 5em auto; height: 375px; width: 37%; } .product-details { position: relative; text-align: left; overflow: hidden; padding: 30px; height: 100%; float: left; width: 55%; text-align: center; } #container .product-details h1 { display: inline-block; position: relative; font-size: 30px; margin: 0; line-height: 1em; } #container .product-details h1:before { position: absolute; content: ''; right: 0%; top: 0%; transform: translate(25px, -15px); display: inline-block; background: #ffe6e6; border-radius: 5px; font-size: 14px; padding: 5px; color: white; margin: 0; animation: chan-sh 6s ease infinite; } #container .product-details>p { text-align: center; font-size: 18px; color: #7d7d7d; } .control { position: relative; top: 6%; margin-left: 7%; margin-right: 7%; } .btn { transition: 0.3s linear; background: #211F1F; border-radius: 5px; position: relative; overflow: hidden; cursor: pointer; outline: none; border: none; color: #eee; padding: 0; align-items: center; margin: auto; } .btn:hover { transform: translateY(-6px); background: #9da6b8; } .btn span { transition: transform 0.3s; display: inline-block; padding: 10px 20px; font-size: 1.2em; margin: 0; } .btn .git-icon, .git-text { background: #211F1F; border: 0; margin: 0; } .btn .git-icon { margin: auto; padding-right: 15px; } .btn .git-text { transform: translateX(-100%); position: absolute; background: #211F1F; z-index: 1; left: 0; top: 0; } .btn .git-button { z-index: 3; font-weight: bolder; text-align: left; transform: translateX(-4%); } .btn:hover .git-icon { transform: translateX(-110%); } .btn:hover .git-text { transform: translateX(6%); } .product-image { transition: all 0.3s ease-out; display: inline-block; position: relative; overflow: hidden; height: 100%; float: right; width: 45%; } #container img { width: 100%; height: 100%; } .info { background: rgba(27, 26, 26, 0.9); transition: all 0.3s ease-out; transform: translateX(-100%); position: absolute; line-height: 1.8; text-align: center; font-size: 105%; cursor: no-drop; color: #FFF; height: 100%; width: 100%; left: 0; top: 0; } .info h2 { text-align: center } .product-image:hover .info { transform: translateX(0); } .info ul li { line-height: 3em; transition: 0.3s ease; } .info ul li:hover { transform: translateX(20px) scale(1.3); } .product-image:hover img { transition: all 0.3s ease-out; } .product-image:hover img { transform: scale(1.2, 1.2); } /***************** RESPONSIVE *****************/ @media (max-width: 650px) { .home-backgroundpic { width: 100%; } .profile { margin-bottom: 20%; } .cover-photo-title { font-size: 40px !important; } .cover-photo-text p { margin-left: 0 !important; } .cover-social { width: 50% !important; } } @media (max-width: 950) {} @media (max-width: 1024px) { .propic { display: none; } .propic-small { display: flex; } .cover-social { width: 30%; } .cbp_tmtimeline:before { display: none; } .cbp_tmtimeline>li .cbp_tmtime { width: 100%; position: relative; padding: 0 0 20px 0; } .cbp_tmtimeline>li .cbp_tmtime span { text-align: left; } .cbp_tmtimeline>li .cbp_tmlabel { margin: 30px 0 70px 0; padding: 50px 30px 30px 30px; font-weight: 400; font-size: 95%; float: left; } .cbp_tmtimeline>li .cbp_tmlabel:after { right: auto; border-right-color: transparent; border-bottom-color: var(--timeline-color); top: -20px; } .cbp_tmtimeline>li:nth-child(odd) .cbp_tmlabel:after { border-right-color: transparent; border-bottom-color: var(--timeline-color); left: 65px; } .cbp_tmtimeline>li:nth-child(even) .cbp_tmlabel:after { right: 65px; } .cbp_tmtimeline>li:nth-child(odd) .cbp_tmicon { position: relative; float: left; left: auto; margin: 0px 5px 0 0px; } .cbp_tmtimeline>li:nth-child(even) .cbp_tmicon { position: relative; float: right; left: auto; margin: 0px 5px 0 0px; } .cbp_tmtimeline>li .cbp_tmtime span:last-child { font-size: 1.5em; } #container { width: 65% !important; } } @media (max-width: 1200px) { #container { width: 60% !important; } } @media (max-width: 1600px) { #container { width: 50%; } } @media (min-width: 1600px) { .profile { margin-bottom: 5%; } }