@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Nunito&display=swap');

::-webkit-scrollbar {
    width: 1rem;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#F49367, #FD7E69);
}

html {
    scroll-behavior: smooth;
    height: 100%;
    font-family: "Nunito";
    font-size: 20px;
    /* background: linear-gradient(#3895db, #35ccd4); */
    /* background-image: radial-gradient( circle farthest-corner at 10% 20%,  rgba(171,102,255,1) 0%, rgba(116,182,247,1) 90% ); */
    /* background-image: radial-gradient( circle farthest-corner at -8.9% 51.2%,  #3895db 0%, #3895db 15.9%, #35ccd4 15.9%, #35ccd4 24.4%, #74b6f7 24.5%, #74b6f7 66% ); */
    /* background:linear-gradient(#3e84a5 0%,#7367F0 100%); */
    background:radial-gradient(circle farthest-corner at 10% 20%, #1585e0 0%, #25b2dd 100%);
    color: white;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat";
}

h1 {
    font-weight: 600;
    font-size: 2.25rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 20px;
}

main {
    min-height: 100%;
    display: grid;
}

footer {
    text-align: center;
    margin-top: 25px;
}

a {
    color: white;
    text-decoration: #281952 wavy underline 1.5px;
    transition: .6s;
}

a:hover {
    font-size: 23px;
}

a:visited {
    color: white;
}

.nav a {
    color: white;
    text-decoration: white wavy underline 1.5px;
}

.nav a:visited {
    color: white;
}

h3 .github-link {
    color: white;
    text-decoration: white wavy underline 1.5px;
}

h3 .github-link:visited {
    color: white;
}

h3 .github-link:hover {
    font-size: 1.25rem;
}

#gh-code-repo-link {
    color: black;
    text-decoration: none;
}

.link-container {
    width: 100%;
}

.social-link-container {
    background-color: white;
    width: 320px;
    padding: 15px;
    border-radius: 6px;
    height: 180px;
    margin: 15px;
}

.social-link-container:first-child {
    margin-right: 10px;
}

.social-link-container:hover {
    -webkit-box-shadow: -6px 6px 15px 2px #00000026; 
    box-shadow: -6px 6px 15px 2px #00000026;
    transform: translateY(-10px);
}

.social-link {
    color: black;
    margin-top: -9px;
    text-decoration: black wavy underline 1.5px;
}

.social-link:visited {
    color: black;
}

.footer-bar {
    width: 90%;
    background: url(../img/background-diagonal.png);
    background-position-y: -10%;
    background-size: 105%;
    border: none;
    height: 20px;
    margin-bottom: 10px;
}

.main-header {
    font-size: 85px;
    margin-top: 60px;
    text-align: center;
}

.main-header-slogan {
    margin-top: -30px;
    text-align: center;
}

.nav-img img {
    border-radius: 10px;
    margin: 0 15px;
}

.video {
    background-color: #000;
    margin-bottom: 30px;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
}

.video img {
    width: 100%;
    top: -16.84%;
    left: 0;
    opacity: 0.7;
}

.video .play-button {
    width: 90px;
    height: 60px;
    background-color: #333;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
    z-index: 1;
    opacity: 0.8;
    border-radius: 6px;
}

.video .play-button:before {
    content: "";
    border-style: solid;
    border-width: 15px 0 15px 26px;
    border-color: transparent transparent transparent white;
}

.video img,
.video .play-button {
    cursor: pointer;
}

.video img,
.video iframe,
.video .play-button,
.video .play-button:before {
    position: absolute;
}

.video .play-button,
.video .play-button:before {
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.video iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.about-1-img,
.about-2-img {
    border-radius: 6px;
    outline: 5px solid white;
    margin: 0 20px;
}

.gh-pfp {
    border-radius: 50%;
    outline: whitesmoke 5px solid;
}

#gh-code-repo {
    background-color: whitesmoke;
    color: black;
    border-radius: 6px 6px 0 0;
    width: 700px;
}

#gh-code-repo-desc {
    margin-top: -35px;
}

#gh-code-repo-language-bar {
    height: 10px;
    border-radius: 6px;
    width: 100%;
}

#gh-code-repo-langauge-stats {
    display: flex;
    width: 100%;
}

#gh-code-repo-language {
    float: left;
    margin: 0 10px;
}

#gh-code-repo-language-key {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-top: 6px;
    margin-right: 3px;
    float: left;
}

#gh-code-repo-language-bar {
    display: flex;
}

#gh-code-repo-name,
#gh-code-repo-desc {
    padding: 4px 15px;
}

#gh-bio {
    margin-top: -20px;
}

#loader-repos-mine,
#loader-repos-frequent,
#loader-repos-notable {
    border: 16px solid #f3f3f3f3;
    border-top: 16px solid #F15BB5;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: loader-spin 1s linear infinite
}

@keyframes loader-spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

/* Smaller screens */
@media only screen and (max-width: 991px) {
    main {
        text-align: center;
        margin-left: 5px;
        margin-right: 5px;
        margin-top: -45px;
    }

    .nav-img img {
        height: 40px;
        width: auto;
    }

    .nav-img h4 {
        margin-top: -37px;
        margin-left: 30px;
    }

    .nav {
        display: flex;
        flex-wrap: wrap;
    }

    .gh-pfp {
        width: 296px;
    }

    .social-link-container {
        display: flex;
        width: 550px;
    }

    .link-container {
        align-items: center;
        width: 100%;
    }

    .social-link {
        margin-top: 10%;
        margin-left: 20px;
    }
}

/* Larger screens */
@media only screen and (min-width: 992px) {
    main {
        margin-left: 200px;
        margin-right: 150px;
    }
    
    .nav-img h4 {
        margin-top: -35px;
        margin-left: 23px;
    }

    .nav-img img {
        height: 66px;
    }

    .nav {
        max-width: max-content;
        float: left;
        position: fixed;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        top: 50%;
        margin-left: -15px;
    }

    .videos {
        display: flex;
        flex-wrap: wrap;
    }

    .video-wrapper {
        margin: 18px 5px;
        width: 500px;
        height: 255px;
    }

    .about-1,
    .about-2 {
        width: 100%;
    }

    .about-1-img {
        float: right;
    }

    .about-2-img {
        float: left;
    }

    .about-header-1{
        margin-bottom: -10px;
    }

    .about-2 {
        margin-top: -30px;
    }

    .gh-pfp {
        width: 290px;
        float: left;
        margin-bottom: 20px;
    }

    .gh-profile {
        margin-right: 25px;
        width: 296px;
    }

    .code-stuff {
        display: flex;
        width: 100%;
    }

    .link-container {
        margin-right: 50px;
    }

    .social-link-container {
        float: left;
    }
}
