/**
 * Resets
 */


  * {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

::-moz-selection {
	background-color: #f5ffd9;
	color: #fff;
}

::selection {
	background-color: #f5ffd9;
	color: #fff;
}

:focus {
	outline: 0;
}

customhtml > * {
	position: relative;
    z-index: 10;
}

/**
 * Global
 */

body,
html {
	min-height: 100vh;
    overflow-x: hidden;
  
}

html {
	position: relative;
}

body {
	background: #fff;
	color: #000;
}

a:active {
	opacity: 0.7;
}

/**
 * Backdrop
 */

#backdrop {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	max-width: 100%;
    max-height: 410px;
    overflow: hidden;
	z-index: 1;
    background-image: url('https://github.com/lkezen/portfolio/blob/main/header.jpg?raw=true');
}


/**
 * Container
 */

main {
	background: #fff;
	clear: both;
	overflow: hidden;
    
	max-width: 100%;
    max-height: 100%;
	z-index: 0;

	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;

	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;
}

main > div {
	-moz-flex: 1 0 auto;
	-webkit-flex: 1 0 auto;
	flex: 1 0 auto;
	width: 100%;
}


.subpage_overlay {
	display: block;
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

body.homepage .subpage_overlay {
	display: none;
}



/**
 * Content
 */

h5 {
  color: #e94a67;
  background-color: #f6ff86;
  display: inline;
  padding: 0.2rem 0.5rem;
}


i, em {
	font-style: italic;
}

b, strong {
	font-weight: bold;
}

ul, ol {
	margin: 0;
	padding: 0 0 0 0;
}

sup {
	top: -0.4em;
	vertical-align: baseline;
	position: relative;
}

sub {
	top: 0.3em;
	vertical-align: baseline;
	position: relative;
}




img {
	border: 0;
	padding: 0;
}

blockquote {
	margin: 0;
	padding: 0 0 0 0;
}

hr {
	background: rgba(127, 127, 127, 0.2);
	border: 0;
	display: block;
}

.bodycopy {
	display: none;
}

.container {
	max-height: 100%;
}

.content img {
	float: none;

}



.loading[data-loading] {
	display: none;
	position: fixed;
	top: 8px; left: 8px;
	z-index: 100;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Define 4 columns */
  gap: 20px;
  padding: 30px;

}

.portfolio-item {
  overflow: hidden;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  transition: transform 0.5s;
}

.portfolio-item img:hover {
  transform: scale(1.05);
  
}


.social-links {
  display: flex; /* Align items in a row */
  padding-top: 5px;
  padding-bottom: 5px;
  align-items: center;
}

.social-links img {
  max-width: 1.5em;
  transition: transform 0.05s;
}

.social-links img:hover {
  transform: scale(1.05); /* Scale effect on hover */
}


@media (min-width: 769px) {
    small {
	font-size: 1rem;
	line-height: 0.5;
}
    
    main {
    margin-top: 410px;
  }
    .image-profile {
    max-width: 20%;
}
   
    
    .image-link {
    max-height: 100%;
}
    h2{
	padding-bottom: 1rem;
}
    
  .name img{
  padding-bottom: 1.6rem;
  max-width: 25vw; /* Limit container size to 35% of viewport width */
    }
    
    
    .portfolio-grid {
   padding-right:15rem;
   padding-left:15rem;
}
  
    h1 {
  padding-left: 15rem;
  padding-right: 15rem;
  padding-bottom: 4rem;
  font-size: 1.4rem;
  line-height: 1.8;
}
    
    h3 {
	padding-top: 6rem;
    padding-bottom: 2rem;
    font-size: 2rem;
}
    
    h5 {
    font-size: 1.5rem;
	line-height: 1.3;  
}
    

    h6 {
	font-size: 1.5rem;
	line-height: 1.3;
    padding-left: 40rem;
    padding-right: 40rem;
}
   
    
    
}

@media (max-width: 768px) {
  main {
    margin-top: 0;
  }
    
   
    
}

@media (max-width: 768px) {
  #backdrop {
    display: none; /* Hide backdrop on tablet and smaller screens */
  }
  
  /* Add new image specifically for mobile */
 
    
    main a{
	font-size: 1.2rem;
	font-weight: 700;
	color: rgba(185, 180, 0, 1);
	font-family: Nitti, Social /*!Persona*/;
	font-style: normal;
	line-height: 1.2;
}
    

    h2 {
	font-size: 1.5rem;
    padding-bottom: 0.2rem;   
}
    
     h5 {
	font-size: 0.7rem;
    padding-bottom: 0.2rem;   
}
    
     h6 {
	font-size: 1rem;
  
}
    
    small {
	font-size: 0.8rem;
	line-height: 1.2;
}
    
    small a {
    font-size: 0.8rem;
	color: rgba(0, 0, 0, 0.4);
	border-bottom-width: 0.07em;
}
    
    
}





/* For even smaller screens (mobile) */
@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr; /* 1 column on very small screens */
  }
    
    .image-link {
    max-height: 100%;
}
    
    .image-profile {
    width:50%;
}
    
      .name img {
  padding-bottom: 1.2rem;
    width: 85%;
}
    
     h2 {
	font-size: 1.3rem;
}
    
        main a{
	font-size: 1rem;
	font-weight: 700;
	color: rgba(185, 180, 0, 1);
	font-family: Nitti, Social /*!Persona*/;
	font-style: normal;
	line-height: 1.2;
}
    
    small a {
    font-size: 0.7rem;
	color: rgba(0, 0, 0, 0.4);
	border-bottom-width: 0.07em;
}
    
    h1 {
  font-size: 0.7rem;
  line-height: 1.4;
  padding-right:1.3rem;
  padding-bottom: 1.5rem;
}

    h3 {
	padding-top: 2rem;
    padding-bottom: 1rem;
    font-size: 0.3rem;
}
    
}




