.homepage{
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url("bg.jpg");
    transform: translate3d(0px, 0px, 0px);
    height: 570px;
    padding-top: 70px;
    border-radius: 0 0 50% 50% / 20px;
    background-position: center;
    background-size: cover;
    -moz-box-shadow: 0 8px 8px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 8px 8px rgba(0, 0, 0, 0.4);
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.4);
    position: relative;
    float: top;
}
.left{
    float: left;
    width: 50%;
    background-color: transparent;
    position: relative;
    height: 95%;
    /*background-color: aquamarine;*/
}

.text_box{
    position: relative;
    margin-top: 15%;
    margin-left: 10%;
    color: white;
    font-family: "librebaskerville-bold","Times New Roman", Times, serif;
    letter-spacing: normal;
}

.text_box h1{
    font-size: 60px;
    margin: 10px 10px 10px 0px;
}

.text_box h2{
    font-size: 35px;
    margin: 10px 0px 10px 0px;
    font-style: bold;
}
.line {
    width: 20%;
    height: 0;
    border: 1px solid rgb(199, 60, 60);
    margin: 3px 3px 0px 0px; 
    display:inline-block;
}

.text_box h3{
    font-size: 24px;
    margin: 5px 5px 0px 0px;
}

.text_align{
    text-align: left;
}
.primary-underline{
    position: relative;
    display: inline-block;
    z-index:0;
}
.primary-underline:before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 5px;
    height: 0;
    border: 10px solid rgb(134, 40, 40);
    border-radius : 10px;
}

.margin-top{
    margin-top: -11%;
}

.button {
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 30px 15px 0px 0px;
    padding: 10px 15px;
    cursor: pointer;
    border: 3px solid white;
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;
    font-family: "Times New Roman", Times, serif;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.left_margin{
    margin: 30px 0px 0px 0px;
}
  
.button:hover {
    background-color: #862121;;
    border-color: #862121;;
    color: white;
}

.right{
    float: right;
    width: 50%;
    background-color: transparent;
    position: relative;
    height: 95%;
}

.image_class{
    float: left;
    margin: 8% 0px 0px 10%;
    position: relative;
    height: 80%;
}

.positions_only{
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.positions_only .fa {
    padding: 13px;
    font-size: 26px;
    width: 50px;
    height: 50px;
    text-align: center;
    text-decoration: none;
    margin-right: 10px;
    border-radius: 50%;
    position: relative;
}
  
.positions_only .fa-facebook {
    background: #3B5998;
    color: white;
}
  
.positions_only .fa-twitter {
    background: #55ACEE;
    color: white;
}
  
.positions_only .fa-linkedin {
    background: #007bb5;
    color: white;
}
  
.positions_only .fa-instagram {
    background: #125688;
    color: white;
}

.positions_only .fa .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -60px;
    font-size: medium;
}

.positions_only .fa .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}
  
.positions_only .fa:hover .tooltiptext {
    visibility: visible;
}

.body_page{
    margin-top: 90px;
}

.about_box{
    z-index: 10;
    margin: 30px 10% 0px 10%;
    background-color: transparent;
    box-shadow: rgb(0, 0, 0);
    padding: 20px;
    box-shadow: 2px 8px 8px 4px rgba(0, 0, 0, 0.2), 2px 6px 20px 4px rgba(0, 0, 0, 0.19);
    -moz-box-shadow: 2px 8px 8px 4px rgba(0, 0, 0, 0.2), 2px 6px 20px 4px rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 2px 8px 8px 4px rgba(0, 0, 0, 0.2), 2px 6px 20px 4px rgba(0, 0, 0, 0.19);
}

.body_left{
    float: left;
    background-color: transparent;
}

.body_right{
    float: right;
    background-color: transparent;
}

.box_height{
    height:auto;
    overflow: hidden;
    max-height: fit-content;
}

.box_height2{
    height:auto;
    overflow: hidden;
    max-height: fit-content;
}

.box_width{
    width: 50%;
}

.about_box_text{
    font-family: "Times New Roman", Times, serif, 'sans-serif';
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 15px;
    margin-right: 20px;
    color: var(--color-text);

}

