I'm having trouble aligning my two buttons to the center. Additionally, I'm not sure how to remove the gray color from inside the buttons.
Here is the code:
index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Learn Elementary Math at Prodigies!</title>
<link rel = "icon" type = "img/jpg" href = "img/prodigies.jpg"/>
<link rel = "stylesheet" type = "text/css" href = "reset.css"/>
<link rel = "stylesheet" type = "text/css" href = "style.css"/>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap" rel="stylesheet">
</head>
<body>
<nav>
<ul>
<li>
<a href = "signup.html">SIGN UP</a>
</li>
<li>
<a href = "teachings.html"& homepagepro;TEACHINGS</a>
</li>
<li>
<a href = "documentation.html">DOCUMENTATION <img src = "file:///Users/axelpalomino/Desktop/dropdown%20icon.png" alt = "Dropdown Icon" width = "22" height = "19"/></a>
<ul>
<li>
<a href = "" >About</a>
</li>
<li>
<a href = "" >Contact</a>
</li>
<li>
<a href = "" >Credits</a>
</li>
</ul>
</li>
<li>
<a href = "index.html">HOME</a>
</li>
</ul>
</nav>
<header>
<h1>
PRODIGIES
<img src = "file:///Users/axelpalomino/Desktop/prodigies-logo.jpg" alt = "Prodigies-Logo" width = "60" height = "60"/>
</h1>
</header>
<div class = "topic-text">
<h3>
Learn Elementary Math.
</h3>
<h3>
Fun and Easy!
</h3>
</div>
<div class = "page-text">
<p>
Learn and master Math from Grade 1 to Grade 5.
</p>
<p>
We will show you all the tips and tricks to solve Math Problems faster!
</p>
</div>
<button class = "button1">I am a Parent</button>
<button class = "button2">I am a Student</button>
</body>
</html>
documentation.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Learn Elementary Math at Prodigies!</title>
<link rel = "icon" type = "img/jpg" href = "img/prodigies.jpg"/>
<link rel = "stylesheet" type = "text/css" href = "reset.css"/>
<link rel = "stylesheet" type = "text/css" href = "style.css"/>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,500&display=swap" rel="stylesheet">
</head>
<body>
<nav>
<ul>
<li>
<a href = "signup.html">SIGN UP</a>
</li>
<li>
<a href = "teachings.html">TEACHINGS</a>
</li>
<li>
<a href = "documentation.html">DOCUMENTATION <img src = "file:///Users/axelpalomino/Desktop/dropdown%20icon.png" alt = "Dropdown Icon" width = "22" height = "19"/></a>
<ul>
<li>
<a href = "" >About</a>
</li>
<li>
<a href = "" >Contact</a>
</li>
<li>
<a href = "" >Credits</a>
</li>
</ul>
</li>
<li>
<a href = "index.html">HOME</a>
</li>
</ul>
</nav>
<header class = "header_doc">
<h1>
DOCUMENTATION
</h1>
</header>
</body>
</html>
teachings.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Learn Elementary Math at Prodigies!</title>
<link rel = "icon" type = "img/jpg" href = "img/prodigies.jpg"/>
<link rel = "stylesheet" type = "text/css" href = "rest.css"/>
<link rel = "stylesheet" type = "text/css" href = "style.css"/>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,500&display=swap" rel="stylesheet">
</head>
<body>
<nav>
<ul>
<li>
<a href = "signup.html">SIGN UP</a>
</li>
<li>
<a href = "teachings.html">TEACHINGS</a>
</li>
<li>
<a href = "documentation.html">DOCUMENTATION <img src = "file:///Users/axelpalomino/Desktop/dropdown%20icon.png" alt = "Dropdown Icon" width = "22" height = "19"/></a>
<ul>
<li>
<a href = "" >About</a>
</li>
<li>
<a href = "" >Contact</a>
</li>
<li>
<a href = "" >Credits</a>
</li>
</ul>
</li>
<li>
<a href = "index.html">HOME</a>
</li>
</ul>
</nav>
<header>
<h1>
WHAT WILL I TEACH?
<img src = "file:///Users/axelpalomino/Desktop/prodigies-logo.jpg" alt = "Prodigies-Logo" width = "60" height = "60"/>
</h1>
</header>
</body>
</html>
signup.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Learn Elementary Math at Prodigies!</title>
<link rel = "icon" type = "img/jpg" href = "img/prodigies.jpg"/>
<link rel = "stylesheet" type = "text/css" href = "reset.css"/>
<link rel = "stylesheet" type = "text/css" href = "style.css"/>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,500&display=swap" rel="stylesheet">
</head>
<body>
<nav>
<ul>
<li>
<a href = "signup.html">SIGN UP</a>
</li>
<li>
<a href = "teachings.html">TEACHINGS</a>
</li>
<li>
<a href = "documentation.html">DOCUMENTATION <img src = "file:///Users/axelpalomino/Desktop/dropdown%20icon.png" alt = "Dropdown Icon" width = "22" height = "19"/></a>
<ul>
<li>
<a href = "" >About</a>
</li>
<li>
<a href = "" >Contact</a>
</li>
<li>
<a href = "" >Credits</a>
</li>
</ul>
</li>
<li>
<a href = "index.html">HOME</a>
</li>
</ul>
</nav>
<header>
<h1>
SIGN UP
<img src = "file:///Users/axelpalomino/Desktop/prodigies-logo.jpg" alt = "Prodigies-Logo" width = "60" height = "60"/>
</h1>
</header>
</body>
</html>
style.css
body {
background-color: rgb(48, 176, 235); /*The background color of the page*/
color: rgb(199, 195, 195); /*The color of the words*/
font-family: 'Poppins', sans-serif; /*The font family of the website*/
}
header{
font-size: 30px; /*The font size of the header*/
text-align: center; /* The alignment of the title, Prodigies*/
}
h1 {
background-color: rgb(30, 109, 255); /*The background color of the header*/
}
footer {
text-align: left;
}
footer h3 {
display: inline-block;
font-size: 30px;
}
* {
margin: 0;
padding: 0;
}
ul {
}
ul li {
list-style: none;
float: right;
line-height: 90px;
position: relative;
}
ul li a:hover {
color: silver;
}
ul li ul {
display: none;
position: absolute;
background-color: white;
padding: 1px;
border-radius: 0px 0px 4px 4px;
}
ul li:hover ul{
display: block;
}
ul li ul li {
width: 180px;
border-radius: 4px;
}
ul li ul li a:hover {
background-color: #f3f3f3;
box-shadow: 0px 8px 16px 0px rgba(15, 98, 253, 0.2);
}
.topic-text{
font-size: 38px;
line-height: 86px;
height: 190px;
border: 3px solid rgb(48, 176, 235);
text-align: center;
color: rgb(30, 109, 255);
}
ul li a {
text-decoration: none;
font-size: 25px;
font-family: 'Poppins', sans-serif;
color: rgb(238, 237, 237);
padding: 0 20px;
overflow: hidden;
transition: 0.7s;
}
.page-text{
text-align: center;
font-size: 25px;
}
.button1{
text-decoration: none;
border-radius: 80px;
border: 19px solid white;
}
.button2{
text-decoration: none;
border-radius: 80px;
border: 19px solid white;
margin: 0;
padding-right: 50px;
padding-left: 50px;
}
Could someone please assist me with centering my two buttons and removing the gray background inside them?