[data-css-presets="true"] main {
	background-color: rgb(255, 255, 255) /*!content_center*/;
	text-align: center /*!text_center*/;
	min-height: 100vh /*!content_stretch*/;
	-webkit-align-items: flex-start /*!vertical_top*/;
	align-items: flex-start /*!vertical_top*/;
	margin-left: auto/*!content_center*/;
	margin-right: auto /*!content_center*/;
	right: 0 /*!content_center*/;
	left: 0 /*!content_center*/;
}

[data-css-presets="true"] .content_padded {
	padding: 0rem/*!main_margin*/;
}



[data-css-presets="true"] #backdrop {
	width: 100% /*!background_cover*/;
}

[data-predefined-style="true"] main {
	font-size: 1.7rem;
	font-weight: 700;
	color: rgba(185, 180, 0, 1);
	font-family: Nitti, Social /*!Persona*/;
	font-style: normal;
	line-height: 1.2;
}

[data-predefined-style="true"] main a {
    color: rgba(180, 175, 0, 1);
    border-bottom: 0em solid rgba(127, 127, 127, 0.2);
    text-decoration: none;
}


/* Style for the linkedin & mail */
.image-link {
    
  display: inline-block;
  overflow: hidden;  
}


.image-link:hover img {

  height:100%;
  transform: scale(1.05);
  transition: transform 0.7s ease-in-out;
 
}

/* Exclude hover effect for specific image links */
.image-link.no-hover:hover img {
  transform: none;
  transition: none;
}



/* Style for the text link */
.text-link1:hover {
  color: rgba(234, 255, 115, 1);
  background-color: rgba(239, 14, 106, 1);
  opacity: 0.9;
  transition: 0.2s ease-in-out;
}

.text-link2:hover {
  color: rgba(255, 255, 255, 1);
  background-color: rgba(239, 14, 106, 1);
  opacity: 0.9;
  transition: 0.2s ease-in-out;
}

.text-link3:hover {
  color: rgba(239, 14, 106, 1);
  background-color: rgba(234, 255, 115, 1);
  opacity: 0.9;
  transition: 0.2s ease-in-out;
}

.text-link4:hover {
  color: rgba(239, 14, 106, 1);
  background-color: rgba(234, 255, 115, 1);
  opacity: 0.9;
  transition: 0.2s ease-in-out;
}

.name {
  display: flex;
  justify-content: center; /* Horizontally center */
  align-items: center;     /* Vertically center */
  padding-top: 2rem;
  margin: 0 auto; /* Optional: center the container itself if it's a block element */
}



[data-predefined-style="true"] h1 {
	font-family: "MVB Solitaire", Social/*!Persona*/;
	font-style: normal;
	font-weight: 400;
	margin: 0;
	color: rgba(112, 112, 112, 0.85);
	text-rendering: optimizeLegibility;
}

[data-predefined-style="true"] h1 a {
	color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] h2 {
	font-family: Nitti, Social /*!Persona*/;
	font-style: normal;
	font-weight: 700;
	margin: 0;
	color: rgba(253, 54, 100, 1);
	line-height: 0.8;
	text-rendering: optimizeLegibility;
}

[data-predefined-style="true"] h3 {
	font-family: Nitti, Social /*!Persona*/;
	font-style: normal;
	font-weight: 500;
	margin: 0;
	color: rgba(253, 54, 100, 1);
	line-height: 0.8;
	text-rendering: optimizeLegibility;
}

[data-predefined-style="true"] h3 a {
	color: rgba(253, 54, 100, 1);
}

[data-predefined-style="true"] h4 {
	font-family: Nitti, Social /*!Persona*/;
	font-style: normal;
	font-weight: 500;
	margin: 0;
	color: rgba(100, 100, 100, 0.85);
	text-rendering: optimizeLegibility;
}

[data-predefined-style="true"] h6 {
	font-family: Nitti, Social /*!Persona*/;
	font-style: normal;
	font-weight: 500;
	margin: 0;
	color: rgba(100, 100, 100, 0.85);
	text-rendering: optimizeLegibility;
}

[data-predefined-style="true"] h4 a {
	color: rgba(138, 138, 138, 0.85);
}

[data-predefined-style="true"] h2 a {
	color: transparent;
}

[data-predefined-style="true"] small {
    display: inline-block;
	font-family: "MVB Solitaire", Social/*!Persona*/;
	font-style: normal;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.4);
}

[data-predefined-style="true"] small a {
	color: rgba(0, 0, 0, 0.4);
	border-bottom-width: 0.07em;
}


[data-css-presets="true"] .subpage_overlay {
	background-color: transparent/*!subpage_overlay*/;
}
/**
 * Backstage Icon
 */

#backstage_icon {
	display: block;
}

/**
 * Breakpoints
 */

[data-css-presets="true"].mobile #backdrop,
.mobile #backdrop {
  max-height: 000px; /* Set maximum height for backdrop */
}





