@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Raleway&display=swap');

h1, h2, h3, h4, h5, h6 {
    font-family: josefin sans, sans-serif;
    font-weight: 500;
    line-height: normal;
    padding: 0px;
}



a {
    font-family: Raleway, sans-serif;
}

a:link {
    text-decoration: none;
    color: #98aad9;
}

a:visited {
    text-decoration: none;
    color: #ec2753;
}


p, td, div {
    font-family: Raleway, sans-serif;
    }

img {
    width: 100%;
    height: auto;
}

body { 
    background-color: white;
}

@media (prefers-color-scheme: dark) {
    body { 
        background-color: black;
        color: white;
    }
}




table, th, td {
    padding: 5px;
    table-layout: fixed;
}

th {
    font-size: large;
    font-family: Raleway, sans-serif;
    font-weight: 500;
    padding: 20px;
}

.textdiv {
    padding: 40px;
    text-align: center;
    margin-left: 20%;
    margin-right: 20%;
}

@media (max-width: 1400px) {
    .textdiv {
        padding: 40px;
        text-align: center;
        margin-left: 20px;
        margin-right: 20px;
    }

    .textdiv h1 {
        font-size: 18px;
    }

    .textdiv h2 {
        font-size: 16px;
    }

    .textdiv p {
        font-size: 12px;
    }
}


.content {
    margin-top: 15vh;
}

/* Styling for Homepage */
    .homepage {
         
        height: 100%; 
        overflow: hidden;
    }

    .title {
        position: absolute;
        display: block;
        top: 22vh;
        left: 15vw;
        width: 70vw;
    }

   /* @media (max-width: 768px) {
        .title {
            display: none;
        }
    } */

    .bottomleft {
      position: absolute;
        bottom: 0;
        left: 0;
        width: 40vmin;
        transform: translate(0px, 1vh);
        z-index: -1;        
    }

    .bottomright {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 60vmin;
        transform: translate(0px, 1vh);    
        z-index: -1;  
    }

/*Projects Page*/

    .row {
        padding: 30px;
    }
    .column {
        margin-left: 15vw;
        float: left;
        width: 30vw;
    }

    .videostyle {
        width: 560px;
        height: 316px;
      }

      .column h3 {
        font-size: 25px;
      }

      .column p {
        font-size: 18px;
      }


    @media (max-width: 1400px) {
        .column {
            width: 80vw;
            margin-left: auto;
        }

        .column p {
            font-size: 14px;
        }

       .videocontainer {
            position: relative;
            overflow: hidden;
            width: 100%;
            padding-top: 56.25%; 
          }
    
          .videostyle {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 100%;
          } 
    }



      
      /* Clear floats after the columns */
      .row:after {
        content: "";
        display: table;
        clear: both;
      }




/*About Page*/

/*Contact Page*/

    .contactcontent {
        margin-top: 15vh;
    }

    .contacttable {
        margin-left: auto;
        margin-right: auto;
    }

    .contacttable img {
        width: 50px;
    }

    #contact {
        font-size: 25px;
    }

    @media (max-width: 768px) {
        .contactcontent {
            margin-top: 5vh;
        }

        .contacttable img {
            width: 20px;
        }

        .contacttable {
            padding-top: 2px;
            margin: 0px;
        }
    }

/* General Top Navigation Bar Code*/
    
    .topnav {
        overflow: hidden;
        float: right;
        margin: 4vw 0px;
    }
    
    /* Style the links inside the navigation bar */
    .topnav a {
        font-family: josefin sans, sans-serif;
        color: #f82852;
        text-align: center;
        padding: 0px 2vw;
        text-decoration: none;
        font-size: 30px;
        font-weight: 300;
        transition-property: color;
        transition-duration: 0.3s;
    }

    .overlay { 
        display: block;
    }

    /* Change the color of links on hover */
    .topnav a:hover {
        color: #bccbf2;
    }

    

    @media (max-width: 768px) {
        .topnav {
            position: relative;
            top: 25%; /* 25% from the top */
            width: 100%; /* 100% width */
            text-align: center; /* Centered text/links */
            margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
        }

        .topnav a {
            font-family: josefin sans, sans-serif;
            float: none;
            color: #ec2753;
            text-align: center;
            margin: 4vw 0px;
            padding: 8px;
            text-decoration: none;
            font-size: 30px;
            font-weight: 300;
            text-decoration: none;
            display: block; /* Display block instead of inline */
            transition-property: color;
            transition-duration: 0.3s; /* Transition effects on hover (color) */
        }

        .overlay {
            /* Height & width depends on how you want to reveal the overlay (see JS below) */   
            display: none;
            height: 100%;
            width: 100%;
            position: fixed; /* Stay in place */
            z-index: 1; /* Sit on top */
            left: 0;
            top: 0;
            background-color: rgb(188, 203, 242); /* Black fallback color */
            background-color: rgba(188, 203, 242, 0.95); /* Black w/opacity */
            overflow-x: hidden; /* Disable horizontal scroll */
            transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
          }

          .topnav a:hover {
            color: #f82852;
        }
    }

    /* Burger */
    
    @media screen and (min-width: 768px){
        .bar1, .bar2, .bar3 {
            display: none;
        }
    }


    
    .burger {
        display: inline-block;
        cursor: pointer;
        position: absolute;
        top: 3vh;
        right: 3vh;
        z-index: 2;
      }
      
      .bar1, .bar2, .bar3 {
        width: 35px;
        height: 5px;
        margin: 6px 0;
        transition-property: transform;
        transition-duration: 0.4s;
      }

      .bar1, .bar3 {
        background-color: #f82852;
      }
      
      .bar2 {
        background-color: #bccbf2;
      }
      

      /* Rotate first bar */
      .change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
        transform: rotate(-45deg) translate(-9px, 6px) ;
      }
      
      /* Fade out the second bar */
      .change .bar2 {
        opacity: 0;
      }
      
      /* Rotate last bar */
      .change .bar3 {
        -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
        transform: rotate(45deg) translate(-8px, -8px) ;
      }





    /* logo */
    #logo{ 
        position: absolute;
        float: left; 
        margin: 20px 50px;
        width: 12vw;
    } 


