@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #081b29;
    color: #ededed;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    position: relative;
    font-size: 25px;
    color: #ededed;
    text-decoration:  none;
    font-weight: 600;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

.navbar a {
    font-size: 18px;
    color: #ededed;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;

}

.navbar a:hover,
.navbar a.active {
    color: #00abf0;

}

.home {
    height: 100vh;
    background: url('images/Personal_Death_trooper_white_arnold_back.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.home-content {
    max-width: 700px;
}

.home-content h1 {
    position: relative;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

.home-content h1::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content h3 {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: #00abf0;
}

.home-content h3::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1.3s;
}

.home-content p {
    position: relative;
    font-size: 16px;
    margin: 20px 0 40px;
}

.home-content p::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1.6s;
}

.home-content .btn-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50px;
}

.home-content .btn-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1.9s;
    z-index: 2;
}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: #00abf0;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 19px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;

}

.btn-box a:hover{
    color: #00abf0;
}

.btn-box a:nth-child(2){
    background: transparent;
    color: #00abf0;
}

.btn-box a:nth-child(2):hover{
    color: #081b29;
}

.btn-box a:nth-child(2)::before{
    background: #00abf0;
}


.btn-box a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #081b29;
    z-index: -1;
    transition: .5s;
}

.btn-box a:hover::before {
    width: 100%;

}

.home-sci {
    position: absolute;
    bottom: 40px;
    width: 170px;
    display: flex;
    justify-content: space-between;

}

.home-sci::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 2.5s;
    z-index: 2;
}

.home-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 50%;
    font-size: 20px;
    color: #00abf0;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.home-sci a:hover {
    color: #081b29
}

.home-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #00abf0;
    z-index: -1;
    transition: .5s;    

}

.home-sci a:hover::before {
    width: 100%;
}
/*
.home-imgHover{
    position: absolute;
    top: 0;
    right: 0px;
    width: 600px;
    height: 100%;
    background: transparent;
    transition: 3s;
}

.home-imgHover:hover{
    background: #081b29;
    opacity: .8;
}

.home-imgHover::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 3s;
    z-index: 2;
}
*/
/* KEYVRAMES ANIMATION */
@keyframes showRight {
    100%{
        width: 0;
    }

}
/*--------------about me section--------*/
.about {
    height: 100vh;
    background: url('images/Personal_Death_trooper_wood_arnold_back.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.about-content {
    max-width: 700px;
}

.aboutme-content h1 {
    position: relative;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

.aboutme-content h3 {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: #00abf0;
}

.aboutme-content p {
    position: relative;
    font-size: 16px;
    margin: 20px 0 40px;
}

.portfolio {
    background: #081b29;
    /*
    background-size: cover;
    align-items: center;
    
    background: #081b29;;
    height: 100vh;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%
    */
}

/*
.portfolio-content {
    height: 100%;
    width: 100%;
    margin-top: 10px;
    margin-left: 10px;
    align-items: center;
    background-color: #333;
    overflow-x: hidden;
    overflow-y: scroll; 
    white-space: normal;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    content: center;
    align-content: center;
}
*/

div.scroll-container img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
	transition: all 200ms ease-in;
	/***rounded corners***/
    border-radius: 0.5rem;
	/*Change Cursor on hover*/
    cursor: pointer;
	/*hide border overflow*/
    overflow: hidden;
	/*height: 100%;
    
    display: flex;
    max-width: 100%; 
    padding-top: 10px;
    height: auto;
    width: auto\9;
    content: center;
    align-content: center;
    */
}

.scroll-container {
    align-content: center;
    --gap: 16px;
    --num-cols: 3;
    --row-height: 500px;

    box-sizing: border-box;
    padding: var(--gap);

    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    grid-auto-rows: auto;
    gap: var(--gap);

    /*
    width: 100%;
    height: 1024px;
    */
}

div.scroll-container2 img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
	transition: all 200ms ease-in;
	/***rounded corners***/
    border-radius: 0.5rem;
	/*Change Cursor on hover*/
    cursor: pointer;
	/*hide border overflow*/
    overflow: hidden;
	/*height: 100%;
    display: flex;
    max-width: 100%; 
    padding-top: 10px;
    height: auto;
    width: auto\9;
    content: center;
    align-content: center;
    */
}

.scroll-container2 {
    align-content: center;
    --gap: 16px;
    --num-cols: 3;
    --row-height: 500px;

    box-sizing: border-box;
    padding: var(--gap);

    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    grid-auto-rows: auto;
    gap: var(--gap);


    /*
    width: 100%;
    height: 1024px;
    */
}

/*for scale_hover*/
.scroll-container img:hover {
    transform: scale(1.03);
}

/*for scale_hover*/
.scroll-container2 img:hover {
    transform: scale(1.03);
}

/*
.Tech-Art {
	--gap: 16px;
	gap: var(--gap);
    padding: var(--gap);
}
*/

/*--------lower spacer and nav bar -------*/
.lower-spacer {
    height: 300px;
    width: 100%;
    background: #081b29;;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}
.lower-div{
    max-width: 700px;
    
}
.lower-sci {
    position: relative;
    bottom: 40px;
    width: 170px;
    display: flex;
    justify-content: space-between;

}

.lower-sci::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 2.5s;
    z-index: 2;
}

.lower-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 50%;
    font-size: 20px;
    color: #00abf0;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.lower-sci a:hover {
    color: #081b29;
}

.lower-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #00abf0;
    z-index: -1;
    transition: .5s;    

}

.lower-sci a:hover::before {
    width: 100%;
}
@keyframes showRight {
    100%{
        width: 0;
    }
}

.lowerBanner{
    height: 300px;
    background: url('images/lower_banner_web.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}


.lowernavbar {
    --gap: 1rem;
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    padding: 40px;
}

.lowernavbar a {
    font-size: 18px;
    color: #ededed;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;

}

.lowernavbar a:hover,
.lowernavbar a.active {
    color: #00abf0;
}
/*--------lower spacer and nav bar------*/

/*--------------css for small screens--------*/
@media only screen and (max-width: 1080px) {
    .home{
        background-image: url(images/Personal_Death_trooper_white_arnold_back_port.jpg);
    }
    .about{
        background-image: url(images/Personal_Death_trooper_wood_arnold_back_port.jpg);
    }

    div.scroll-container img {
        object-fit: scale-down;

    }
	
	.scroll-container{
        --num-cols: 1;
        --row-height: 500px;
		grid-auto-rows: auto;
    }

	div.scroll-container2 img {
        object-fit: scale-down;

    }
	
	.scroll-container2{
        --num-cols: 1;
        --row-height: 500px;
		grid-auto-rows: auto;
    }

}
    



/*--------------Death Trooper Breakdown page--------*/
.dt_breakdown {
    background: #081b29;
    position: relative;
    top: 16px;
}

.dt_body_breakdown {
	background: #081b29;
    align-content: center;
    --gap: 16px;
    gap: var(--gap);
    padding: var(--gap);
    box-sizing: border-box;
    display: grid;
	margin-top: 100px;

}

.dt_body_breakdown img{
    width: 100%;
    height: 100%;
    object-fit: fill;    

}

/*--------------Robot_arm Breakdown page--------*/
.ra_breakdown {
    background: #081b29;
    position: relative;
    top: 16px;
}

.ra_body_breakdown {
	background: #081b29;
    align-content: center;
    --gap: 16px;
    gap: var(--gap);
    padding: var(--gap);
    box-sizing: border-box;
    display: grid;
	margin-top: 100px;
}

.ra_body_breakdown img{
    width: 100%;
    height: 100%;
    object-fit: fill;
}