.a_decorations{
    text-decoration: none;
    color: rgb(206, 79, 79);
    cursor: pointer;
}

@keyframes load{
    from {
      width: 0%
    }
}
@-webkit-keyframes load{
    from {
      width: 0%
    }
}
@-moz-keyframes load{
    from {
      width: 0%
    }
}
@-o-keyframes load{
    from {
      width: 0%
    }
}
    
.container2 {
    width: 100%;
    background-color: transparent;
    margin: 5px 5px 15px 5px;

}

#skills, #skill1, #skill2, #skill4, #skill5, #skill6{
    text-align: right;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 0px 20px 20px 0px;
    color: var(--color-text);
    background-color: rgb(199, 60, 60);
}

#skills.animateMe, #skill1.animateMe,#skill2.animateMe,
#skill4.animateMe, #skill5.animateMe,#skill6.animateMe{
    animation: load 2s 0s;
    -webkit-animation: load 2s 0s;
    -moz-animation: load 2s 0s;
    -o-animation: load 2s 0s;

}

.html {width: 98%;}
.css {width: 95%;}
.js {width: 85%;}
.html2 {width: 90%;}
.css2 {width: 90%;}
.js2 {width: 85%;}

.info_div_name {
    width:auto;
    height:auto;
    padding: 5px 0px 15px 0px;
    float:left;
    display: inline-block;
    color: var(--color-text);
}

.info_div_time {
    width:auto;
    height:auto;
    padding: 5px 0px 15px 0px;
    float:right;
    display: inline-block;
    color: var(--color-text);
}

.info_div_note {
    width:inherit;
    height:auto;
    position:static;
    margin: 0px 0px 0px 0px;
    background-color: rgba(199, 60, 60, 0.384);
    clear:both;
}

.download_button{
    text-align: left;
}

.download_button a{
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 0px 15px 10px 0px;
    font-size: 16px;
    padding: 10px 10px;
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;
    text-transform: uppercase;
    font-family: "Times New Roman", Times, serif, 'sans-serif';
    font-weight: normal;
}

.background_effect2{
    background-color: rgba(102, 101, 101, 0.5);
    color: var(--color-text);
}

.background_effect1{
    background-color: var(--color-text);
    color: var(--bg-text);
}

.background_effect2:hover, .background_effect1:hover{
    background-color: rgb(192, 50, 50);
}

.professional_skill{
    margin-top: 80px;
}

.professional_skill_h1{
    margin: 10px 10px 20px 10px;
    text-align: center;
    color: var(--color-text);
}

.box_padding{
    padding: 0px 15px 0px 15px;
}

.customers {
    color: var(--color-text);
    font-family: "Times New Roman", Times, serif, 'sans-serif', "Trebuchet MS", Arial, Helvetica;
    width: 100%;
    margin: 0px 0px 15px 0px;
}
  
.customers td, .customers th {
    padding: 4px 0px 4px 0px;
}

.portfolio_box{
    margin: 80px 0px 0px 0px;   
}

.center_align{
    text-align: center;
}

.center_align h2 {
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    display: inline-block;
    position: relative;
    text-align: center;
    color: var(--color-text);
    padding-bottom: 5px;
}

.center_align h2::before{
    content: "";
    position: absolute;
    width: 60%;
    height: 2px;
    bottom: 0;
    left: 20%;
    border-bottom: 2px solid rgb(255, 81, 81);
}
  
.center_align h2::after {
    transform: translate(-50%, 50%);
    border-radius: 100%;
    position: absolute;
    background: #b62a1e;
    bottom: 1px;
    height: 10px;
    content: '';
    width: 10px;
    left: 50%;
}

#gallary_container_1, #gallary_container_2, #gallary_container_3 {
    width: 80%;
    margin: 2rem auto; 
    display: block;
}
  
.gallery {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 5vw);
    grid-gap: 1.5rem; 
    box-shadow: black;
    -moz-box-shadow: black;
    -webkit-box-shadow: black;
}
  
.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block; 
}
  
.gallery__item--1 {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 5;
}
  
.gallery__item--2 {
    grid-column-start: 5;
    grid-column-end: 9;
    grid-row-start: 1;
    grid-row-end: 6;
}
  
