@import url('https://fonts.cdnfonts.com/css/chiller');
* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-image: url(../images/vecteezy_dark-and-black-wall-halloween-background-concept-black_9195064.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

/*home*/
.home {
    min-height: 750px;
    width: 100%;
}

.intro {
    width: 90%;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 30%;
    left: 50%;
    margin-top: 120px;
    transform: translate(-50%, -50%);
}

.intro h1 {
    font-family:'chiller', sans-serif;
    font-size: 180px;
    font-weight: 500;
    color: #c80000;
    text-shadow: 4px 4px 6px black;
}

.intro h2 {
    font-size: 65px;
    color: #c80000;
    text-shadow: 4px 4px 6px black;
}

.intro p {
    margin: 10px 0 40px;
    font-size: 39px;
    text-shadow: 4px 4px 6px black;
}

/* about */
.about {
    min-height: 900px;
    width: 100%;
    color: #fff;
}

.about h2 {
    font-size: 80px;
    color: #c80000;
    text-shadow: 2px 2px 5px red;
    font-family: 'chiller', sans-serif;
    text-align: center;
    padding-top: 40px;
    text-shadow: 4px 4px 6px black;
}

.about img {
    width: 600px;
    height: 600px;
    padding-right: 70px;
}

.info-box {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
    text-shadow: 4px 4px 6px black;
}

.info-text {
    color: white;
    text-align: center;
    font-size: 50px;
}

.info-text h1 {
    font-size: 40px;
    margin-bottom: 10px; 
    color: #c80000;
}

.info-text p {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

.about button {
    width: 200px;
    height: 70px;
    border-radius: 20px;
    background-color: black;
    color: #fff;
    transition: 0.5s;
    cursor: pointer;
}

.about button:hover {
    background: #c80000;
    transition: 0.5s;
}



/* portfolio */
.portfolio {
    min-height: 900px;
    width: 100%;
    color: #fff;
}

.portfolio h2 {
    font-size: 80px;
    color: #c80000;
    text-shadow: 2px 2px 5px red;
    font-family: 'chiller', sans-serif;
    text-align: center;
    padding-top: 40px;
    text-shadow: 4px 4px 6px black;
}

.imgbtn {
    position: absolute;
    top: 2360px;
    right: 854px;
}

.imgbtn button {
    width: 243px;
    border: none;
    outline: none;
    background: black;
    padding: 15px 45px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    margin: 0 15px;
    transition: 0.5s;
}

.imgbtn button:hover {
    background: #c80000;
    transition: 0.5s;
}

#gallery {
    position: absolute;
    right: 870px;
    top: 1810px;
    padding: 10px;
    overflow: hidden;
    background-color: #000;
}

#story {
    height: 500px;
    transition: all 0.5s ease-in-out;
    opacity: 1;
}

#story.fade-out {
    opacity: 0;
}

.story-text {
    max-width: 30%;
    text-shadow: 4px 4px 6px black;
    position: absolute;
    text-align: center;
    right: 280px;
}


#h2-text {
    font-size: 100px;
    right: 280px;
    transition: all 0.5s ease-in-out;
    opacity: 1;
}

#h2-text.fade-out {
    opacity: 0;
}

#p-text {
    font-size: 45px;
    transition: all 0.5s ease-in-out;
    opacity: 1;
}

#p-text.fade-out {
    opacity: 0;
}

/* Contacts */
.contact {
    min-height: 700px;
    width: 100%;
    color: #fff;
}

.form {
    width: 900px;
    height: 600px;
    margin: auto;
    border-radius: 5px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 2px 2px 5px red;
    background-color: #000;
    color: #c80000;
}

.form h2 {
    font-size: 80px;
    color: #c80000;
    text-shadow: 2px 2px 5px red;
    font-family: 'chiller', sans-serif;
    text-align: center;
    text-shadow: 4px 4px 6px black;
}

label{
    display: block;
    font-weight: bold;
    width: 50px;
}

input{
	width: 50%;
	padding: 12px 20px;
	margin: 8px 0;
	box-sizing: border-box;
	border: 2px solid #c80000;
	border-radius: 4px;
	background-color: #f1f1f1;
	color: #101820;
}

input:focus{
    background-color: #7f7f7f;
}

textarea {
    resize: none;
    width: 382px;
    padding: 12px 20px;
	margin: 8px 0;
    height: 260px;
    border: 2px solid #c80000;
    border-radius: 4px;
}

form img {
    position: absolute;
    width: 410px;
    height: 400px;
    right: 360px;
}

.button {
    background-color: black;
    color: #fff;
    transition: 0.5s;
    cursor: pointer;
}

.button:hover {
    background: #c80000;
    transition: 0.5s;
}

.bi

/* footer */
footer {
    background-color: #000;
}

.footerbox {
    opacity: 0.5;
    background-color: #000;
    padding: 70px 30px 20px;
}

.icon {
    text-align: center;
}

.icon a {
    background-color: #fff;
    margin: 15px;
    padding: 15px;
    border-radius: 50%;
}

.icon a i {
    font-size: 28px;
    color: black;
}

.icon a:hover {
    background-color: #c80000;
    transition: 0.5s;
}


.footertext {
    opacity: 0.5;
    background-color: #000;
    color: #fff;
    padding: 20px;
    text-align: center;
}

/* mobile */
@media(max-width: 768px) {

    body {
        width: 100%;
        height: 100%;
    }

    /* home */
    .intro h1 {
        font-size: 100px;
        width: 100%;
        height: 100%;
    }

    .intro h2 {
        font-size: 50px;
        width: 100%;
        height: 100%;
    }

    /* about */
    .about h2 {
        font-size: 60px;
        width: 100%;
        height: 100%;
    }

    .info-box {
        flex-direction: column;
    }

    #spook-img {
        width: 350px;
        padding-left: 80px;
        padding-bottom: 40px;
    }

    #spook-text {
        font-size: 50px;
        width: 100%;
        height: 100%;
    }

    /* portfolio */
    .portfolio {
        width: 100%;
        height: 100%;
    }

    #gallery {
        position: absolute;
        width: 50%;
        height: 50%;
        left: 30px;
        top: 2500px;
    }

    #story {
        width: 100%;
        height: 100%;
    }

    #h2-text {
        font-size: 35px;
        position: absolute;
        left: 140px;
        width: 100%;
        height: 100%;
    }

    #p-text {
        font-size: 24px;
        position: absolute;
        left: 130px;
        top: 160px;
    }

    .imgbtn {
        position: absolute;
        left: 25px;
        top: 3000px;
        
    }

    /* contact */
    .contact {
        flex-direction: column;
        margin-top: 60px;
        width: 100%;
        height: 100%;
    }

    .form {
        width: 400px;
    }
    .form img {
        display: none;
    }

    input {
        width: 365px;
    }

    textarea {
        width: 320px;
    }
    footer {
        width: 100%;
        height: 100%;
    }
}