:root {
	--mainColor:#15202B;
	    --secondaryColor:#192734;
	--borderColor:#164D56;
	--mainText:#fff;
	--secondaryText:#eeeeee;
	--previewBackgroundg:rgb(25, 39, 52, 0.8);
	--previewShadow:#111921;
    --anchorColor: white;
    --hoverColor: #17a2b8;
    --btnColor: white;
    --btnText: black;
}

html, body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: var(--mainColor);
}

h1, h2, h3, h4, h5, h6, strong {
    color: var(--mainText);
    font-family: 'Russo One', sans-serif;
    font-weight: 500;
}

p, li, span, label, input, textarea {
    color: var(--secondaryText);
    font-family: 'Roboto Mono', monospace;
}   

a{
    text-decoration: none;
    color: var(--anchorColor);
}

a:hover {
    color: var(--hoverColor);
}

ul {
    list-style: none;
}


h1 {font-size: 56px;}
h2 {font-size: 36px;}
h3 {font-size: 28px;}
h4 {font-size: 24px;}
h5 {font-size: 20px;}
h6 {font-size: 16px;}




.s1 {
    background-color: var(--mainColor);
    overflow: auto;
    margin-bottom: 80px;
}

.main-container {
    width: 1200px;
    margin: 0 auto;
}

.title-wrapper {
    display: grid;
    text-align: center;
    align-content: center;
    min-height: 10em;

}

.git {
    color: #c9510c;
}

.linkedin {
    color: #0077b5;
}

.cv {
    color: #ff0000;
}




#technologies {
    margin: 0;
    padding-right: 10px;
    text-align: center;
}

#technologies li {
    display: inline-block;
    margin: 20px 30px 0px 0px;
    border: 2px solid var(--mainText);
    padding: 10px;
    border-radius: 10px 10px;
}



.intro-wrapper {
    background-color: var(--secondaryColor);
    border: 1px solid var(--borderColor);
    border-radius: 10px 10px 10px 10px;
    -webkit-box-shadow: -1px -1px 5px 1px rgba(0,0,0,0.6);
	-moz-box-shadow: -1px -1px 5px 1px rgba(0,0,0,0.6);
    box-shadow: -1px -1px 5px 1px rgba(0,0,0,0.6);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        'nav-wrapper nav-wrapper'
        'left-column right-column'
        'theme-selector theme-selector'
    ;
}

.nav-wrapper {
    grid-area: nav-wrapper;
    border-bottom: 1px solid var(--borderColor);
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--mainColor);
}

.dots-wrapper {
    display: flex;
    padding: 10px;
}

#navigation {
    margin: 0;
    padding-right: 10px;
}

#navigation li {
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;  
}

.react {
    background: rgb(0, 216, 255, 0.8);
}

.material-ui {
    background: rgb(0, 164, 228, 0.8);
}

.api {
    background: rgb(255, 76, 76, 0.8);
}

.bootstrap {
    background: rgb( 96, 44, 80,  0.8);
}

.node {
    background: rgb(61, 135, 58, 0.8);
}

.express {
    background: rgb(0, 0, 0, 0.8);
}


.browser-dot {
    background-color: black;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    margin: 5px;
    -webkit-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
	-moz-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
    box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
}

#dot-red{
	background-color:  #FC6058;
}

#dot-orange{
	background-color:  #FEC02F;
}

#dot-green{
	background-color:  #2ACA3E;
}

.left-column {
    grid-area: left-column;
    display: grid;
    height: 400px;
	align-content: center;
    padding-top: 10px;
    padding-left: 110px;
    padding-bottom: 50px;   
}

.right-column {
    text-align: center;
    padding-top: 150px;
}

#preview-shadow{
	background-color: var(--previewShadow);
	max-width: 300px;
	height: 180px;
	padding-left: 30px;
	padding-top: 30px;
}

#preview{
	width: 300px;
	border:1.5px solid #17a2b8;
	background-color: var(--previewBackground);
	padding:15px;
	position: relative;
}

.corner{
	width:7px;
	height: 7px;
	border-radius: 50%;
	border:1.5px solid #17a2b8;
	background-color: #fff;
	position: absolute;
}

