/* NOTE: Variable stuff below */
:root {
    --flex-flow-dir: row;
    --img-width: 100%;
    --title-size: 50px;
    --subtitle-size: 30px;
    --title-text-size: 20px;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/*  NOTE: Responsive design controller */
@media only screen and (max-width: 900px) {
    :root {
        --flex-flow-dir: column;
        --img-width: 50%;
        --title-size: 30px;
        --subtitle-size: 18px;
        --title-text-size: 14px;
    }
    .title-text{
        line-height: 18px;
    }
    .one{ display: none;}
    nav ul li{padding: 5px 10px;}

    section.intro{
        width: 50%;
        height: 50%;
    }

    .code-intro{display: block;}

    .code-display{
        display: none;
    }

}

.code-intro{
    text-align: center;
    color: white;
    background-color: black;
    font-size: 30px;
    padding-top: 50px;
    display: none;
}

body {
    background-color: black;
    font-family: 'Josefin sans', sans-serif;
}

/* NOTE: NAVBAR controller below */


nav {     /* About-projects-skills-etc at top */
    position: sticky;
   top: 0;
   z-index: 100;
    display: flex;
    justify-content: space-around;
    padding-top: 50px;
    padding-left: 2%;
    padding-right: 2%;

}

nav ul li {
    list-style-type: none;
    display: inline-block;
    font-family: 'Josefin Sans', sans-serif;
    padding: 15px 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: capitalize;
}

nav ul li a:hover {
    color:  #798DC5;
    transition: .4s;
}


.button {
    background-color:  #798DC5;
    color: white;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    /* padding: 10px 40px; */
    border-radius: 15px;
    transition: transform .4s;
    float: right;
}

.button:hover {
    transform: scale(1.1);
}

/* NOTE: profile image, and about text below */

.about-info-title {
    display: flex;
    justify-content: center;
    padding: 5%;
    flex-flow: var(--flex-flow-dir);
}
span {
    color: #2d81f7;
}

.about-image {
    /* margin: 0 auto; */
    display: flex;
    justify-content: space-around;
}

img {
    border-radius: 15%;
    object-position: top;
    object-fit: cover;
    padding-top: 0%;

}

.about-image img {
    display: block;
    flex: 0;
    max-width: var(--img-width);
}

.about-text {
    margin: auto;
    flex: 1;
    color: greenyellow;
    margin-top: 10%;
}

.title-hello {
    color: white;
    text-transform: capitalize;
    margin-bottom: 5px;
    text-align: left;
    font-size: var(--title-size);
}

.title-subtitle {
    color: white;
    letter-spacing: 2px;
    font-size: var(--subtitle-size);
    margin-bottom: 5px;
    text-transform: capitalize;
}

.title-text {
    color: #fcfc;
    /* letter-spacing: 1px; */
    line-height: 25px;
    font-size: var(--title-text-size);
    margin-bottom: 45px;
}

button {
    background-color: #798DC5;
    color: white;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: .4s;
    font-family: 'Josefin sans', sans-serif;
}

button:hover {
    background-color: transparent;
    border: 2px solid #798DC5;
    cursor: pointer;
}

/* NOTE: Case study scrollable component */

.scroll-list {
    padding: 5%;
    display: flex;
	overflow-x : auto;
    background-color: black;
}
.scroll-box h1{
color: white;
text-align: center;
padding :5%
}
.scroll-box-product-title{
    color: white;
    text-transform: capitalize;
    text-align: center;
    font-size: var(--title-size);

}
.card-info {
    background-color: #798DC5;
    padding: 1%;
    margin: 1%;
    border-radius: 10px;
  min-width: 400px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.image-product {
    background-color: #798DC5;
    display: flex;
    margin: 0.5%;
    justify-content: center;
    padding: 20px;
}

.about-info {
    background-color: #798DC5;
    margin: 0.5%;
    padding: 20px;
}

.link {
    margin: 0.5%;
    background-color: #798DC5;
    text-align: center;
    color: blue;
}

/* NOTE: Contact me stuff */
.contact-me{
	width: 100%;
	height: 250px;
	background: #191919;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
}
.contact-me p{
	color: white;
	font-size: 28px;
    text-align: center;
	font-weight: bold;
	margin-bottom: 25px;
}
.contact-me .button-two{
	background-color:#798DC5;
	color: white;
	text-decoration: none;
	border: 2px solid transparent;
	font-weight: bold;
	padding: 13px 30px;
	border-radius: 30px;
	transition: .4s; 
}
.contact-me .button-two:hover{
	background-color: transparent;
	border: 2px solid #798DC5;
	cursor: pointer;
}

footer{
	position: relative;
	width: 100%;
	height: 250px;
	background: #798DC5;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
footer p:nth-child(1){
	font-size: 28px;
    text-align: center;
	color: white;
	margin-bottom: 20px;
	font-weight: bold;
}
footer p:nth-child(2){
	color: white;
	font-size: 15px;
	/* width: 500px; */
	text-align: center;
	line-height: 26px;
}
.social{
	display: flex;
}
.social a{
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin: 22px 10px;
	color: black;
	text-decoration: none;
	font-size: 20px;
}
.social a:hover{
	transform: scale(1.3);
	transition: .3s;
}

/* skills css */
/*font-family: 'Oswald', sans-serif;
html { 
  font-size: 62.5%; } 
body {
font-size: 1.5em;
line-height: 1.6;
font-weight: 400;
font-family: 'lux', sans-serif;
color: #222;
background-color: #f6f6f6;
overflow-y: scroll;
}
*/

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 { 
  font-weight: 300;
  margin-top: 0;
  margin-bottom: 2rem; }
h1 { font-size: 4.0rem; line-height: 1.2;  letter-spacing: -.1rem;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
h3 { font-size: 3.0rem; line-height: 1.3;  letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

/* Larger than phablet */
@media (min-width: 550px) {
  h1 { font-size: 5.0rem; }
  h2 { font-size: 4.2rem; }
  h3 { font-size: 3.6rem; }
  h4 { font-size: 3.0rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.5rem; }
}

p {
  margin-top: 0; }

* {
box-sizing: border-box;
margin: 0;
}

section.intro {
font-family: 'Josefin sans', sans-serif;
position: relative;
height: 100vh;
width: 100%;
background: #f6f6f6;
background: -moz-radial-gradient(center, ellipse cover, #f6f6f6 1%, #d3d3d3 100%);
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(1%,#f6f6f6), color-stop(100%,#d3d3d3));
/* background: -webkit-radial-gradient(center, ellipse cover, #f6f6f6 1%,#d3d3d3 100%); */
background: -o-radial-gradient(center, ellipse cover, #f6f6f6 1%,#d3d3d3 100%);
background: -ms-radial-gradient(center, ellipse cover, #f6f6f6 1%,#d3d3d3 100%);
/* background: radial-gradient(ellipse at center, #f6f6f6 1%,#d3d3d3 100%); */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#d3d3d3',GradientType=1 );
overflow: hidden;
z-index: 1;
}











.welcome {
font-size: 60px;
text-align: center;
color: #333;
}







/********************************************************************************************************************************
                                            Hexagon Intro Blocks
********************************************************************************************************************************/
.intro-block {
    background-color: black;
position: relative;
display: flex;
align-items: center;
height: 100%;

}

.hex-bg-big-text {
position: absolute;
z-index: -1;
height: 100%;
width: 100%;
}

.centerfold-wrap {
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex: 1;
}

.hoverblock {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.hover-notify {
position: absolute;
bottom: -80px;
left: 0;
width: 100%;
text-align: center;
font-size: 50px;
color: white;
}

.code-display {
position: relative;
color: #f6f6f6;
width: 600px;
height: 260px;
}

.code-display::before {
content: "Expertise";
position: absolute;
top: -70px;
left: 0;
font-size: 2.0rem;
color: White;
}

.code-display h1 {
color: #333;
}

.code-description {
width: 100%;
height: 100%;
color: #798DC5;
}

.code-description * {
display: none;
}

.code-description > div {
padding: 0px 40px;
font-size: 26px;
border-left: 2px solid #DDDDDD;
}

.desc-active {
display: block;
/*height: 100%;*/
position: relative;
}

.desc-active > p {
display: block;
margin: 0;
}

.desc-active > p > span {
display: inline-block;
/* font-weight: bold; */
width: 125px;
}

p.code-title {
position: relative;
font-size: 2rem;
color: white;
}

.desc-active::after {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
content: "";
opacity: .2;
z-index: -1;
}

/*.backend-desc.desc-active::after {
background: url(https://i.imgur.com/Dc8HgeM.png);
background-repeat: no-repeat;
background-size: contain;
background-position: right center;
}
.frontend-desc.desc-active::after {
background: url(https://i.imgur.com/QcfXSkf.jpg);
background-repeat: no-repeat;
background-size: contain;
background-position: right center;
}
.html-desc.desc-active::after {
background: url(https://i.imgur.com/0g3HZSF.jpg);
background-repeat: no-repeat;
background-size: contain;
background-position: right center;
}
.css-desc.desc-active::after {
background: url(https://i.imgur.com/poC0TYE.png);
background-repeat: no-repeat;
background-size: contain;
background-position: right center;
}
.javascript-desc.desc-active::after {
background: url(https://i.imgur.com/QjrmHkb.jpg);
background-repeat: no-repeat;
background-size: contain;
background-position: right center;
}
.gui-desc.desc-active::after {
background: url(https://i.imgur.com/YmCqPpk.jpg);
background-repeat: no-repeat;
background-size: contain;
background-position: right center;
}
.seo-desc.desc-active::after {
background: url(https://i.imgur.com/V9vAVUO.png);
background-repeat: no-repeat;
background-size: contain;
background-position: right center;
}
*/















.hex-master-wrap {
position: relative;
/* width: 50%; */
min-width: 665px;
height: 460px;
}

.border-1,
.border-2,
.border-3 {
position: absolute;
width: 100%;
height: 88px;
top: 46px;
left: 0;
border-left: 3px solid;
border-right: 3px solid;
border-radius: 8px;
z-index: 2;
border-color: #333;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}

.border-2 {
transform: rotate(60deg);
}

.border-3 {
transform: rotate(120deg);
}

.border-3::before {
display: none;
position: absolute;
content: "";
bottom: 10%;
left: 42px;
width: 50%;
height: 83%;
background-color: rgba(255, 255, 255, 0);
border-top: 1px solid;
border-bottom: 1px solid;
border-color: white;
border-radius: 50%;
visibility: visible;
z-index: -1;
/* transform: rotate(60deg); */
}






.intro-block .grid-1,
.intro-block .grid-2,
.intro-block .grid-3 {
display: flex;
align-items: center;
justify-content: center;
width: 75%;
margin: 0 auto;
margin-bottom: -50px;
}

.intro-block .grid-3 {
margin-bottom: -50px;
}

.intro-block .grid-2,
.intro-block .grid-3 {
margin-top: -50px;
}

.hex-wrap {
position: relative;
width: 150px;
height: 190px;
margin: 0 1em 0 0;
border-top-left-radius: 100%;
border-top-right-radius: 100%;
border-bottom-left-radius: 100%;
border-bottom-right-radius: 100%;
border: 0px solid;
transform: scale(1.1);
}

.hex-wrap .label {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
width: 100%;
height: 58px;
color: #f6f6f6;
display: flex;
justify-content: center;
align-items: center;
z-index: 3;
}

.hex-wrap .label svg, .hex-wrap .label img {
height: 75px;
width: 75px;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}

.hexagon {
width: 300px;
height: 150px;
margin: 15px 0 0 -75px;
overflow: hidden;
visibility: hidden;
-webkit-transform: rotate(120deg);
-moz-transform: rotate(120deg);
-ms-transform: rotate(120deg);
-o-transform: rotate(120deg);
transform: rotate(90deg);
cursor: pointer;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}

.hex-inner-1 {
overflow: hidden;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transform: rotate(-60deg);
-moz-transform: rotate(-60deg);
-ms-transform: rotate(-60deg);
-o-transform: rotate(-60deg);
transform: rotate(-60deg);
}

.hex-inner-2 {
position: relative;
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-position: 50%;
/* background-image: url(http://placekitten.com/240/240); */
visibility: visible;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transform: rotate(-60deg);
-moz-transform: rotate(-60deg);
-ms-transform: rotate(-60deg);
-o-transform: rotate(-60deg);
transform: rotate(-60deg);
overflow: hidden;
}


.hex-inner-2::before, .hex-inner-2::after {
position: absolute;
background-repeat: no-repeat;
background-position: 50%;
background-size: contain;
top: 0;
left: 0;
height: 110%;
width: 110%;
content: "";
-webkit-transform: rotate(30deg);
transform: rotate(30deg);
}

/**********************************************************************************
                                Hex Hover Area
**********************************************************************************/
.hex-init {
position: absolute;
top: 46px;
left: 0px;
height: 46%;
width: 100%;
z-index: 9;
transform: rotate(-60deg);
cursor: pointer;
}

.hex-init::after {
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
content: "";
transform: rotate(-60deg);
}

.hex-init::before {
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
content: "";
transform: rotate(60deg);
}
