/*
ray-y.co.uk © 2025 Ray Dunn

This source code is licensed under the terms of GPL-2.0
https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html

*/ 


body {
    background: rgb(22, 22, 22);
    background-image: radial-gradient(rgb(36, 36, 36) 1px, transparent 0);
    animation: bgAnim 100s infinite linear;
    background-size: 40px 40px;
    background-position: 0 0;
    margin: 0;
    font-family: arial;
}

@keyframes bgAnim {
    0% { background-position: 0 0; } 
    100% { background-position: 100% 100%; } 
}


.navigation {
    background-color: #0f0f0f49;


    backdrop-filter: blur(10px) brightness(0.8);

    z-index: 100;

    position: fixed;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.877) 0px 5px 15px;
    padding: 10px;
}



.left {
    float: left;
}

.right {
    float: right;
    margin-right: 25px;
}

.menu {
    transition: all 0.1s linear;
}

.menu:hover {
    background-color: #474747;
    outline: 5px solid #474747;

    border-radius: 15px;
}

.menudiv {
    background-color: #222222ab;
    position: fixed;
    transition: all 0.4s;
    z-index: 99;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    backdrop-filter: blur(10px) brightness(0.8);

    animation: fade_in_show 0.2s;

    padding: 5px;
    color: white;
    border-radius: 10px;
    display: flex;


}


@keyframes fade_in_show {
    0% {
        opacity: 0;
        transform: scale(0.9)
    }

    100% {
        opacity: 1;
        transform: scale(1)
    }
}

.main {

    padding-top: 70px;

}

.menuicon {
    border-radius: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
    flex: 1 1 200px;
    max-width: 90px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    transition: 0.3s;
}

.menuicon:hover {
    background-color: #ffffff21;
}



.grid {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;
    gap: 1rem;
    padding: 5px;
}

.grid a {
    text-decoration: none;
    color: white;
    padding: 2px;
}

.body {
    align-items: center;
    text-align: center;
    padding:3px;
    color: white;
}

.card {
    background-color: #0f0f0f;
    box-shadow: rgba(66, 66, 66, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    margin: auto;
    margin-top: 20px;
    padding: 5px;
    border-radius: 30px;
    max-width: 40%;
}

.container {
    display: flex;
    align-items: center;
    padding: 5px;
    justify-content: center
}

.image {
    max-width: 100%;
    max-height: 100%;
}

.text {
    padding-left: 20px;
    text-align: left;
}




.mini-icon {
    height: 20px;
    vertical-align: middle;
    margin-left: 10px;
}

.logoicon {
    transition: 0.4s
}

.logoicon:hover {
    transform: rotate(5deg) scale(1.2);
    cursor: pointer
}

.ab {
    width: 80%;
    color: #0e0e0e;
    margin-top: 30px;
    margin-bottom: 25px;
    border-radius: 50px;
}


.marquee {
    width: 60%;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
}

.marquee img {
    margin-left: 15px;
}

.marquee span {
    display: inline-block;
    width: max-content;

    padding-left: 100%;
    will-change: transform;
    animation: marquee 15s linear infinite;
}



@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}


@media (prefers-reduced-motion: reduce) {
    .marquee span {
        animation-iteration-count: 1;
        animation-duration: 0.01;
        width: auto;
        padding-left: 0;
    }
}


.socials {
    display: inline-grid;
    margin-right: 0px;
    grid-template-columns: auto auto;
    gap: 25px;
}

.social-a {
    transition: 0.3s;
}

.social-a:hover {
    transform: scale(1.13);
}


.interest {
    cursor: default;
    width: auto;
    transition-timing-function: ease-in-out;
    transition: 0.3s;
    padding:5px;
    align-items: center;
    font-family: lexend;
}

.interest-container {
    display: inline-grid;

    grid-template-columns: auto auto auto auto;
    gap: 5%;
    padding: 10px;
    text-align:center;
}

.interest:hover {
    color: rgb(165, 104, 223)
}

.footer {
    background-color: #0e0e0e;
    filter: drop-shadow(0px -9px 4px #0000003f);
    padding-bottom: 30px;
    margin-top:30px;
    padding: 10px;
}

.footer-img {
    padding-top: 20px
}
.footer .head {
    color: gray;
    font-family: Lexend;
    cursor: default;
    transition: 0.3s;
}
.footer .head:hover {
    color: rgb(255, 255, 255);

}
.footer hr {
    color: #474747;
    margin-bottom:20px;
    border-radius: 40px;
    margin-top:20px;
    width: 50%;
}

.footer a {
    color: gray;
    margin-right: 5px;
    transition: 0.4s;
    margin-left: 5px;
    font-family: Lexend;
    text-decoration: none;
}

.footer a:hover {
    color: rgb(255, 255, 255);
}

.portfolio-button {
    background-color: #00000070;
    color:white;
    border: none;
    border-radius: 15px;
    padding:10px;
    filter: drop-shadow(0px 0px 7px #000000);
    margin-right: 10px;
    transition: 0.2s;
}

.portfolio-button:hover {
    color: rgb(53, 50, 207);
    transform: scale(1.1);
    background-color: #0e0e0e;
}

 h3 {
  color: rgb(69, 67, 196);
  background-clip: text;
  -webkit-background-clip: text;
  margin-top: 30px;
 }



 h3:not(.main) {
     overflow: hidden;
     text-align: center;
 }

 h3::before,
 h3::after {
     background-color: #444444;
     content: "";
     display: inline-block;
     border-radius: 40px;
     height: 1px;
     position: relative;
     vertical-align: middle;
     width: 10%;
 }

 h3:before {
     right: 0.5em;
     margin-left: -50%;
 }

 h3:after {
     left: 0.5em;
     margin-right: -50%;
 }


.alert {
    animation: alertAnim 0.5s ease-in;
    color:#f39090
}


@keyframes alertAnim {
    0% {
        opacity: 0;
        transform: translateY(-40px);
        color:rgb(255, 255, 255);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
        color:f39090
    }
    
}

@media only screen and (max-width: 600px) {
    .container {
        display: block;
    }

    .image {
        display: block;
    }

    .text {
        display: block;
    }

    .mini-icon {
        height: 20px;
        vertical-align: middle;
        margin-left: 0px;
    }

    .interest-container {
        display: block;
    }

    h3::before,
    h3::after {
        background-color: #444444;
        content: "";
        display: inline-block;
        border-radius: 40px;
        height: 1px;
        position: relative;
        vertical-align: middle;
        width: 20%;
    }
}