@font-face {
    font-family: 'mont';
    src: url('fonts/Montserrat-VariableFont.woff2') format('woff2'),
         url('fonts/Montserrat-VariableFont.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'cursive';
    src: url('fonts/Playball-Regular.woff2') format('woff2'),
         url('fonts/Playball-Regular.woff') format('woff');
    font-display: swap;
}

html{
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}
*{
    margin: 0;
    padding: 0;
    font-family: 'mont', sans-serif;
    box-sizing: border-box;
}
body{
    background: #111111;
    color: #fff;
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}
#header{
    width: 100%;
    height: 100vh;
}
.videobackground{
    z-index: -100;
    aspect-ratio: 16 / 9;
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 177.77vh;
    min-height: 100vh;
    width: 100vw;
    height: 56.25vw;
    transform: translateX(-50%) translateY(-50%); /* Center the video */
    pointer-events: none;
    opacity: 0.5;
    overflow: hidden;
}
.container{
    padding: 30px 10%;
}
/*LOGO Pacement and Size*/
.logo {
    width: 150px;
    list-style-type: none;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 10%;
    z-index: 9999;
}
#blurbg1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    background-color: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.25);
    
    pointer-events: none;
}
#blurbg2 {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1; 

    background-color: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.25);
    
    pointer-events: none;
}
nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.buttons{
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: inherit;
}
.buttons img a::after{
    opacity: 1;
    transition: 0.3s;
}
.buttons img a:hover::after{
    opacity: 0.5;
}
.buttons img{
    width: 30px;
    height: 30px;
}
nav .buttons{
    display: none;
}


/*The Look of Buttons*/
.btn {
    background-color: transparent;
    background-image: none;
    text-decoration: none;
    border-style: solid;
    border-color: #fff;
    border-width: 1px;
    padding: 10px 30px;
    border-radius: 6px;
    display: inline-block;
    color: #fff;
    font-size: 14px;
    margin-top: 40px;
    font-weight: 500;
    cursor: pointer;
    font-weight: bold;
    transition: 0.5s;
}
.btn:hover{
    text-shadow: 0 0 10px #c2c2c2;
    scale: 1.1;
}


/*Top Bar Animation*/
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    text-shadow: 0 0 10px #111111;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #009708;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}

nav ul li a:hover::after{
    width: 100%;
}

.contactbtn {
    display: flex;
    text-decoration: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    scale: 1.3;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 900;
}
.contactbtn img{
    width: 10px;
}
.contactbtn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    filter: drop-shadow(0 0 10px rgb(12, 12, 12))
    drop-shadow(0 0 10px rgb(12, 12, 12))
    drop-shadow(0 0 10px rgb(12, 12, 12))
    drop-shadow(0 0 10px rgb(12, 12, 12));
}
.contactbtn:hover{
    transform: translateY(+5px) translateX(-50%);
}





/*---------Headers for Home section.-------------*/
.header-text{
    margin-top: 30%;
    font-size: 27px;
    text-align: right;
}
.header-text h1{
    font-size: 48px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.header-text h1 span{
    color: #00d10a;
    text-shadow: 0 0 20px #009708;
}
.header-text h2{
    font-family: 'cursive', sans-serif;
    margin-top: 5px;
    font-size: 36px;
}


/*-------------Copyright-----------------*/
#copyright {
    padding: 40px 10%;
    background-color: #222222;
    color: #c2c2c2;
    width: 100%;
    text-align: center;
}
.copyright-text h3{
    font-size: 12px;
    padding-top: 5px;
    font-style: italic;
    font-weight: normal;
}











/*------------------------------Portfolio-------------------------------*/
iframe {
    height: auto;
    box-shadow: 3px 3px 10px 3px rgba(0, 0, 0, 0.25);
}
.long{
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    width: 100%;
    transform: scale(1);
    transition: 0.5s ease-in-out;
}
.short{
    aspect-ratio: 9 / 16;
    border-radius: 15px;
    width: 100%;
    transform: scale(1);
    transition: 0.5s ease-in-out;
}
.short:hover,
.long:hover {
    transform: translateY(-5px);
}


#portfolio{
    text-align: center;
    padding: 80px 0;
    color: #fff;
    background-color: #111111;
    scroll-margin-top: 10px;
}
.port{
    padding: 0 10%;
}
.portborder {
    background-image: linear-gradient(135deg, #777, #333);
    border-color: #111111;
    border-radius: 15px;
    padding: 0px 30px 30px;
    box-shadow: 0 10px 15px 5px rgba(0, 0, 0, 0.75);
    margin: 25px 0 40px;
}
#portfolio .row{
    display: grid;
    padding-top: 15px;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
}
#portfolio .col {
    width: 100%;
    flex-basis: 31.5%;
    scale: 100%;
}
.comparison {
    text-align: left;
}

.portfolio-text p {
    font-size: 18px;
    font-weight: bold;
}
.portfolio-text h2{
    font-size: 54px;
    margin-bottom: 15px;
    text-shadow: 0 0 30px #c2c2c2;
}
.portfolio-text h3{
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
    margin-top: 5px;
    text-shadow: 1px 1px 3px #111111;
}
.portfolio-text h4 {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: normal;
}

/*-------------------------------About Me------------------------------*/

