:root
{
  --primary-color: #3498db; /*Background color throught webpage */
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /*Font family throught webpage */
  --text-color: #fcf9f9; /*Text color throught webpage */
  --border-radius: 10px; 
}

body
{
  background-color: var(--primary-color);
  font-family: var(--font-family);
  color:#151414;
  margin: 20px;
  padding: 0;
}

#ResumeiFrame 
{
  height: 600px;
  width: 100%;
}

/*Controls all navbar*/
#navbar 
{
  background-color: #000000;  /*Colour of entire navbar*/
  padding: 0;
}

.nav-container 
{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

#logo 
{
  height: 90px;
  width: 100px;
}

.nav-bar 
{
  list-style-type: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-bar li 
{
  margin-left: 20px;
}

.nav-bar li a 
{
  display: block;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.nav-bar li a:hover 
{
  background-color: #602c2c;
}

/*Section Controls*/
section 
{
  margin: 20px;                   /* Adds space around each section */
  padding: 10px;                  /* Adds space inside each section */
  border: 2px solid #ccc;       /* border color */
  border-radius: 8px;           
  background-color: rgb(246, 236, 224);  
}

#myself
{
  height: auto;
  width: 220px;
  float: right;
}

.footer
{
  text-align: center;
}

.footer :hover
{
  background-color: rgb(255, 255, 255);
}

img 
{
  width: 150px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

img:hover 
{
  transform: scale(1.05);
  cursor: pointer;
}

#resumetitle /*Professional Page*/
{
  text-align: center;
}

.statementbox
{
  padding: 10px;
  margin: 30px auto;
  background: white;
  border: 9px ;
  border-style: inset;
  text-align: center;
}

#BYC
{
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family:var(--font-family)
}

.topRow 
{
  display: flex;
  gap: 20px;
  justify-content: center;
}

.bycBox
{
  border: 15px;
  text-align: center;
  border-style: inset;
  background-color: skyblue;
  padding: 20px;
  margin: 20px;
}

h2
{
  text-align: center;
}

a:visited /*Pseudoclass - turns visited links to red*/
{
  color:rgb(209, 22, 53)
}

/*Phones*/
@media (min: 600px) 
{
  #BYC 
  {
    font-size: small;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar 
  {
    align-content: center;
  }

  .topRow 
  {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  #ResumeiFrame 
  {
    height: 600px;
    width: 100%;
  }

  .nav-bar li 
  {
    margin-left: 10px;
  }

  .nav-bar li a 
  {
    padding: 10px 12px;
  }
}

/*Larger Screens, Tablots, PCs*/

