

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: grey;
}

.para {
	background-color: #6495ED;
	width: 40%;
	height: 40%;
	margin-right: 15%;
	float: right;
	clear: left;
	border-radius: 20px;
	text-align: center;
	margin-top: 13%;
	transform: rotate(-5deg)
}

header {
	background-image: url("Images/Galaxy.jpeg");
    background-size: cover;
    background-position: center;
    color: #CCCCFF;
    text-align: center;
    padding: 20px;
}

h2, h3 {
	color: #CCCCFF;
}

main {
    padding: 20px;
	background-color: #31295A;
}

.two-column-layout {
    display: flex;
    justify-content: space-between;
}

.list {
    flex: 2;
    margin-right: 20px;
}

aside {
    flex: 1;
}


.container {
    max-width: 1024px; 
    margin: 0 auto; 
}


footer {
     text-align: center;
    padding: 20px;
    color: ;
    border-radius: 40px;
    width: auto;
}

.planet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-image: url("Images/cgalaxy.jpeg");
    border-radius: 40px;
}

.planet-list li {
    margin: 10px;
}

.planet-list img {
    width: 30%; 
    height: 30%;
	 object-fit: contain;
}

.planet-style {
    position: relative;
    margin: 10px;
}

.planet-style a {
    display: block;
    width: 100%;
    height: 100%;
}

.planet-text {
    background-color: #6495ED;
    background-size: auto;
    border-radius: 80px;
    width: auto;
    margin: auto;
    padding: 8px;
    position: absolute;
    top: 33%;
    left: 70%;
    color: black; 
    font-size: 32px; 
    font-weight: bold; 
    text-align: center;
}

.side-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #6495ED;
}

.side-table caption {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #CCCCFF;
}

.side-table th, .side-table td {
    border: 2px solid black;
    padding: 10px;
    text-align: left;
}

.side-table th {
    background-color: #6495ED;
    font-weight: bold;
}


.incontainer {
    max-width: 1024px; 
    margin: 0 auto; 
    background-color: #31295A;
}

.planet-style img {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.planet-style:hover img {
    opacity: 0.7;
}

.planet-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.planet-style:hover .planet-text {
    opacity: 1;
}

.horizontal-nav {
    background-color: #6495ED; 
    padding: 10px; 
}

.horizontal-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.horizontal-nav li {
    margin-right: 20px; 
}

.horizontal-nav a {
    text-decoration: none;
    color: white; 
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

.horizontal-nav a:hover {
    opacity: 0.7;
}


.horizontal-nav .planet-link img {
    width: 30%; 
    height: 30%;
    margin-bottom: 5px; 
}

.image-container {
	margin: 30px;
}


	form {
            margin-top: 20px;
        }

        label {
            display: block;
            margin-bottom: 8px;
        }

        input {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            box-sizing: border-box;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

button {
            background-color: #31295A;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        button:hover {
            background-color: #4169E1;
        }

 .clear-button {
            background-color: #ccc;
            color: black;
        }

        .clear-button:hover {
            background-color: #aaa;
        }

.form-container {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #6495ED;
}

#sun {
  background-repeat: no-repeat;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  margin-right: 12px;
  margin-bottom: 40px;
}

#mercury {
  background-repeat: no-repeat;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  margin-right: 12px;
  margin-bottom: 40px;
}
#venus {
  background-repeat: no-repeat;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  margin-right: 12px;
  margin-bottom: 40px;
}
#earth {
  background-repeat: no-repeat;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  margin-right: 12px;
  margin-bottom: 40px;
}
#mars {
  background-repeat: no-repeat;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  margin-right: 12px;
  margin-bottom: 40px;
}
#jupiter {
  background-repeat: no-repeat;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  margin-right: 12px;
  margin-bottom: 40px;
}
#saturn {
  background-repeat: no-repeat;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  margin-right: 12px;
  margin-bottom: 40px;
}
#uranus {
  background-repeat: no-repeat;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  margin-right: 12px;
  margin-bottom: 40px;
}
#neptune {
  background-repeat: no-repeat;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  margin-right: 12px;
  margin-bottom: 40px;
}

@media screen and (max-width: 1024px) {
    .two-column-layout {
        flex-direction: column;
    }

    .list {
        margin-right: 0;
    }
}

@media screen and (max-width: 750px) {
    .planet-text {
        top: 80%;
    }

    .horizontal-nav a {
        font-size: 10px;
    }

    .horizontal-nav .planet-link img {
        width: 70%;
        height: 60%;
        margin-bottom: 5px;
    }

    .horizontal-nav li {
        width: 60px;
    }

    .horizontal-nav {
        background-color: #6495ED;
        padding: 5px;
        height: 10%; 
    }
	.incontainer {
	 width: 101%;
    }
}

