/* GDES306 | MMDD253 - Coding Your Portfolio     */
/* Extra small devices (phones, less than 600px) */
/* No media query since this is the default CSS */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
    font-family: 'black_jackregular';
    src: url('blackjack-webfont.eot');
    src: url('blackjack-webfont.eot?#iefix') format('embedded-opentype'),
         url('blackjack-webfont.woff2') format('woff2'),
         url('blackjack-webfont.woff') format('woff'),
         url('blackjack-webfont.ttf') format('truetype'),
         url('blackjack-webfont.svg#black_jackregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
                
    :root {
        /* These are global variables that you can use in your CSS */
        --black:black;
        --dark-grey:#333;
        --mid-grey:#939393;
        --light-grey:#9999991f;
        --white:white;
        --accent-colour:#472e6a;
        --headline-font: "Jost", sans-serif;
        --subheading-font:'MyWebFont', 'black_jackregular', sans-serif;
        --body-font: "Jost", sans-serif;
                                                
        --horizontal-shift:6px;
        --section-padding-top:50px;
    }
        * {
            margin: 0;
            padding: 0;
            transition: 0.5s;
            
        }

        html{
        scroll-behavior: smooth;  
        }
        body {
        font-family: var(--body-font);      
        }
        h1, h2, h3, h5, h6 {
        font-family: var(--headline-font);
        }
        h1 {
        font-size: calc(30px + (72 - 40) * (100vw - 400px) / (1800 - 400));
        margin-bottom: 3rem;
        }
        h2 {
        font-size: calc(26px + (48 - 32) * (100vw - 400px) / (1800 - 400));
        margin-bottom: 1.5rem;
        }
        h3 {
        font-size: calc(20px + (28 - 20) * (100vw - 400px) / (1800 - 400));
        }
        h4{
           font-size: calc(18px + (26 - 20) * (100vw - 400px) / (1800 - 400));
        }
        p {
        font-size: calc(16px + (20 - 16) * (100vw - 400px) / (1800 - 400));
        margin-bottom:2rem;
        }
        a {
        font-size: calc(16px + (20 - 16) * (100vw - 400px) / (1800 - 400));
        text-decoration: none;
        color: var(--white);
        
       }
       a:visited {
        color: var(--white);
       }
       .btn {
        background-color: #472e6a5d;
        border: solid 1px var(--white);
        color: var(--white);
        padding: 15px 32px;
        text-align: center;
        text-decoration: none;
        border-radius: 20px;
        display: inline-block;
        font-size: calc(16px + (20 - 16) * (100vw - 400px) / (1800 - 400));
        margin-top: 34px;
        width: fit-content;
       }
       .btn:hover {
        background-color: var(--accent-colour);
        color: var(--black);
        padding-left: calc(32px + var(--horizontal-shift));
       }
       .btn:visited {
        color: var(--white);
        }
       .btn:hover:visited {
        color: var(--white);
       }

       /* Styling the Navigation */
        header {
        position: fixed;
        width: 100%;
        z-index: 10;
        }
        nav {
        overflow: hidden;
        background-color: #472e6a96;  
        height: 80px;
             
        }
        .navexpanded {
        height: 300px;
        }
        nav ul {
            display: flex;
            list-style-type: none;
            flex-wrap: wrap;
            text-align: center;
        }
        nav ul > li {
            margin-top: 14px;
            flex-basis: 100%;
            
                          
        }
        nav ul li a {
            text-decoration: none;
            margin: 20px;
        }
        nav ul li a:hover {
            text-decoration: none;
            /*font-size:  calc(18px + (20 - 16) * (100vw - 400px) / (1800 - 400))
            padding: 10px;*/
            
        }
        #logo {
            margin-right: auto;
            margin-left: 3.5%;
        }
        #logo img {
            height: 3.2rem;           
            width: auto;
        }
        #menu-icon {
        margin-left: auto;
        flex-basis: 50%;
        text-align: right;
        font-size: 50px;
        margin-top: 0px;
        position: absolute;
        }
        #logo a:hover,
        #menu-icon a:hover {
        background:none;
        }
        #menu-icon,
        #close-icon {
        margin-left: auto;
        text-align: left;
        font-size: 50px;
        margin-top: 0px;
        
        }
        #close-icon {
        display:none;
        }
        .navexpanded #close-icon {
        display:inline-block;
        }
        .navexpanded #menu-icon {
        display:none;
        }
        #logo a:hover,
        #menu-icon a:hover,
        #close-icon a:hover {
        background: none;
        }

        /* Styling for the Sections */
        section {
        display: grid;
        padding-top: var(--section-padding-top);
        grid-template-columns: 20% 1fr 20%;
        height: fit-content;
        padding-bottom: 3%;
           
        }
        section > *{
        grid-column: 2;
        }
        
        /* Styling for the Introduction */
        #introduction {
        align-content: center;
        position: relative; 
        width: 100%;
        color: var(--white);
        display: flex;
        align-items: center;
        z-index: 2;
        flex-wrap: wrap;
        }
        #introduction2{
        color: var(--white);
        display: flex;
        flex-wrap: wrap;
        position: relative;
        padding-top: 3.4%;
       
       
        }
        picture{
        flex: 100%; 
        display: flex;
        justify-content: center;
        align-items: center;
        
        }
        picture img {
            width: 100%;
            height: auto;
            max-height: 700px;
            object-fit: cover; 
            
          }

        
        #MyVideo{
        position: absolute;
        top:0;
        width: 100%;
        height: 92%;
        margin: 0;
        object-fit: cover;
        }
      
    
        .text{
        position: relative;
        padding: 100px;
        max-width: 40%;
        z-index: 3;
        }
        .text2{
        position:absolute;
        padding: 100px;
        z-index: 3;
        max-width: 30%;
        margin-bottom: 80%;
        margin-top: 5%;

        }
        .text2 h5{
            font-weight: 400;
        }
        .tools{
        display: inline-block;
        margin-right: 8px;
        margin-bottom: 13px;
        padding: 3px 13px;
        border: 1px solid #fff;
        border-radius: 200px;
        opacity: 0.7;
        transition: opacity 250ms ease;
        color: #fff;
        font-size: 16px;
        font-weight: 400;
        }
        .social li a{
        list-style: none;
        color: var(--white);
        display: flex;
        }
        span.moments{
        font-family: var(--subheading-font);
        line-height: 1.2;
        }
        /* Scale all images to their parent container */
        img{
            width:100%;
        }

        .two-columns {
        display: grid;
        grid-template-columns:1fr 1fr;
        grid-gap:2rem;
        
        
        }
        .featured {
        grid-column: 1/-1; 
        }

        /* Styling for the Portfolio Section */
        #portfolio h2{
        margin-left:7%
        }
        #portfolio a:hover h3,
        #portfolio a:hover p {
        padding-left:var(--horizontal-shift);
        }
        .two-columns-fixed {
        display: grid;
        grid-template-columns:1fr 1fr;
        grid-gap:2rem;
        margin-bottom:2rem;
        }
        .three-columns-fixed {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        margin-left: 7%;
        margin-right: 7%;
        grid-gap: 0.5rem;
        flex-direction: column;
        margin-bottom:0.7rem;                 
        }
        .three-columns-fixed img{
            border-radius: 16px;                 
            }
            .flexitem {
                position: relative;
              }
              
              .flexitem a {
                display: block;
                position: relative;
                text-decoration: none;
              }
              
              .flexitem a::before {
                content: "";
                transition: .2s ease-in;
                display: block;
                top: 0;
                left: 0;
                width: 100%;
                height: 77%;
                background: linear-gradient(0deg, rgba(101, 42, 129, 0.8926164215686274) 0%, rgba(0, 212, 255, 0) 100%);
                border-radius: 12px;
                position: absolute;
                opacity: 0;
                z-index: 1;
              }
              
              .flexitem:hover a::before {
                opacity: 1;
              }
              
              .flexitem img {
                display: block;
                border-radius: 12px;
                width: 100%;
                position: relative;
                z-index: 0;
              }
              
              .detail-text {
                position: relative;
                z-index: 2;
                color: var(--black);
                text-align: start;
              }
        
        
       
          /* Styling Quote section */
        .quote {
        color: #472e6a;
        background-color:var(--light-grey);
        text-align: center;
        font-size: 0.5rem;
        height: auto;
        padding-right: 15%;
        padding-left: 15%;
        padding-bottom: 3%;
        
        }
        
        .quote img{
        height: 58px;
        flex-shrink: 0;    
        align-items: center;
        padding-bottom: 2%;
        }
        
        /* Styling for the About */
        #about h3, p {
        margin-left: 0%;
        
        }
        #about li{
        font-size: 1.2rem;
        }
        #about .intro-paragraph {
            font-size: calc(20px + (20 - 18) * (100vw - 400px) / (1800 - 400));
            grid-column: 1/-1;
            color: var(--black);
            }
        #about .second-paragraph{
            font-size: calc(16px + (20 - 16) * (100vw - 400px) / (1800 - 400));
            grid-column: 1/-1;
            color: var(--black);
            }
        
           
        .intro-image{
            margin-bottom: 1.2%;
        }    
      
        
        .item-parallax{
        background-image: url('../images/Doubleexposure_Angie_Big.png');
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover; 
        flex: 1; 
        height: 100%; 
        min-height: 500px; 
        position: relative;        
        }
        .item3-parallax{
            background-image: url('../images/TTC-Mockup_3.webp');
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover; 
            flex: 1; 
            min-height: 500px; 
            position: relative;        
            }
       
       
        .skills ul {
        list-style: none;
        }
