/* ================================================ BOX AND TEXT FOR ALL PAGES ================================================ */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: rgb(218, 218, 212);
    height: 100%;
}

textarea {
  resize: none;
}

/* ================================================ WRAPPER ================================================ */
#wrapper {
    max-width: 1000px;
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-areas:
        "banner"
        "menu"
        "content"
        "footer";
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    gap: 0;
    padding: 0;
    background-color: #fff;
}

/* ================================================ HEADER ================================================ */
header {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    padding: 5px 20px;
    grid-area: banner;
}

header img {
    width: 163px;
    height: 160px;
}

header h1 {
    margin: 0;
    font-size: 2.3em;
    text-align: right;
}

/* ================================================ NAVBAR ================================================ */
nav {
    grid-area: menu;
}

nav .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    height: 50px;
    background: #00a2e8;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav .menu li a {
    color: white;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s ease;
}

nav .menu li a:hover {
    color: #b5e61d;
    transform: scale(1.1);
    text-decoration: underline;
}
/* ================================================ MAIN CONTENT ================================================ */
main {
    padding: 0px;
    grid-area: content;
    width: 100%;
    min-height: 800px;
    display: grid;
}

/* ================================================ HOMEPAGE ================================================ */
.greenbox {
    background: #b5e61d;
    border: 6px solid black;
    width: 400px;
    height: 700px;
    padding: 30px 20px;
    text-align: center;
    margin-top: 20px;

    margin-right: 100px;
}

.home-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
    flex-wrap: nowrap;
    grid-area: content;
    padding-left: 20px;
}

.home-right img {
    /* width: 300px;
    height: 217px; */
    border: 4px solid black;
    margin-bottom: 90px;
    margin-top: 4px;
}

/* ================================================ Artist ================================================ */
.artist-wrapper {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    grid-area: content;

}

.artist-img {
    /* width: 300px;
    height: 217px; */
    margin-top: 30px;
    padding-right: 20px;
}

.artist-greenbox {
    background: #b5e61d;
    border: 6px solid black;
    width: 350px;
    height: 610px;
    padding: 30px 20px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;


    margin-right: 100px;
}


/* ================================================ Albums ================================================ */
.album-wrapper {
    display: flex;
    gap: 2px;
    justify-content: center;
    flex-wrap: wrap;
    grid-area: content;

}

.album-img {
    /* width: 320px;
    height: 209px; */
    margin-top: 30px;
    padding-right: 20px;
}

.album-greenbox {
    background: #b5e61d;
    border: 6px solid black;
    width: 350px;
    height: 610px;
    padding: 30px 20px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;


    margin-right: 100px;
}


/* ================================================ CONTACT ================================================ */
form {
	background-color: #ffffff;
    grid-area: content;
	margin: 0 auto;
	padding: 14px;
	border: solid 2px #00a2e8;

}

section {
	clear: both;
	padding-top: 10px;
}

section.two label {
	font-weight:bold;
	float: left;
	width: 100px;
	text-align: right;
	padding-right: 10px;
	position: relative;
}

section.two input, div.two select{
	float: left;
	width: 150px;
	text-align: left;
}

section.two select {
	width: 157px;
	
}

section.one {
	text-align: center;
}

#submit{
	clear: both;
	width: 125px;
	height: 30px;
	background:#00a2e8;
	text-align:center;
	line-height:20px;
	font-size:12px;
	font-weight:bold;
}

.tooltip {
	display: block; 
	position: absolute; 
	visibility: hidden;
	left: 25em;
	top: 0; 
	width: 10em;
	padding: 0.5em;
	font-weight: normal;
	color: #000000;
	background-color: #b5e61d;
	border:solid 2px #000000;
}

.error {
	color: #D92525;
}
span.error{
	padding-left: 10px;
}
.success {
	color:#28ac00
}
span.success{
	padding-left: 10px;
}

.visually-hidden {
    position:absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    border: 0;
}
/* ================================================ cart ================================================ */
.cart-grid {
    display: flex;
    justify-content: center;
    gap: 120px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.white-box {
    width: 350px;
    background: white;
    border: 6px solid black;
    padding: 30px;
    font-weight: bold;
}

.left-box {
    height: 500px;
    margin-bottom: 20px;
}

.right-box {
    height: 300px;
}

.total-price {
    margin-top: 280px;
    font-weight: bold;

}

.btn {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: 4px solid black;
}

.btn.green {
    background: #b5e61d;
    color: rgb(0, 0, 0);
    width: 200px
}

.btn.blue {
    background: #00a2e8;
    color: rgb(0, 0, 0);
    margin-top: 50px;
    width: 200px
}

/* ================================================ FOOTER ================================================ */
footer {
    background-color: #b5e61d;
    font-weight: bold;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 10px 0;
    width: 100%;
    grid-area: footer;

}

/* ================================================ RESPONSIVE ================================================ */
@media (max-width: 768px) {

    .home-layout {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
        text-align: center;


        padding-left: 0;
    }

    .greenbox {
        margin-right: 0;
    }

    .home-right {
        display: flex;
        gap: 10px;
    }

    /*.home-right img {
        width: 45%;
        height: auto;
    } */

    /* artist */
    .artist-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .artist-wrapper .redbox {
        width: 90%;
    }

    /* Cart */
    .cart-grid {
        flex-direction: column;
        align-items: center;
    }

    .cart-grid .white-box {
        width: 90%;
    }

    /* Contact */
    .contact-container,
    .social-box {
        width: 90%;
    }

    /* albums */
    .album-container,
    .social-box {
        width: 90%;
    }
}