.gallery__item--3 {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 5;
    grid-row-end: 9;
}
  
.gallery__item--4 {
    grid-column-start: 5;
    grid-column-end: 9;
    grid-row-start: 6;
    grid-row-end: 9;
}

.overlay_box {
    position: relative;
    height: 100%;
}
  
.overlay_effect {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 95%;
    width: 95%;
    opacity: 0;
    transition: .5s ease;
    background-color:  rgba(117, 28, 28, 0.8);
    transform:  translate(2.5%, 2.5%);
}
  
.overlay_box:hover .overlay_effect {
    opacity: 1;
    cursor: pointer;
}
  
.overlay_box_text {
    width: max-content;
    color: white;
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.product_details {
    color: black;
    letter-spacing: 1px;
    position: absolute;
    bottom: 0%;
    left: 0%;
    height: max-content;
    width: max-content;
    opacity: 1;
    padding: 5px 30px 5px 10px;
    transition: .5s ease;
    background-color: rgba(199, 60, 60, 0.95);;
    clip-path: polygon(0% 0%, 100% 0%, 90% 50%, 100% 100%, 0% 100%);
}

.product_details b{
    font-size: 24px;
}
.product_details p{
    font-size: 18px;
}

.icon_btn{
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 120px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0px 0px 8px rgba(134, 134, 134, 0.911);
    -moz-box-shadow: 0px 0px 8px rgba(134, 134, 134, 0.911);
    -webkit-box-shadow: 0px 0px 8px rgba(134, 134, 134, 0.911);
    border: none;
    transition: .4s;
    margin: 30px 20px 0px 0px;    
    filter: grayscale(100%);

}

.icon_btn:hover{
    cursor: pointer;
}

.icon_btn img{
    z-index: 50;
    width: 50px;
    height: 50px;
    position: relative;
    left: 0px;
    top: -9px;
}

#icon_btn_1{
    background: #FF5364;
}

#icon_btn_2{
    background: #6d6c6c;
}

#icon_btn_3{
    background: #6d6c6c;
}

.reference_box{
    height: max-content;
    width: 100%;
    padding-bottom: 5%;
    margin-top: 120px;
    /*background-color: rgba(236, 142, 79, 0.5);*/
    background-color: #3a404bb6;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url("bitmap2.png");
    background-position-x: right;
    background-repeat: no-repeat;
    background-blend-mode: hard-light;
    text-align: center;
}

.reference_box h2{
    padding-top: 50px;
    font-weight: bolder;
    font-size: 2.5em;
    color: var(--color-text);
    margin-bottom: 50px;
}

.reference{
    margin: auto;
    height: max-content;
    width: 80%;
    background-color: transparent;
    box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.connect_box{
    height: 412px;
    width: 100%;
    background-color: #3a404b;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url("final_image.jpg");
    background-position: left;
    background-size: contain;
    background-position-y: top;
    background-repeat: no-repeat;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    position: relative;
}

.form_center{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);	
}

.form_center h2{
    color: white;
    text-align: center;
    font-size: 30pt;
    position: absolute;
    top: -100px;
    left: 60px;
}

.form_center h2::before{
    content: "";
    position: absolute;
    width: 60%;
    height: 2px;
    bottom: 0;
    left: 20%;
    border-bottom: 2px solid rgb(255, 81, 81);
}
  
.form_center h2::after {
    transform: translate(-50%, 50%);
    border-radius: 100%;
    position: absolute;
    background: #b62a1e;
    bottom: 1px;
    height: 10px;
    content: '';
    width: 10px;
    left: 50%;
}

.subscribe_center {
	width: max-content;
	height: 50px;
	font-size: 14px;
	border: none;
	border-radius: 50px;
	overflow: hidden;
    padding: 4px;
    background-color: white;
}

#signup_email {
	font-size: inherit;
    width: 300px;
    height: 42px;
	padding: 10px;
	border: none;
}

.signup_error{
    display: none;
    color: red;
    z-index: 50;
    margin: 0 5%;
    position: relative;
    top: -25%;
}

