@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Oxygen:wght@700&family=Raleway:wght@700&family=Titan+One&display=swap');

/* COLOUR PALETTE */
:root{
    --purplecolor: rgb(128, 64, 128);
    --royalblue: rgb(67, 67, 198);
    --customred: rgb(226, 110, 123);
    --tomato: rgb(238, 108, 77);
    --custblack: rgb(41, 50, 65);
    --navy: rgb(61, 90, 128);
    --lightblue: rgb(152, 193, 217);
    --skyblue: rgb(224, 251, 252);
}

body{
    /* ANIMATION */
    position: relative;
    animation-name: appear;
    animation-fill-mode: forwards;
    animation-duration: 1.5s;
    background-image: url('custom-assets/img/alina-grubnyak-ZiQkhI7417A-unsplash.jpg');
    background-size: cover;
    background-attachment: fixed;
}

@keyframes appear{
    0%{
        opacity: 0;
        top: 20px;
    }
    100%{
        opacity: 1;
        top: 0;
    }
}

header img{
    margin: auto;
    display: block;
    /* border: 2px solid var(--lightblue); */
}

header div{
    /* border-radius: 0px 10px 0px 0px; */
    background-color: var(--lightblue);
    padding-bottom: 10px;
    border-bottom: 2px solid rgb(172, 172, 172);
    /* overflow: hidden; */
}

main h1{
    text-align: center;
    color: orangered;
    font-family: 'Titan One';
    font-weight: normal;
}

main p{
    font-family: 'Montserrat';
}

header {
    /* border-radius: 0px 10px 0px 0px; */
    grid-row: 1;
    grid-column: 2;
    position: sticky;
    top: 0;
    z-index: 1;
}

/* .the-grids{ */
    /* margin-top: -23px;
    display: grid;
    grid-template-columns: 150px 4fr; */
/* } */

footer{
    color: white;
    text-align: center;
    background-color: var(--navy);
    padding: 20px;
    border-radius: 0px 0px 10px 0px;
    grid-row: 3;
    grid-column: 2;
    font-family: 'Oxygen';
}

.sec-1{
    display: grid;
    grid-template-columns: 150px 3fr;
}

#theTutor{
    grid-template-columns: 260px 3fr;
}

.bottom-text-add{
    grid-template-rows: 200px 1fr;
}

.bottom-text-add-with-search{
    grid-template-columns: 280px 3fr;
}

.bottom-text-add-with-search p{
    /* grid-row: 2;
    grid-column: 2; */
    width: 98%;
}

.bottom-text-add-with-search h1{
    grid-column: 1/ span 2;
    grid-row: 2;
}

.navigation-1-10{
    display: grid;
    grid-template-columns: 3fr 1fr;
}

/* .navigation-1-10 p{
    width: 98%;
    margin: 0;
} */

.navigation-1-10 div{
    margin: auto;
}

.p-bottom-text{
    font-size: 25px;
    /* font-weight: normal; */
    color: rgb(111, 0, 202);
    grid-column: 1 / span 2;
    grid-row: 2;
}

.txtarea{
    margin-top: 10px;
    text-align: center;
}

.sec-2 textarea{
    text-align: left;
}

.sec-3{
    display: grid;
    grid-template-columns: 3fr 150px;
}

.wrapper {
    margin: auto;
    max-width: 95%;
    background-color: white;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 150px 4fr;
    grid-template-rows: 120px auto 120px;
}

main h3{
    font-family: 'Montserrat';
    color: black;
    background-color: var(--skyblue);
    padding: 10px;
    /* width: 90%; */
    margin: auto;
    text-align: center;
    border-bottom: 3px solid var(--custblack);
    border-left: 2px solid var(--custblack);
    border-right: 2px solid var(--custblack);
    border-top: 1px solid var(--custblack);
}

.side-menu{
    position: sticky;
    /* top: 7px; */
    align-self: start;
    top: 0px;
    color: white;
    grid-row: 1 / 4;
    grid-column: 1;
    text-align: center;
    padding: 17px;
    height: 97vh;
    border-radius: 0 0 0 10px;
    /* height: 865px; */
    /* background-color: rgba(255, 0, 0, 0.2); */
    background-color: var(--custblack);
    /* border-radius: 10px 0px 0px 10px; */
}

.side-menu img{
    margin: auto;
    display: block;
}

.side-menu nav ul{
    padding: 0;
}

.side-menu nav ul li{
    display: block;
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-bottom: 10px;
}

.side-menu nav ul li a{
    color: red;
    text-shadow: 2px 2px black;
    text-decoration: none;
    font-family: 'Raleway';
}

.side-menu nav ul li a:hover{
    text-shadow: 1px 1px yellow;
}