#about{
    padding: 60px 0;
    background-color: #0c0c0c;
    color: #fff;
    scroll-margin-top: 0px;
}
#about.blurred-overlay{
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
}
#about .row{
    display: grid;
    padding-top: 15px;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
}

.about-col-1 img{
    width: 100%;
    border-radius: 15px;
    max-width: 700px;
}

.about-col-1 h3{
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #c2c2c2;
    font-weight: normal;
}
.about-col-2 h2{
    font-size: 54px;
    margin-top: 10px;
    text-shadow: 0 0 30px #c2c2c2;
}
.about-col-2 h3{
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #c2c2c2;
    font-weight: normal;
}
.red {
    color: #fd1e1e;
    text-shadow: 0 0 10px #cf2929;
}
.green {
    color: #00d10a;
    text-shadow: 0 0 10px #009708;
}
.tab-titles {
    display: flex;
    margin-top: 15px;
    margin-bottom: 15px;
}
.line {
    width: 100%;
    padding-top: 2px;
    background-color: #009708;
}
.tab-links {
    background-image: nones;
    border-style: solid;
    border-color: #c2c2c2;
    border-width: 1px;
    padding: 10px 30px;
    border-radius: 6px;
    display: inline-block;
    color: #c2c2c2;
    font-size: 16px;
    margin-right: 14px;
    margin-left: 4px;
    font-weight: 500;
    cursor: pointer;
    font-weight: bold;
}
.tab-links.active-link {
    color: #fff;
    background-image: linear-gradient(135deg, #009708, #003503);
    border-width: 0px;
    text-shadow: 0 0 10px #c2c2c2;
    box-shadow: 0 3px 7px 3px rgba(0, 0, 0, 0.75);
}
.tab-contents ul li{
    list-style: none;
    font-size: 14px;
    margin: 10px 0;
}
.tab-contents ul li span{
    color: #00d10a;
    text-shadow: 0 0 10px #009708;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}



/*------------------------------Behind The Scenes-------------------------------*/
#behindthescenes{
    padding: 80px 0;
    background: #111111;
    text-align: center;
}
#behindthescenes .row{
    display: grid;
    padding-top: 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
}
#behindthescenes .row img{
    aspect-ratio: 2 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 3px 3px 10px 3px rgba(0, 0, 0, 0.25);
}








/*------------------------------Contact-------------------------------*/
#contact {
    padding: 80px 0;
    background: #0c0c0c;
    text-align: left;
}
#contact .row{
    display: grid;
    padding-top: 15px;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
}
.contact-left {
    flex-basis: 40%;
}
.contact-right {
    flex-basis: 50%;
}
.contact-right form{
    width: 100%;
}
form input, form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #5e5e5e;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}
form btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

.contact-left h2{
    font-size: 54px;
    text-shadow: 0 0 30px #c2c2c2;
}
.contact-left address{
    color: #c2c2c2;
    font-size: 14px;
    font-weight: normal;
    margin-top: 20px;
}


.social-icons {
    margin-top: 30px;
    list-style-type: none;
}
.social-icons a {
    margin-right: 15px;
    text-decoration: none;
    display: inline-block;
    transition: 0.5s;
}
.social-icons a:hover{
    transform: translateY(-5px);
}
.social-icons img{
    height: 30px;
}

.btn.btn2{
    display: inline-block;
    transform: translateY(-10px);
}
#keywords{
    background-color: #111111;
    padding-top: 100px;
}
.kwrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.keyword{
    background-color: #555;
    color: #c2c2c2;
    padding: 10px 10px;
    border-radius: 6px;
    font-family: 'raleway';
    font-size: 14px;
    white-space: nowrap;
}









@media only screen and (max-width: 800px) {
    nav .buttons{
        display: block;
    }
    nav ul{
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 80px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul .buttons{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    #blurbg2 {
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        z-index: 1;
        transition: right 0.5s;
    }


    .contactbtn{
        scale: 1;
        bottom: 37px;
    }
    .contactbtn img{
        width: 10px;
    }
    .keyword{
        font-size: 10px;
    }

    .header-text{
        margin-top: 100%;
        font-size: 18px;
    }
    .header-text h1{
        font-size: 30px;
        margin-top: 10px;
    }
    .header-text h2 {
        margin-top: 5px;
        font-size: 24px;
    }
    .copyright-text h2{
        font-size: 10px;
    }




    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-2 h2 {
        font-size: 42px;
    }
    .about-col-2 h3{
        font-size: 14px;
    }
    #behindthescenes .row{
        padding-top: 10px;
        gap: 10px;
    }

    .videobackground {
        aspect-ratio: 9 / 16;
    }
    .short {
        width: 65%;
    }

    
    .portborder{
        padding: 0px 10px 10px;
    }
    .port{
        padding: 0 5%;
    }
    .row {
        padding-top: 10px;
        grid-row-gap: 10px;
        grid-column-gap: 5px;
    }
    .portfolio-text p {
        font-size: 16px;
    }
    .portfolio-text h2 {
        font-size: 42px;
    }
    .portfolio-text h3 {
        font-size: 16px;
    }
    .portfolio-text h4 {
        font-size: 14px;
    }
    .col.active {
        transform: translateY(-20px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
        z-index: 10;
    }




    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    .contact-left h2{
        font-size: 42px;
    }


    .copyright-text{
        font-size: 12px;
    }
}