﻿:root {
    --primary-color: white;
    --secondary-color:#9395D3;
    --bg-color: #B3B7EE;
    --accent-color: #000807;
    --primary-font: 'Roboto';
}

html{
    scroll-behavior:smooth;
}

/* BORDER */
body::before {
    content: '';
    position: fixed;
    inset:0;
    box-sizing: border-box;
    border: 4vh solid lightgrey;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 98;
    transition: inset 0.6s ease, opacity 0.4s ease;
}

body.scrolled::before {
    inset: 4vh;
    opacity: 1;
}


/* SCROLLBAR */
::-webkit-scrollbar {
    width: 12px; 
    height: 12px; 
    padding:0;
}

::-webkit-scrollbar-thumb {
    background: #888; 
    width:12px;
    border: 3px solid #fff; 
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

/* For cross-browser compatibility, add support for Firefox */
.scrollbar {
    scrollbar-width: thin; 
    scrollbar-color: #888 #f1f1f1; 
}

/*HEADER NAV*/
.header {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 0;
    color: var(--accent-color);
    font-family: var(--primary-font);
    font-size: 23px;
    z-index: 200;
    width: 93%;
    justify-content: space-between;
    height: 4vh;
}

ul {
    margin: 0;
    align-content: center;
}

li {
    list-style: none;
    display: inline;
}

.links {
    align-content: center;
    display: flex;
    flex-direction: row;
}

/*FOOTER*/

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    color: var(--accent-color);
    font-family: var(--primary-font);
    font-size: 20px;
    z-index: 200;
    width: 100%;
    height: 4vh;
    flex-wrap: nowrap;
}

.footer p {
    display: inline-block;
    padding: 0 12px;
 }

/*CONTENT*/
body {
    display:flex;
    margin: 0 auto;
    align-content:center;
    justify-content:center;
    height: 100vh;
    background-color: var(--bg-color);
    overflow: hidden; /* Ensure no scrolling affects the viewport */
    font-family: var(--primary-font);
}

    /*HERO SECTION*/

#hero {
    width: 100%;
    min-height: 92vh;
    background-image: url("./media/photos/Richmond-comp/final_render_plants_9.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#hero-img{
    border-radius:50%;
    border: medium solid var(--secondary-color);
}

#title {
    width: 100%;
    min-height: 92vh;
    background-color: rgba(35, 25, 50, 0.85);
}


.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.see-more{
    align-content:center;
}
.arrow{
    max-height:10vh;
    align-self:center;
    align-content:center;
}
    /*MAIN CONTENT*/



.main {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    margin: 4vh;
    overflow-y: scroll;
    color: var(--primary-color);
    width: 100%;
    overflow-x:hidden;
}

h3 {
    color: var(--secondary-color);
}

    h3:after {
    }

p {
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--accent-color);
}

    a:hover {
        color: var(--secondary-color);
    }

    a:active {
        color: grey;
    }


    /*MAIN CONTAINERS*/

.container-small {
    width: 35vw;
    margin: 0 0;
    align-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}
.break{
    min-height:6vh;
    background-color: var(--secondary-color);
}
    /*SHAPE DIVIDERS*/

.triangle {
    fill: var(--bg-color);
    top:0;
    margin-top:0;
}
.triangle2 {
    fill: var(--secondary-color);
    top: 0;
    margin-top: 0;
    margin-bottom: -30px;
    z-index:30;
}
.row{
    display:flex;
    flex-direction:row;
    justify-content:center;
    width:100%;
}

.portfolio-links{
    height: 50vh;
    width:100%;
    align-items:center;
    display:flex;
    flex-direction:row;
    background-position:center;
    background-size:cover;
    
}
.portfolio-links a{
    font-size:35px;
    width:100%;
    text-align:center;
    justify-items:center;
    height:100%;
    align-content:center;
  
}

.portfolio-links a:hover {
    background-color: var(--secondary-color);
}

.portfolio-links a:active{
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}
.portfolio-preview{
    background-size:cover;
    background-position:center;
    align-content:center;

}

/*PORTFOLIO PAGE*/
.tabs {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    min-height: 27px;
    background-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
}
.tab {
    height: 100%;
    width: 50%;
    align-content:center;
    text-align:center;
    color: var(--bg-color);
}

.tab:hover {
    cursor:pointer;
    background-color:darkgoldenrod;
    
}

.tab:active{
    background-color: var(--primary-color);
}

.current {
    background-color: darkgoldenrod;
    color: var(--primary-color);
}
.works{
    width:60%;
    align-self:center;
    display:none;
}

.portfolio_items {
    
    display: flex;
    justify-content:center;
    flex-direction: row;
    min-width:100%;
}

.col{
    display:flex;
    flex-direction:column;
    max-width:100%;
    min-width:50%;
   
    align-items:center;
}

.portfolio_content {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    background-color: var(--secondary-color);
    text-align: center;
    border-radius: 15px;
    max-width:100%;
    margin-bottom: 50px;
    margin:10px;
    
}