/*Styling colour palettes*/
.colour-palettes{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border: solid 3px black;
  border-radius: 12px;
  width: 100%;
  grid-gap: 10px; 
  text-align: right;
}

.colour-palettes >div:nth-child(1){
    background-color: #343434;
    color: var(--white);
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 15px;
    
   
}
.colour-palettes >div:nth-child(2){
    background-color: #ed1c24;
    color: var(--white);
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 15px;
      
    
}
.colour-palettes >div:nth-child(3){
    background-color: #fff;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 15px;
}
.colour-palettes >div:nth-child(4){
    background-color: #000;
    color: var(--white);
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 15px;
    
}
.signature{
    position: relative;
    color: white;
    font-family: var(--subheading-font);
    z-index: 4;
}
      

        
        

        /* Styling the Contact section */
        #contact {
            min-height:auto;
            text-align: center;
            
            }
            #contact ul {
            display: flex;
            list-style-type: none;
            position: absolute;
            margin-bottom: 1.2rem;
            flex-direction: column;
            align-self: center;
            left:8%
            }
            #contact ul li a {
            text-decoration: none;
            color: var(--mid-grey);
            margin: 0 30px 0 0;
            font-size: 30px;
            }
            #contact ul li a:hover {
            text-decoration: none;
            color: #8e59d7;
            }
            #contact h2,p{
                margin-left: 0;
            }
            #contact .btn{
            display: block;
            margin: auto;
            margin-bottom: 5%;
            background-color: #ffffff00;
            color: #FFF;
            }
            #contact .btn:hover{
            color:var(--white);
            background:var(--accent-colour);
            }

            /* Styling to invert the colour scheme. Add this class to a section */
            .inverted-colours {
            background:var(--black);
            color:var(--white);
            }
            .inverted-colours a {
            color:var(--white);
            }
            .inverted-colours a:visited {
            color:var(--white);
            }
            .inverted-colours .btn {
            color:var(--black);
            background:var(--white);
            }
            .inverted-colours .btn:hover {
            color:var(--white);
            background:var(--accent-colour);
            }
        #copyright{
            font-size: 0.8rem;
            justify-content: right;
        }
    /*Styling next projects */
    #view-projects{
        background-color: var(--light-grey);
        list-style: none;
        grid-template-columns: 12% 1fr 12%;
        
    }

    #view-projects p{
        text-align: center;
        color: var(--dark-grey);
        
    }

    .next-project a{
        display: flex;
        justify-content: flex-end;
        color: var(--black);
        letter-spacing: 1.5px;
    
    }
    .next-project a:hover{
    
        color: var(--accent-colour);
        font-size: calc(18px + (20 - 16) * (100vw - 400px) / (1800 - 400));
    }
    .previous-project a{
        display: flex;
        justify-content: flex-start;
        color: var(--black);
        letter-spacing: 1.5px;
    
    }
    .previous-project a:hover{
    
        color: var(--accent-colour);
        font-size: calc(18px + (20 - 16) * (100vw - 400px) / (1800 - 400));
    }

    .figma-embed{ 
        height:65vh; 
        display:flex;
        justify-content: center;

     }
     .figma-text{
        text-align: center;
     }

     @media (max-width:599px){  
        .three-columns-fixed{
            grid-template-columns: 1fr;
        }
        .two-columns-fixed{
            grid-template-columns: 1fr;
        }
        .item-parallax{
            background-image: url(../images/Double-Exposure_Mobile.webp);
            background-attachment: fixed;
            background-repeat: no-repeat;
            height: auto;
        }
        #introduction2{
            padding-top: 21%;
            position: relative;
            display: flex;
            flex-wrap: wrap;

        }
        .text2{
            max-width: 100%;
            padding: 45px;
            margin-top: 0%;
        }
        .tools{
            font-size: 12px;
        }
        .colour-palettes{
            grid-template-columns: 1fr 1fr;
            
        }
        .figma-embed {
            height: 65vh;
            display: flex;
            width: 200px;
            margin-bottom: 3%;
            justify-content: center;
            align-content: center;
        }
        #contact ul {
        display: flex;
        position: relative;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
       
        }
        #contact ul a {
            font-size: 35px;
           
            }
        #view-projects {
            grid-template-columns: 5% 1fr 5%;
        
    }

    }
