/* Globals */

    :root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #888888;
    --text-primary: #000000;
    --secondary: #c90000;
    --success: #00ff40;
    --info: #e54901a8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;

    --background-image-gradient: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%,rgba(0, 0, 0, 0.25) 100%);
    --background-image-hover-gradient: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, 0.25) 100%);
    --background-image-url: url(/images/placeholderimage.jpg);


    }

    @font-face 
    {
        font-family: Focus;
        src: url("/fonts/Focus-Regular.ttf");
    
    }

   

    html
    {
    
        scroll-behavior: smooth;
    }

    body
    {
        font-family: Focus, Arial, Helvetica, sans-serif;
        scroll-behavior: smooth;
        display: grid;
        grid-template-rows: 1fr auto; /* 1fr = take remaining space, auto = fit footer height */
        min-height: 100vh;
    }

    .bg-image
    {
        position:fixed;
        z-index: -100;
        height: 100vh;
        width: 100vw;
        background-size:cover;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #808080;
    }

    a.anchor {
        display: block;
        position: relative;
        top: -66px;
        visibility: hidden;
    }


    .sectionanimation
    {
        visibility: hidden;

        animation-name: slide;
        animation-duration: 1s;
        animation-fill-mode: forwards;

        -webkit-animation-name: slide;
        -webkit-animation-duration: 1s;
        -webkit-animation-fill-mode: forwards;
    }


    @keyframes slide
    {
        0%
        {
            visibility: visible;
            opacity: 0;
            transform: translateX(-75px);
        }
        100%
        {
            visibility: visible;
            opacity: 100;
            transform: translateX(0);
        }
    }

    @-webkit-keyframes slide
    {
        0%
        {
            visibility: visible;
            opacity: 0;
            transform: translateX(-75px);
        }
        100%
        {
            visibility: visible;
            opacity: 100;
            transform: translateX(0);
        }
    }

    .headeranimation
    {
        visibility: hidden;

        animation-name: appear;
        animation-duration: 1s;
        animation-fill-mode: forwards;

        -webkit-animation-name: appear;
        -webkit-animation-duration: 1s;
        -webkit-animation-fill-mode: forwards;
    }

    @keyframes appear
    {
        0%
        {
            visibility: visible;
            opacity: 0;
            transform: scale(0.8);
        }
        100%
        {
            visibility: visible;
            opacity: 100;
            transform: scale(1);
        }
    }

    @-webkit-keyframes appear
    {
        0%
        {
            visibility: visible;
            opacity: 0;
            transform: scale(0.8);
        }
        100%
        {
            visibility: visible;
            opacity: 100;
            transform: scale(1);
        }
    }

    .landinganimation
    {
        visibility: hidden;

        animation-name: landing;
        animation-duration: 1s;
        animation-fill-mode: forwards;

        -webkit-animation-name: landing;
        -webkit-animation-duration: 1s;
        -webkit-animation-fill-mode: forwards;
    }

    @keyframes landing
    {
        0%
        {
            visibility: visible;
            opacity: 0;
            transform: scale(1.25);
        }
        100%
        {
            visibility: visible;
            opacity: 100;
            transform: scale(1);
        }
    }

    @-webkit-keyframes landing
    {
        0%
        {
            visibility: visible;
            opacity: 0;
            transform: scale(1.25);
        }
        100%
        {
            visibility: visible;
            opacity: 100;
            transform: scale(1);
        }
    }

    .homebanneranimation
    {
        animation-name: zoomin;
        animation-timing-function: linear;
        animation-duration: 6s;
        animation-fill-mode: forwards;
        backface-visibility: hidden; /* add to fix webkit bug jitter */
        transform: perspective(1000px); /* add to fix webkit bug jitter */
      

        -webkit-animation-name: zoomin;
        -webkit-animation-timing-function: linear;
        -webkit-animation-duration: 6s;
        -webkit-animation-fill-mode: forwards;
        -webkit-backface-visibility: hidden; /* add to fix webkit bug jitter */
        -webkit-transform: perspective(1000px); /* add to fix webkit bug jitter */
      
    }

    @keyframes zoomin
    {
        0%
        {
            opacity: 0%;
            background-size: 100%;
        }
        10%
        {
            opacity: 100%;
        }

        90%
        {
            opacity: 100%;
        }
        100%
        {
            opacity: 0%;
            background-size: 120%
        }
    }

    @-webkit-keyframes zoomin
    {
        0%
        {
            opacity: 0%;
            background-size: 100%
        }
        10%
        {
            opacity: 100%;
        }

        90%
        {
            opacity: 100%;
        }
        100%
        {
            opacity: 0%;
            background-size: 120%
        }
    }

    .portfoliobanneranimation
    {
        animation-name: zoominout;
        animation-timing-function: linear;
        animation-duration: 20s;
        animation-fill-mode: forwards;
        animation-iteration-count: infinite;
        backface-visibility: hidden; /* add to fix webkit bug jitter */
        transform: perspective(1000px); /* add to fix webkit bug jitter */
      

        -webkit-animation-name: zoominout;
        -webkit-animation-timing-function: linear;
        -webkit-animation-duration: 20s;
        -webkit-animation-fill-mode: forwards;
        -webkit-animation-iteration-count: infinite;
        -webkit-backface-visibility: hidden; /* add to fix webkit bug jitter */
        -webkit-transform: perspective(1000px); /* add to fix webkit bug jitter */
      

    }

    @keyframes zoominout
    {
        0%
        {
            background-size: 100%
        }
        50%
        {
            background-size: 150%

        }
        100%
        {
            background-size: 100%
        }
    }

    @-webkit-keyframes zoominout
    {
        0%
        {
            background-size: 100%
        }
        50%
        {
            background-size: 150%

        }
        100%
        {
            background-size: 100%
        }
    }
       
        
    @media screen and (max-width: 1152px)
    {
        h1 
        {
            font-size: 10vw;
        }

        .navbar-nav
        {
            display: none;
        }

        #menutoggler
        {
            display: flex !important;
        }
        .divider 
        {
            height: 2px;
            width: 100% !important;
            background: #000000;
            margin: 5px;
            list-style: none;
          }

    }
    @media screen and (max-width: 576px)
    {
        h1 
        {
            font-size: 12vw;
        }
        h2 
        {
            font-size: 2.25rem;
            letter-spacing: 0px;
        }
        p1
        {
            font-size: 1.15rem;
            font-weight: 400;
            color: var(--text-primary);
        }
        p2
        {
            font-size: 1.15rem;
            font-weight: 400;
            color: var(--text-primary);
        }
        p3
        {
            font-size: 1rem;
            font-weight: 400;
            color: var(--text-primary);
        }
        
        
        .landing-button
        {
            bottom: 10%;
        }

        .homebanneranimation
        {
            animation-name: zoominsmall;
            animation-timing-function: linear;
            animation-duration: 6s;
            animation-fill-mode: forwards;
            backface-visibility: hidden; /* add to fix webkit bug jitter */
            transform: perspective(1000px); /* add to fix webkit bug jitter */
          
    
            -webkit-animation-name: zoominsmall;
            -webkit-animation-timing-function: linear;
            -webkit-animation-duration: 6s;
            -webkit-animation-fill-mode: forwards;
            -webkit-backface-visibility: hidden; /* add to fix webkit bug jitter */
            -webkit-transform: perspective(1000px); /* add to fix webkit bug jitter */
          
        }
    
        @keyframes zoominsmall
        {
            0%
            {
                opacity: 0%;
                background-size: 200%;
            }
            10%
            {
                opacity: 100%;
            }
    
            90%
            {
                opacity: 100%;
            }
            100%
            {
                opacity: 0%;
                background-size: 250%
            }
        }
    
        @-webkit-keyframes zoominsmall
        {
            0%
            {
                opacity: 0%;
                background-size: 200%
            }
            10%
            {
                opacity: 100%;
            }
    
            90%
            {
                opacity: 100%;
            }
            100%
            {
                opacity: 0%;
                background-size: 250%
            }
        }

        .portfoliobanneranimation
        {
            animation-name: zoominoutsmall;
            animation-timing-function: linear;
            animation-duration: 20s;
            animation-fill-mode: forwards;
            animation-iteration-count: infinite;
            backface-visibility: hidden; /* add to fix webkit bug jitter */
            transform: perspective(1000px); /* add to fix webkit bug jitter */
          
    
            -webkit-animation-name: zoominoutsmall;
            -webkit-animation-timing-function: linear;
            -webkit-animation-duration: 20s;
            -webkit-animation-fill-mode: forwards;
            animation-iteration-count: infinite;
            -webkit-backface-visibility: hidden; /* add to fix webkit bug jitter */
            -webkit-transform: perspective(1000px); /* add to fix webkit bug jitter */
          
    
        }
        @keyframes zoominoutsmall
        {
            0%
            {
                background-size: 100%
            }
            50%
            {
                background-size: 150%
    
            }
            100%
            {
                background-size: 100%
            }
        }
    
        @-webkit-keyframes zoominoutsmall
        {
            0%
            {
                background-size: 100%
            }
            50%
            {
                background-size: 150%
    
            }
            100%
            {
                background-size: 100%
            }
        }
    
    
    }

