/* CSS for mobile devices */
@media only screen and (max-width: 768px) {

    :root {
        --BG-color: #050a30;
        --bg-2: #2889c976;
        --text: #fff;
        --primary-color: #389bdc;
        --secondry-color: #213ffa;
        --hover: linear-gradient(#389bdc, #213ffa);
    }


    body {
        background-image: url('/pics/BG1\ -\ Copy.jpg');
        /* background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%; */
    }

    /* Hide nav menu by default for smaller screens */
    .nav {
        display: none;
    }

    .heading-box h1 {
        font-size: 30px;
    }

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-direction: column;
    }

    .container .info {
        order: 2;
        /* border: 2px solid white; */
        width: 100%;
        text-align: center;
        /* Change order to display below image */
        margin-top: 20px;
        /* Add some space between image and text */
    }

    .container .image {
        order: 1;
        /* Change order to display on top */
    }

    .container .info h1 {
        font-size: 30px;
        color: var(--primary-color);
    }

    .container .info p {
        padding: 5px;
        /* margin: 15px; */
        font-size: 25px;
    }

    .container .image {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        /* border: 2px solid white; */
    }

    .container .image img {
        height: 250px;
        width: 250px;
    }

    /* Adjust tutorials layout */
    .Tutorials-box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* grid-gap: 10px; */
        padding: 15px 0px;
        margin: 0px;
        /* border: 2px solid white; */
    }

    .Tutorials-box .box {
        /* border: 2px solid white; */
        margin: 0;
        padding: 5px;
    }

    .box h2 {
        margin: 5px;
        font-size: 15px;
    }

    .Tutorials-box .box img {
        width: 50px;
    }

    button {
        padding: 10px;
    }

    .Contact {
        height: 100%;
        /* height: 60vh; */
    }

    .Contact-box h1 {
        font-size: 25px;
        text-align: center;
    }

    .Contact-box img {
        height: 200px;
        width: 200px;
    }

    .Contact-box .icn {
        margin: 5px;
    }

    .Contact-box .icn i {
        font-size: 30px;
    }

    .submit-btn {
        padding: 10px;
        font-size: 15px;
        /* border: 2px solid white; */
    }

    .form {
        /* border: 2px solid white; */
        max-width: 100%;
    }

    .form input {
        /* display: block; */
        max-width: 100%;
        font-size: 20px;
    }

    .form h6 {
        text-align: center;
    }

    .About p {
        margin: 5px;
        font-size: 15px;
        line-height: 1.5rem;
    }

    .ftr {
        /* border: 2px solid white; */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .ftr h1 {
        margin: 5px;
        padding: 0px;
    }

    .ftr .icn {
        padding: 0;
        margin: 0;
    }

    .ftr p {
        padding: 0;
        margin: 2px;
    }

    .navbar h1 {
        font-size: 20px;
    }
}