.main-content{
    /* margin-left: 10px; */
    width: 99%;
    margin: auto;
    margin-top: -2%;
    grid-row: 2;
    grid-column: 2;
    margin-bottom: 40px;
}

main p{
    /* width: 98%; */
    margin: auto;
}

main h3{
    margin-bottom: 15px;
    margin-top: 15px;
}

.side-menu small{
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 10px;
    line-height: 12px;
    display: block;
    font-family: 'Oxygen';
}

footer a{
    color: rgb(255, 123, 0);
}

footer a:visited{
    color: gray;
}

.reddy{
    color: red;
}

.ticker-wrap{
    grid-row: 1;
    grid-column: 1;
    border: 1px solid black;
    /* position: fixed; */
    bottom: 0;
    overflow: hidden;
    box-sizing: content-box;
    width: 0;
    height: 1rem;
    padding-left: 60%;
}

.ticker{
    display: inline-block;
    box-sizing: content-box;
    line-height: 1rem;
    height: 1rem;
    white-space: nowrap;
    padding-right: 100%;
    animation-name:scroll-text;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-duration: 7s;
}

.search-bar img{
    margin-left: 190px;
    /* margin-top: -30px; */
    top: -20px;
    position: relative;
}

/* .ticker-item{ */
    /* ANIMATION */
    /* animation-fill-mode: forwards; */
    /* animation-direction: normal; */
/* } */

@keyframes scroll-text{
    0%{
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }
    100%{
        transform: translate3d(-162%, 0, 0);
    }
}

/* MOBILE STYLES */
@media (max-width: 768px){
    .wrapper {
        margin: auto;
        border-radius: 10px;
        display: block;
        grid-template-columns: 0;
        grid-template-rows: 92px 300px 1fr 100px;
        max-width: 95%;
    }

    header div{
        /* border-radius: 0px 10px 0px 0px; */
        background-color: var(--lightblue);
        /* padding-bottom: 10px; */
        border-bottom: 2px solid rgb(172, 172, 172);
        /* position: static; */
        /* overflow: hidden; */
    }

    header{
        position: sticky;
        grid-row: 1;
    }

    header img{
        width: 55%;
    }

    .main-content{
        /* margin-left: 10px; */
        /* width: 99%; */
        margin: auto;
        margin-top: 0%;
        grid-row: 3;
        /* grid-column: 2; */
        margin-bottom: 40px;
        width: 80%;
    }

    .side-menu{
        position: static;
        /* padding-bottom: 30px; */
        display: block;
        grid-template-rows: 100px 50px 100px;
        grid-row: 2;
        /* grid-column: 2; */
        align-self: normal;
        grid-column: 1;
        height: 370px;
        padding: 0px;
        top: 70px; /* For Sticky*/
        /* padding-right: 10px;
        padding-left: 10px; */
        padding-top: 20px;
        margin: auto;
        /* margin-top: 0%; */
        /* margin-left: 100px; */
        /* margin-left: 50%; */
        /* display: inline-block; */
        /* align-self: normal; */
    }

    .side-menu small{
        /* color: black; */
        margin: 0;
        grid-row: 2;
        /* background-color: var(--custblack); */
        height: auto;
    }
    
    .side-menu img{
        /* display: none; */
        /* grid-column: 1; */
        grid-row: 1;
        margin: normal;
        width: 97px;
        height: 28px;
        /* background-color: var(--custblack); */
    }

    .side-menu nav{
        grid-row: 3;
        /* background-color: var(--custblack); */
    }
    
    .side-menu nav ul{
        display: inline-block;
        /* grid-template-columns: repeat(5, 1fr); */
    }
    
    .side-menu nav ul li{
        padding: 10px;
    }

    main h3{
        /* margin: 0; */
        width: 90%;
    }

    .sec-1{
        display: block;
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr;
        text-align: justify;
        word-wrap: break-word;
        width: 90%;
        margin: auto;
    }

    .sec-1 img, .sec-2 img, .sec-3 img{
        display: block;
        margin: auto;
    }

    img[src="aver-netronix-assets/img/Web Design/tutor.gif"]{
        width: 90%;
    }

    footer{
        grid-row: 4;
        padding: 3px;
        border-radius: 0px 0px 10px 10px;
    }

    textarea{
        width: 100%;
    }

    .sec-3{
        display: block;
    }

    .navigation-1-10{
        display: inline-block;
    }

    .pure-nav{
        display: block;
        /* margin: auto; */
        text-align: center;
    }

    .search-bar img{
        margin-left: 65%;
        /* margin-top: -30px; */
        top: -20px;
        position: relative;
    }

    /* .pure-nav u{
        text-align: center;
        margin: auto;
    } */
}