/* Small devices (i.e. tablets in portrait) */

@media (min-width:600px){  
       
        nav {
        height: 80px;
        }
        .navexpanded {
        height: 300px;
        }
        .navexpanded #close-icon {
        display:none;
        }
        nav ul {
        flex-direction: row;
        
        }
        nav ul > li {
        flex-basis: auto;
        }
        #logo {
        flex-basis: auto;
        }
        #menu-icon {
        display: none;
        }
        section {
            grid-template-columns: 10% 1fr 11%;
        } 
        #introduction2 {
            padding-top:11%;
        }
        .text2{
            max-width: 100%;
            margin-top: 0.5%;
            padding: 60px;
        }
        .two-columns-fixed{
            grid-template-columns: 1fr 1fr;
        }
        .two-columns{
            grid-template-columns: 1fr 1fr;
        }
        
       
        .featured{
            grid-column: 1/-1;
        }
        .three-columns-fixed{
            grid-template-columns: 1fr 1fr 1fr;
        }
        #about h3{ 
            margin: 0;
        }
        .item2-parallax{
            background-image: url('../images/Double_Exposure_Small.png');

        }
        /* Styling for the Portfolio Section */
        #portfolio ul{
            list-style: none;
        }
        #portfolio a:hover h3,
        #portfolio a:hover p {
        padding-left:var(--horizontal-shift);
        }
        #view-projects {
            grid-template-columns: 8% 1fr 8%;
        }
    }