/* Forms */

    .form-control
    {
        color: #000000;
        font-weight: 600;
        background-color: #eeeeee;
        display: block;
        width: 100%;
        height: calc(1.5em + 0.75rem + 2px);
        padding: 0.375rem 0.75rem;
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.5;
        background-clip: padding-box;
        border: 1px solid var(--primary);
        border-radius: 0.25rem;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }   

    .form-check-label
    {
        padding-bottom: 5px;
    }

    .form-check {

        background-color: #eeeeee;
        position: relative;
        display: block;
        padding-left: 0rem;
        margin-left: auto;
        margin-right:auto;
      }

/* Info Boxes */

.info-box
{
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.651);
    border: 5px solid #ffffff;
    border-radius: 1rem;
    max-width: 100%;
    height: auto;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.644);
}



/* Profile Cards */

    .profile-pic
    {
        box-shadow: 0px 0px 10px #00000077;
        border: 7px solid #ffffff !important;
    }

/* NavBar */

#menutoggler
{
    display: none;
}


nav
{
    display: flex;
    width: 100%;
}

.navbar
{
    padding: 0.25rem;
}

.navbar-nav
{
    flex-flow: row nowrap;
    font-size: 1.15rem;
    width: auto;
}


.nav-header
{
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.nav-item
{
    text-align: center;
    line-height: 1;
    margin: 0.25rem !important;
}


#topbutton
{   
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 100;
    background-color:white; 
    border-radius: 100px;
    border-style: double;
    border-color: black;
    border-width: 5px;
}

#backbutton
{   
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 100;
    background-color:white; 
    border-radius: 100px;
    border-style: double;
    border-color: black;
    border-width: 5px;
}

.xbutton-container
{
    position: absolute;
    top: 10px;
    left: 205px;
}


/* Banners */

    .jumbotron 
    {
        background-size: cover;
        background-position: center;
        margin: 0;
        border-radius: 0px;
    }


    .sizeablebanner img
    {
        width: 100%;
        margin: 0px;
        padding: 0px;
    }

    .homebannertext {
        position: absolute;
        bottom: 8px;
        width: 100%;
        text-align: center;
      }

/* Carousel */

    .carousel-item
    {
        padding-bottom: 2rem;
        padding-left: 10%;
        padding-right: 10%;
    }


    .carousel-control-prev-icon 
    {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
    }

    .carousel-control-next-icon 
    {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
    }


/* Portfolio Cards */

    .portfolio-card
    {
        background-image: var(--background-image-gradient), var(--background-image-url); 
        background-position: center; 
        background-size: cover;
        height: 25rem;
        padding-bottom: 10rem;
        padding-top: 10rem;
        margin: .5rem;
        text-decoration: none;
        box-shadow: 0px 0px 15px #00000077;
        border: 7px solid #ffffff !important;
        border-radius: 10px;

    }

    .portfolio-photo-row
    {
        padding-top: 1rem;
        padding-bottom: 1rem;
        border-top: 0.75rem solid var(--secondary);
        border-bottom: 0.75rem solid var(--secondary);
        background-color: var(--primary) !important;
        /*background: linear-gradient(to bottom, #2f6832 ,#1d421f ) !important;*/
        background: linear-gradient(to bottom, #000 ,#003d66 ) !important;

    }

    .portfolio-photo
    {
        height: 25rem;
        box-shadow: 0px 0px 15px 1px #000000;
        border: 5px solid #ffffff !important;
        border-radius: 5px;
    }

    .bubble
    {
        border-radius: 0.5rem;
        box-shadow: 0px 0px 3px #00000077;
        border: thick double;
        background-color: white;

    }


/* Portfolio Modal */

  
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1800; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.726); /* Black w/ opacity */
  }
  
  /* Modal Image Content */
  .modal-img-content {
    max-width: 90vw;
    max-height: 90vh;
    height: auto;
    width: auto;
    margin: auto;
    display: block;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
  }
  
  /* Add Animation */
  @-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }
  
  @keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }
  
  /* The Close Button */
  .close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #c5c5c5;
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal-header {
    padding: 10px 16px;
    color: white;
    width: 100%;
  }
  
  .modal-body
  {
    overflow: auto;
  }
  
  .modal-body h2
  {
      letter-spacing: 0px;
      color: white;
  }
  .modal-body p2
  {
      color: white;
  }
  
  .modal-footer {
    height: 25px;
    background-color: #00326b52;
    color: white;
  }

  .divider {
    width: 2px;
    background: #000000;
    margin: 5px;
    list-style: none;
  }

    
.site-icon
{
    border-radius: 100%;
    border: 2px solid black;

}


