

/* variable colours to use */
:root{
    --light-blue: #7b9df1;
    --dark-blue: #5782f0;
    --white: white;
    --grad-blue: #a9bcec;
}

/* header styling */
.header {
    background-color: var(--light-blue);
    text-align: center;
    padding: 20px;
}
/* vmain body styling, font type, background colour and font colour */
body {
    text-align: center;
    font-family: monospace, monaco;
    margin: 1;
    padding: 1;
    background-color: var(--light-blue);
    color: var(--white);
}
/* gradient colours for background goes from the first colour to the second */
.grad {
    background-image: linear-gradient(#7b9df1,#a9bcec);

}


ul.b {
    list-style-position: inside;
}

.font {

    font-weight: 900;
}

/* navigation bar styling */
.topnav {
    background-color: var(--light-blue); 
    overflow: hidden;
}
/* font size and placement */
.topnav a {
    float: left;
    color: var(--white);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
/* effects when hovering over button on navbar */
.topnav a:hover {
    background-color: var(--white);
    color: black;
}
/* active class so when you click on button it turns different colour */
.topnav a.active {
    background-color:var(--dark-blue);
    color: var(--white);
}

/* center class to make stuff centered */
.center {
    margin-left: auto;
    margin-right: auto;
}


/* section styling */
/* some padding and a margin with darker blue and a slight shadpow */
.about {
    padding: 20px;
    margin: 20px;
    background-color: var(--dark-blue);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* another section style for a lighter blue */
.websites {
    padding: 20px;
    margin: 20px;
    background-color: var(--light-blue);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


/* CSS Animations */
/* used for fading in text */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* styles for different headings used */
h1 {
    color: var(--white);
    animation: fadeIn 2s ease-in; 
    padding: 20px;
    margin: 5px;

}

h2 {
    color: var(--white);
    animation: fadeIn 2s ease-in;
    font-weight: bold;
    font-size: xx-large;
}
/* style used for links */
.link {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 5px;
    margin: 5px;
    text-decoration: none;

}

a:hover {
    color: var(--white);
    background-color: var(--light-blue); 
    font-size: 18px;
  }


.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(57, 0, 123, 0.479);
    color: white;
    text-align: center;
}

#myBtn {
    display: block; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: var(--dark-blue); /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
  }
  
  #myBtn:hover {
    background-color: var(--light-blue); /* Add a dark-grey background on hover */
  }



  .row {
    display: flex;
  }
  /* style sued for the rows and coloums using flex to better fit depending on content */
  .column {
    flex: 33.33%;
    padding: 5px;
  }
  /* used to round the edges of the images slightly */
  img {
    border-radius: 10%;
  }