/* Medium devices (i.e. tablets in landscape */
@media (min-width: 900px) {
    #introduction2{
        color: var(--white);
        display: flex;
        flex-wrap: wrap;
        position: relative;
        padding-top: 4.4%;
        
    }
   
    .text2{
        padding: 100px;
        z-index: 3;
        max-width: 30%;
        margin-top: 2%;
        

    }
    #view-projects {
        grid-template-columns: 10% 1fr 10%;
}
}

/* Large devices (i.e. desktop) */
@media (min-width: 1200px) {
    #introduction2{
        color: var(--white);
        display: flex;
        flex-wrap: wrap;
        position: relative;
        padding-top: 4.4%;
        
    }
   
    .text2{
        padding: 100px;
        z-index: 3;
        max-width: 30%;
        margin-top: 2%;
        

    }
    #view-projects {
        grid-template-columns: 10% 1fr 10%;
}
}
/* X-Large devices (i.e. big desktop) */
@media (min-width: 1921px) { 


    h1 {
        font-size: calc(40px + (72 - 40) * (100vw - 400px) / (1800 - 400));
        margin-bottom: 3rem;
        }
        h2 {
        font-size: calc(30px + (48 - 32) * (100vw - 400px) / (1800 - 400));
        margin-bottom: 1.5rem;
        }
        h3 {
        font-size: calc(22px + (28 - 20) * (100vw - 400px) / (1800 - 400));
        }
        h4{
           font-size: calc(20px + (26 - 20) * (100vw - 400px) / (1800 - 400));
        }
        h5{
            font-size: calc(16px + (26 - 20) * (100vw - 400px) / (1800 - 400));
        }
        p {
        font-size: calc(24px + (20 - 16) * (100vw - 400px) / (1800 - 400));
        margin-bottom:2rem;
        }
        a {
        font-size: calc(20px + (20 - 16) * (100vw - 400px) / (1800 - 400));
        text-decoration: none;
        color: var(--white);
        }
        #introduction2{
            padding-top: 3%;
        }
        picture img{
            max-height: 900px;
        }
        .tools{
            font-size: 22px;
        }
        #about .intro-paragraph{
        font-size: calc(24px + (24 - 18) * (100vw - 400px) / (1800 - 400));
        }
}