#corner-tl{
	top:-5px;
	left: -5px
}

#corner-tr{
	top:-5px;
	right: -5px
}


#corner-br{
	bottom:-5px;
	right: -5px
}


#corner-bl{
	bottom:-5px;
	left: -5px
}

#links li {
    display: inline-block;
    margin-right: 70px;
    margin-left: 10px;

}

.portfolio-wrapper {
    max-width: 1200px;
    margin: auto;
    overflow: auto;
    padding: 0 2rem;
}

.theme-selector {
    grid-area: theme-selector;
    margin: auto;
    text-align: center;
    margin: 10px;
    padding: 20px;
    display: inline-block;
}


.image {
    width: 95%;
    grid-area: image;
    margin: 20px;
}
  
.description {
    grid-area: description;
    padding: 20px;

}

.video {
    width: 500px;
    height: 300px;
}

.card {
    margin-bottom: 5rem;
    background-color: var(--secondaryColor);
    border: 1px solid var(--borderColor);
    border-radius: 10px 10px 10px 10px;
    -webkit-box-shadow: -1px -1px 5px 1px rgba(0,0,0,0.6);
	-moz-box-shadow: -1px -1px 5px 1px rgba(0,0,0,0.6);
    box-shadow: -1px -1px 5px 1px rgba(0,0,0,0.6);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        'nav-wrapper nav-wrapper'
        'image description'
    ;
}

.card img {
    max-width: 100%;
    height: auto;
    padding: 5px;
}
  
.btn {
    display: inline-block;
    background: var(--btnColor);
    color: var(--btnText);
    padding: 0.8rem 1.8rem;
    margin-top: 2rem;
    margin-right: 3rem;
    margin-bottom: 2rem;
    border-radius: 5px 5px;
    font-family: 'Roboto Mono', monospace;
}

.btn-dark {
    display: inline-block;
    background: #000;
    border-radius: 5px 5px;
    color: #fff;
    padding: 0.8rem 1.8rem;
    font-family: 'Roboto Mono', monospace;
    margin-top: 2rem;
}

.btn-light {
    display: inline-block;
    background: white;
    border-radius: 5px 5px;
    color: black;
    font-family: 'Roboto Mono', monospace;
    padding: 0.8rem 1.8rem;
    margin-top: 2rem;
}
  
.btn:hover {
    opacity: 0.8;
}

.s2{
	background-color: var(--secondaryColor);
	border-bottom:1px solid var(--borderColor);
	overflow:auto;
}

#contact-form{
	display: block;
	max-width: 600px;
	margin: 0 auto;
	border: 1px solid var(--borderColor);
	padding: 15px;
	border-radius: 5px;
	background-color: var(--mainColor);
	margin-bottom: 50px;

}

#contact-form label{
	line-height: 2.7em;
}

#contact-form textarea{
	min-height: 100px;
	font-size: 14px;
}


.input-field{
	width: 100%;
	padding-top: 10px;
	padding-bottom:10px; 
	background-color: var(--secondaryColor);
	border-radius: 5px;
	border:1px solid var(--borderColor);
	font-size: 14px;
}


#submit-btn{
	margin-top: 10px;
	width: 100%;
	padding-top: 10px;
	padding-bottom:10px; 
	color: white;
	background-color: black;
	border:none;
}



.card:nth-child(even) img {
    order: 2;
}

@media(max-width:600px) {
    .card {
        display: block;
    }
    .image {
        margin: 0px;
    }
    .video {
        width: 300px;
        height: 270px;
    }
}



  
@media screen and (max-width: 1200px){
	.main-container{
		width: 95%;
	}
}

@media screen and (max-width: 800px){
	.intro-wrapper{
		grid-template-columns: 1fr;
		grid-template-areas: 
			'nav-wrapper'
			'left-column'
            'right-column'
            'theme-selector'
		;
	}

	.left-column{
        justify-content: center;
        padding-left: 0px;
    }
    .right-column{
        padding-top: 20px;
    }

}

@media screen and (max-width: 400px){
	#preview-shadow{
		max-width: 280px;
		height: 180px;
		padding-left: 10px;
		padding-top: 10px;
	}

	#preview{
		width: 280px;
	}

}

