@font-face {
    font-family: "BalooTamma2";
    src: url("fonts/BalooTamma2-Regular.ttf");
    font-weight: 300;
}

@font-face {
    font-family: "BalooTamma2";
    src: url("fonts/BalooTamma2-Medium.ttf");
    font-weight: 400;
}

@font-face {
    font-family: "BalooTamma2";
    src: url("fonts/BalooTamma2-SemiBold.ttf");
    font-weight: 500;
}

@font-face {
    font-family: "BalooTamma2";
    src: url("fonts/BalooTamma2-Bold.ttf");
    font-weight: 700;
}

html {
    background-color: white;
    font-family: BalooTamma2, sans-serif;
    font-weight: 300;
}

body {
    margin: 0;
}

.logo {
    margin-top: 25px;
    font-size: 25px;
    color: white;
    position: absolute;
    height: 79px;
    left: 45%;
    display: inline-block;
}

ul {
    list-style-type: none;
}

nav {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background-color: dimgrey;
    transition: left 1s;
    z-index: -1;
    padding-top: 250px;
    text-align: center;
    font-size: 30px;
}

nav a {
    text-decoration: none;
    color: #cccccc;
}

nav.show {
    left: 0;
}

.menu {
    position: relative;
    width: 45px;
    height: 35px;
    margin-top: 20px;
    padding-left: 10px;
 
}

header {
    position: sticky;
    top: 0;
    background-color: dimgrey;
    height: 80px;
    z-index: 1;
}

#header {
    background-color: dimgrey;
    height: 80px;
}

.footer {
    position: sticky;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 35px;
    background-color: dimgrey;
}

.footer a {
    text-align: left;
    margin-left: 3%;
    display: inline;
    line-height: 35px;
    text-decoration: none;
    color: white;
}


@media screen  and (min-width: 1200px) {
    div img {
        width: 50%;
    }
}


@media screen  and (max-width: 1200px) {
    div img {
        width: 100%;
    }
}

/* stuff common to all device types */
.grid {
    width: 100%;
    padding: 0;
    margin: 0 ;
    box-sizing: border-box;
}

.grid * {
    box-sizing: border-box;
}

.row {
    min-height: 20px;
    clear: both;
}

[class*="col"] {
    float: left;
    min-height: 1px;
}

[class*="col"]:first-child {
    margin-left: 0;
}

/* For mobile phones */
@media screen and (max-width: 600px) {
    [class*="col"] {
        width: 100%;

        /* since in mobile columns are 100%, we cannot have margin-left in the columns*/
        margin-left: 0;
    }

    .logo {
        font-size: 20px;
        margin-left: -50px;
    }
    header{
        margin:0;
    }
    .footer a {
        font-size: 10px;
    }
    p{
        margin-left: 10px;
    }
    a{
       margin-right: 25px;
    }
}

/* For tablets: */
@media screen and (min-width: 600px) and (max-width: 768px) {
    [class*="col"] {
        margin-left: 2.127659574%; /* calc(100% * 20 / 940); */
        width: 6.38297872%; /*calc(100% * 60 / 940);*/
    }


    /* Two column widths (120px) plus one gutter width (20px) */
    .col-t-2 {
        width: calc(6.38297872% * 2 + 2.127659574% * 1);
    }

    .col-t-3 {
        width: calc(6.38297872% * 3 + 2.127659574% * 2);
    }

    .col-t-4 {
        width: calc(6.38297872% * 4 + 2.127659574% * 3);
    }

    .col-t-5 {
        width: calc(6.38297872% * 5 + 2.127659574% * 4);
    }

    .col-t-6 {
        width: calc(6.38297872% * 6 + 2.127659574% * 5);
    }

    .col-t-7 {
        width: calc(6.38297872% * 7 + 2.127659574% * 6);
    }

    .col-t-8 {
        width: calc(6.38297872% * 8 + 2.127659574% * 7);
    }

    .col-t-9 {
        width: calc(6.38297872% * 9 + 2.127659574% * 8);
    }

    .col-t-10 {
        width: calc(6.38297872% * 10 + 2.127659574% * 9);
    }

    .col-t-11 {
        width: calc(6.38297872% * 11 + 2.127659574% * 10);
    }

    .col-t-12 {
        width: calc(6.38297872% * 12 + 2.127659574% * 11);
        margin-left: 0;
    }

}

/* For desktop computer */
@media screen and (min-width: 768px) {

    [class*="col"] {
        margin-left: 2.127659574%; /* calc(100% * 20 / 940); */
        width: 6.38297872%; /*calc(100% * 60 / 940);*/
    }

    /* Two column widths (120px) plus one gutter width (20px) */
    .col-d-2 {
        width: calc(6.38297872% * 2 + 2.127659574% * 1);
    }

    .col-d-3 {
        width: calc(6.38297872% * 3 + 2.127659574% * 2);
    }

    .col-d-4 {
        width: calc(6.38297872% * 4 + 2.127659574% * 3);
    }

    .col-d-5 {
        width: calc(6.38297872% * 5 + 2.127659574% * 4);
    }

    .col-d-6 {
        width: calc(6.38297872% * 6 + 2.127659574% * 5);
    }

    .col-d-7 {
        width: calc(6.38297872% * 7 + 2.127659574% * 6);
    }

    .col-d-8 {
        width: calc(6.38297872% * 8 + 2.127659574% * 7);
    }

    .col-d-9 {
        width: calc(6.38297872% * 9 + 2.127659574% * 8);
    }

    .col-d-10 {
        width: calc(6.38297872% * 10 + 2.127659574% * 9);
    }

    .col-d-11 {
        width: calc(6.38297872% * 11 + 2.127659574% * 10);
    }

    .col-d-12 {
        width: calc(6.38297872% * 12 + 2.127659574% * 11);
    }
}
