* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;

}
html{
    scroll-behavior: smooth;
    
}
body{
}
.root{
    background: rgba(255, 255, 255, 1);

}
.hide-d,
.hide-d1000{
    display: none;
}

.header {
    width: 100%;
    height: auto;
    background: rgb(255, 255, 255);
    border-bottom: 1px solid #e1e1e1;
    box-shadow: 0 1px 5px #b4b4b4;
}

.logoimg {
    width: 250px;
}

.headingclass {
    text-align: center;
    margin-top: 2%;
}

.tweetdetails {
    padding: 2%;
}

.profilebtn,
.resetbtn,
.profilebt2 {
    width: auto;
    padding: 2%;
    height: 40px;
    background-color: #000;
    border: none;
    outline: none;
    color: white;
    font-size: 1em;
    border-radius: 5px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.resetbtn {
    background: white;
    border: 1px solid black;
    color: black;
}

.options {
    margin-top: 10px;
}

#badgep {
    /* 
    display: none;
    height: 100%;
    width: 100%; */
    display: inline-block;
    position: absolute;
    top: 2px;
    left: 3px;
    width: 18px; 
    height: 18px;
    /* background: #000; */
}

.box-outer {
    width: 100%;
    min-height: max-content;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 20px;
}

.innerbox {
    margin: 10px;
    padding: 2%;
}

.form {
    width: 500px;
    border: 1px solid lightgray;

}


form {
    padding: 5px 20px;
}

form input {
    width: 100%;
    font-size: 20px;
    border-radius: 8px;
    border: 2px solid lightgrey;
    padding: 5px;
    margin-top: 3px;
}

label {
    font-weight: bold;
    font-size: 18px;
    padding: 2px;
}

::placeholder {
    font-size: 14px;
    color: grey;
    padding-left: 5px;
}

.form p {
    font-size: 14px;
    color: grey;
    padding: 5px 2px;
}

textarea {
    width: 100%;
    min-height: 80px;
    padding: 5px;
    margin-top: 3px;
    border-radius: 8px;
    border: 2px solid lightgray;
}



/* Twitter Preview */

.preview {
    width: 450px;
    border: 1px solid lightgrey;
    height: max-content;
    border-radius: 8px;
    padding: 20px;
}

.preview .title {
    padding-bottom: 30px;
}

.tweet-layout {
    width: 100%;
    min-height: max-content;
    height: auto;
    border: 1px solid rgb(233, 227, 227);
}

.tweet-top {
    min-height: max-content;
    padding: 0px 10px;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.tweet-top span {
    cursor: pointer;
    height: max-content;
}

.tweet-top span a {
    font-size: 25px;
    text-decoration: none;

}

.profile {
    display: flex;

}

.profile div {
    margin: 5px;
}

.tweet-top div img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.p-name {
    margin-top: 5px;
    font-size: 17px;
    font-weight: bolder;
}

.p-username {
    color: gray;
}



.tweet-msg {
    padding: 15px 5px;
    margin: 0px 15px;
    border-bottom: 1px solid rgb(241, 232, 232);
}

.tweet-msg p {
    font-weight: 400;
    font-size: 23px;
    padding-bottom: 10px;
}

.tweet-msg span {
    color: #666;
    font-size: 17PX;
}

.tweets-count {
    padding: 15px 5px;
    margin: 0px 15px;
    border-bottom: 1px solid rgb(241, 232, 232);
}

.tweets-count span {
    padding-left: 5PX;
}

.actions {
    padding: 10px;
    display: flex;
    justify-content: space-evenly;
}

.btn {

    padding-top: 40px;
    text-align: center;
}
.preview{
    position: sticky;
    top: 20px;
}

.preview button ,
.preview a {
    background-color: rgb(58, 127, 255);
    padding: 10px 25px;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.preview button:hover {
    background-color: rgb(0, 64, 184);

}

.about-section{
    display: block;
    max-width: 1000px;
    margin: 6em auto;
    /* background: red; */
}
.about-section h2{
    /* display: block;margin: 2em 0; */
    text-align: left;
    font-size: 1.75em;

}
.about-section h3{
    text-align: left;
    
}
.about-section p{
    text-align: left;

}

/* MEDIA */
@media(max-width:1000px) {

    .hide-d1000{
        display: inline-block;
    }

    .preview{
    position: static;
        order: -2;
    }

    .form {
        order: 2;
    }

    .about-section{
        max-width: 80vw;
    }
    .about-section h3{
        margin: 1em 0;

    }
}

@media(max-width:575px) {

    .hide-m{
        display: none;
    }
    .hide-d{
        display: inline-block;
    }
    .headingclass {
        font-size: 1.5em;
        margin-top: 0%;
    }
    h3.headingclass {
        font-size: 14px;
        
    }
    .box-outer {  
        padding-top: 10px;
    }
    .preview {
        padding: 5px;
    }

    .preview .title {
        padding-bottom: 5px;
    }
    
    .preview a {
     display: inline-block;
     margin: 10px 0;   
    }


    .actions img{
        height: 5vw;
    }

}

@media(max-width:500px) {
    .tweet-msg p {
        font-size: 5vw;
    }
    
    .tweet-msg span {
        font-size: 3.5vw;
    }

    .tweets-count span {
        font-size: 3.5vw;
    }

    /* .form
    {
        padding-bottom: 20px;

    }
    .form p
    {
        font-size: 11px;
    } */

    /* .preview
    {
        padding: 10px;
    }
    .preview h2
    {
        padding: 15px;
    } */
}

@media(max-width:450px) {

    .tweet-msg span {
        font-size: 3.8vw;
    }

}

@media(max-width:410px) {
    .tweet-top div img {
        width: 12vw;
        height: 12vw;
    }
    .p-name,.p-username {
        font-size: 4vw;
    }
    
    .tweet-top span a {
        font-size: 5vw;
    }

    .tweets-count span {
        font-size: 3.4vw;
    }

    
}
.preview .tweets-count{
    white-space: nowrap;
}
@media(max-width:350px) {
    .tweet-msg p {
        font-size: 16px;
    }

}