#subscribe_btn{
    z-index: 50;
	font-size: inherit;
	float: right;
	padding: 10px;
    background-image: linear-gradient(rgba(199, 60, 60,1), rgba(199, 60, 60,1));
	border: 0;
    border-radius: 42px;
    height: 42px;
    width: 94px;
}

.footer_box{
    padding: 12% 0px 20px 0px;
}

@media (max-width: 767px){
    .right{
        display: none;
    }
    .left{
        width: 100%;
    }
    .fa{
        width: 20px;
        height: 20px;
        padding: 0px;
        font-size: 20px;
    }
    .positions_only .fa-facebook, .positions_only .fa-twitter, 
    .positions_only .fa-linkedin, .positions_only .fa-instagram {
        margin: 1px;
    }
    .positions_only{
        width: 70%;
        bottom: -50px;
		left: 55%;
    }
    .box_width{
        width: 100%;
    }
    .gallery{
        display: block;
    }
    .gallery__img{
        margin-bottom: 10px;
    }
    .connect_box{
        background-size: cover;
        background-position-y: top;
        background-repeat: no-repeat;
    }
    #signup_email {
        width: 200px;
    }
    .form_center{
        transform: translate(-50%, 80%);	
    }
    .form_center h2{
        font-size: 30pt;
        top: -230px;
        left: 8%;
    }
    .product_details{
        width: 80%;
        bottom: 10px;
    }
	.product_details b{
        font-size: 18px;
    }
    .reference{
        background-color: #3a404b8f;
    }
    .reference_box h2{
        padding-top: 5px;
        margin-bottom: 15px;
    }
}

@media (max-width: 1020px) and (min-width: 767px){
    .image_class{
        margin-left: 4%;
    }
    .box_width{
        width: 100%;
    }
    .connect_box{
        background-size: cover;
        background-position-y: top;
        background-repeat: no-repeat;
    }
    #signup_email {
        width: 250px;
    }
    .form_center{
        transform: translate(-20%, -50%);	
    }
	.product_details b{
        font-size: 20px;
    }

}

#experience_toggle {
    width: 100%;
    margin: 30px 0px 0px 0px;
  }
#education_toggle {
    display: none;
    width: 100%;
    margin: 30px 0px 0px 0px;
}

.education_box{
    margin-top: 80px;
    background-color: #3a404b;
    width: 100%;
    padding: 0px 0px 30px 0px;
}

.two_buttons{
    text-align: center;
}

.two_buttons .education_button{
    background-color: rgb(199, 60, 60);
    border: none;
    color: black;
    border-radius: 5px;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    font-size: 16px;
    margin: 20px 15px 5px 0px;
    cursor: pointer;
}

.timeline {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

#more {display: none;}
#more2 {display: none;}
#more3 {display: none;}
#more4 {display: none;}
#more5 {display: none;}

#moreBtn, #moreBtn2,#moreBtn3,#moreBtn4, #moreBtn5{
    cursor: pointer;
	margin: 5px 0px 0px 0px;
	padding: 5px 5px 5px 5px;
	border: none;
	border-radius: 5px;
    background-color: rgb(199, 60, 60);
}
  
  /* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}
  
  /* Container around content */
.container5 {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
  
  /* The circles on the timeline */
.container5::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid #FF9F55;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
  
  /* Place the container to the left */
.left5 {
    left: 0;
}
  
  /* Place the container to the right */
.right5 {
    left: 50%;
}
  
  /* Add arrows to the left container (pointing right) */
.left5::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}
  
  /* Add arrows to the right container (pointing left) */
.right5::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}
  
  /* Fix the circle for containers on the right side */
  .right5::after {
    left: -16px;
}
  
  /* The actual content */
.content5 {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
}
  
  /* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
    /* Place the timelime to the left */
    .timeline::after {
        left: 31px;
    }
    
    /* Full-width containers */
    .container5 {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    /* Make sure that all arrows are pointing leftwards */
    .container5::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
  
    /* Make sure all circles are at the same spot */
    .left5::after, .right5::after {
        left: 15px;
    }
    
    /* Make all right containers behave like the left ones */
    .right5 {
        left: 0%;
    }
}